lkml.org 
[lkml]   [2004]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] kbuild: fix modules_install
The directory .tmp_versions/ was deleted during make vmlinux.
This eliminated the list of modules used for moudles_install.
The effect was that the following scenario failed:
make
make install
make modules_install

The solution is to only cleanup .tmp_versions when building modules.

===== Makefile 1.478 vs edited =====
--- 1.478/Makefile Tue Apr 13 17:46:49 2004
+++ edited/Makefile Wed Apr 14 22:19:26 2004
@@ -624,8 +624,10 @@
endif

prepare0: prepare1 include/linux/version.h include/asm include/config/MARKER
+ifneq ($(KBUILD_MODULES),)
$(Q)rm -rf $(MODVERDIR)
- $(if $(CONFIG_MODULES),$(Q)mkdir -p $(MODVERDIR))
+ $(Q)mkdir -p $(MODVERDIR)
+endif

# All the preparing..
prepare-all: prepare0 prepare
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.019 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site