diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-01-16 06:46:07 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-01-16 06:46:07 -0500 |
commit | df9df036d356078679a60135fba65f79cd6153d0 (patch) | |
tree | eecd46f73c19dd0a5de76ba8e6ba294debd31088 | |
parent | 2244cbd8a9185c197ec5ba5de175aec288697223 (diff) |
kbuild: fix 'make all install_modules install'
The command 'make all modules_install install' would fail
in a virgin tree - pointing at a non-existing directory under
/lib/modules/xxx
KERNELRELEASE is part of MODLIB and we need to create .kernelrelease
before we can properly evaluate KERNELRELEASE,
Changing MODLIB to the recursively expanded flavor let it pick up
the correct KERNELRELEASE value.
Reported by: "Hemmann, Volker Armin" <volker.armin.hemmann@tu-clausthal.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -545,7 +545,7 @@ export INSTALL_PATH ?= /boot | |||
545 | # makefile but the arguement can be passed to make if needed. | 545 | # makefile but the arguement can be passed to make if needed. |
546 | # | 546 | # |
547 | 547 | ||
548 | MODLIB := $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE) | 548 | MODLIB = $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE) |
549 | export MODLIB | 549 | export MODLIB |
550 | 550 | ||
551 | 551 | ||