rtl8188eu: Change Makefile to handle conflicts between r8188eu and 8188eu

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-01-11 11:11:31 -06:00
parent 3b3d6fa169
commit 2b9758a03e

View file

@ -149,7 +149,10 @@ strip:
$(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded
install:
install -p -D -m 644 8188eu.ko $(MODDESTDIR)/8188eu.ko
install -p -m 644 8188eu.ko $(MODDESTDIR)
@modprobe -r r8188eu
@echo "blacklist r8188eu" > /etc/modprobe.d/50-8188eu.conf
cp rtl8188eufw.bin /lib/firmware/.
/sbin/depmod -a ${KVER}
mkdir -p /lib/firmware/rtlwifi
cp -n rtl8188eufw.bin /lib/firmware/rtlwifi/.
@ -157,6 +160,7 @@ install:
uninstall:
rm -f $(MODDESTDIR)/8188eu.ko
/sbin/depmod -a ${KVER}
@rm /etc/modprobe.d/50-8188eu.conf
config_r:
@echo "make config"