* [PATCH] kbuild: fix modules_install
@ 2004-04-14 20:31 Sam Ravnborg
0 siblings, 0 replies; only message in thread
From: Sam Ravnborg @ 2004-04-14 20:31 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton, linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-14 20:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-14 20:31 [PATCH] kbuild: fix modules_install Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®