From fd36ef764328706f4c07c12f159e0dedaf13fd3f Mon Sep 17 00:00:00 2001 From: Nils Siemons Date: Mon, 16 Oct 2017 20:35:20 +0200 Subject: [PATCH] Modify makefile to handle empty INSTALL_MOD_PATH --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index be9f75b..9037a40 100644 --- a/Makefile +++ b/Makefile @@ -328,7 +328,11 @@ strip: install: install -p -m 644 -D $(MODULE_NAME).ko $(MODDESTDIR)$(MODULE_NAME).ko +ifeq ($(INSTALL_MOD_PATH),) + $(DEPMOD) -a ${KVER} +else $(DEPMOD) -b "$(INSTALL_MOD_PATH)" -a ${KVER} +endif install rtl8723b_fw.bin -D $(FW_DIR)/rtl8723b_fw.bin uninstall: