]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: fix modules_install after a 'make vmlinux'
authorSam Ravnborg <sam@ravnborg.org>
Mon, 22 Oct 2007 09:23:07 +0000 (11:23 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 22 Oct 2007 18:04:37 +0000 (20:04 +0200)
commit792ff26355b4fb9e9cf2d6bfe2602bfc854da5b0
treecf1b5f6df7447b0655fd649b88b231190706aab5
parent9be4fd508b89f2be6cf07cbc0e4a3fdc76b7f6df
kbuild: fix modules_install after a 'make vmlinux'

make vmlinux would delete the content of $(MODVERDIR)
equals .tmp_versions. This caused a subsequent
make modules_install to fail.

Fix it so we clean the directory only for the
modules build - but we still unconditionally create it so
we can do:
make dir/file.ko
without a preceeding make modules.

Reported by David Miller <davem@davemloft.net>

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: David Miller <davem@davemloft.net>
Makefile