On some build systems, the actual call to depmod is not expected and only the installation of the module is expected. Just allow to overwrite this call with a different (dummy) executable.
Signed-off-by: Sven Eckelmann sven@narfation.org --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile index d665c0ba..08ac8f65 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,7 @@ export KERNELPATH RM ?= rm -f CP := cp -fpR LN := ln -sf +DEPMOD := depmod -a
REVISION= $(shell if [ -d "$(PWD)/.git" ]; then \ echo $$(git --git-dir="$(PWD)/.git" describe --always --dirty --match "v*" |sed 's/^v//' 2> /dev/null || echo "[unknown]"); \ @@ -90,7 +91,7 @@ clean:
install: config $(MAKE) -C $(KERNELPATH) $(BUILD_FLAGS) modules_install - depmod -a + $(DEPMOD)
config: $(PWD)/gen-compat-autoconf.sh $(PWD)/compat-autoconf.h