mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 21:34:37 +00:00
Modify makefile to handle empty INSTALL_MOD_PATH
This commit is contained in:
parent
cd02bae0a0
commit
b742160fba
4
Makefile
4
Makefile
@ -2252,7 +2252,11 @@ strip:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
install -p -m 644 $(MODULE_NAME).ko $(MODDESTDIR)
|
install -p -m 644 $(MODULE_NAME).ko $(MODDESTDIR)
|
||||||
|
ifeq ($(INSTALL_MOD_PATH),)
|
||||||
|
$(DEPMOD) -a ${KVER}
|
||||||
|
else
|
||||||
/sbin/depmod -a ${KVER}
|
/sbin/depmod -a ${KVER}
|
||||||
|
endif
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(MODDESTDIR)/$(MODULE_NAME).ko
|
rm -f $(MODDESTDIR)/$(MODULE_NAME).ko
|
||||||
|
Loading…
Reference in New Issue
Block a user