mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 04:23:39 +00:00
rtl8188eu: Change Makefile to handle conflicts between r8188eu and 8188eu
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
3b3d6fa169
commit
2b9758a03e
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -149,7 +149,10 @@ strip:
|
||||||
$(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded
|
$(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded
|
||||||
|
|
||||||
install:
|
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}
|
/sbin/depmod -a ${KVER}
|
||||||
mkdir -p /lib/firmware/rtlwifi
|
mkdir -p /lib/firmware/rtlwifi
|
||||||
cp -n rtl8188eufw.bin /lib/firmware/rtlwifi/.
|
cp -n rtl8188eufw.bin /lib/firmware/rtlwifi/.
|
||||||
|
@ -157,6 +160,7 @@ install:
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(MODDESTDIR)/8188eu.ko
|
rm -f $(MODDESTDIR)/8188eu.ko
|
||||||
/sbin/depmod -a ${KVER}
|
/sbin/depmod -a ${KVER}
|
||||||
|
@rm /etc/modprobe.d/50-8188eu.conf
|
||||||
|
|
||||||
config_r:
|
config_r:
|
||||||
@echo "make config"
|
@echo "make config"
|
||||||
|
|
Loading…
Reference in a new issue