]> git.neil.brown.name Git - history.git/commit
[PATCH] kbuild: Create .tmp_versions when building external modules
authorAndrew Morton <akpm@osdl.org>
Tue, 13 Apr 2004 02:21:59 +0000 (19:21 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 13 Apr 2004 02:21:59 +0000 (19:21 -0700)
commit24b5a6a3025278a1717798901f665114a1655831
tree3b5d5e7a805bfec00c488432d8a72668accb59c6
parent8a358cff5aab455c3f820e600c1c4e4af511efea
[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.
Makefile
scripts/Makefile.modinst