1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-09 23:57:00 +00:00

Modify makefile to handle empty INSTALL_MOD_PATH

This commit is contained in:
kimocoder 2020-07-12 00:40:48 +00:00
parent cd02bae0a0
commit b742160fba

View File

@ -2252,7 +2252,11 @@ strip:
install:
install -p -m 644 $(MODULE_NAME).ko $(MODDESTDIR)
ifeq ($(INSTALL_MOD_PATH),)
$(DEPMOD) -a ${KVER}
else
/sbin/depmod -a ${KVER}
endif
uninstall:
rm -f $(MODDESTDIR)/$(MODULE_NAME).ko