Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
commit 880190ad7c5aab3c868324db46ba7f853aa8e741 Author: Sven Eckelmann sven@narfation.org Date: Thu Dec 6 07:36:20 2018 +0100
batman-adv: Allow to disable depmod
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
880190ad7c5aab3c868324db46ba7f853aa8e741 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