aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-04-12 19:21:59 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-12 19:21:59 -0700
commit24b5a6a3025278a1717798901f665114a1655831 (patch)
tree3b5d5e7a805bfec00c488432d8a72668accb59c6 /scripts
parent8a358cff5aab455c3f820e600c1c4e4af511efea (diff)
downloadhistory-24b5a6a3025278a1717798901f665114a1655831.tar.gz
[PATCH] kbuild: Create .tmp_versions when building external modules
From: Sam Ravnborg <sam@ravnborg.org> When building external modules the $PWD/.tmp_versions directory is used. The .tmp_versions directory in the kernel tree cannot be used because this would clutter up the kernel tree especially when more than one external module is being build for the same kernel tree. This patch make sure to create $PWD/.tmp_versions, and to delete it during make clean. It also removes warning about 'messed with SUBDIRS', this is no longer relevant when .tmp_versions is made outside the kernel tree.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.modinst4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index 8f974ef5cbb36..5431acb148e05 100644
--- a/scripts/Makefile.modinst
+++ b/scripts/Makefile.modinst
@@ -12,10 +12,6 @@ include scripts/Makefile.lib
__modules := $(shell head -q -n1 /dev/null $(wildcard $(MODVERDIR)/*.mod))
modules := $(patsubst %.o,%.ko,$(wildcard $(__modules:.ko=.o)))
-ifneq ($(filter-out $(modules),$(__modules)),)
- $(warning *** Uh-oh, you have stale module entries. You messed with SUBDIRS, do not complain if something goes wrong.)
-endif
-
.PHONY: $(modules)
__modinst: $(modules)
@: