Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df9df036 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

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: default avatarSam Ravnborg <sam@ravnborg.org>
parent 2244cbd8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -545,7 +545,7 @@ export INSTALL_PATH ?= /boot
# makefile but the arguement can be passed to make if needed.
# makefile but the arguement can be passed to make if needed.
#
#


MODLIB	:= $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
MODLIB	= $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
export MODLIB
export MODLIB