rtl8188eu: Fix makefile if r8188eu is not part of system

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-01-14 19:34:09 -06:00
parent d442f6a7c9
commit f8d1526317

View file

@ -602,7 +602,7 @@ strip:
install:
install -p -m 644 8188eu.ko $(MODDESTDIR)
@modprobe -r r8188eu
@if [ -a /lib/modules/$(KVER)/kernel/drivers/staging/rtl8188eu/r8188eu.ko ] ; then modprobe -r r8188eu; fi;
@echo "blacklist r8188eu" > /etc/modprobe.d/50-8188eu.conf
cp rtl8188eufw.bin /lib/firmware/.
/sbin/depmod -a ${KVER}