mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-22 16:14:20 +00:00
Merge 7339528fdf
into ea288d8952
This commit is contained in:
commit
5dbc6ea51d
1 changed files with 9 additions and 5 deletions
14
Makefile
14
Makefile
|
@ -144,19 +144,23 @@ export CONFIG_RTL8188EU = m
|
|||
all: modules
|
||||
|
||||
modules:
|
||||
$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) modules
|
||||
$(MAKE) ARCH=$(ARCH) CROSS_COMPILE="$(CROSS_COMPILE)" -C $(KSRC) M=$(shell pwd) modules
|
||||
|
||||
strip:
|
||||
$(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded
|
||||
|
||||
install:
|
||||
modules_install:
|
||||
$(MAKE) -C $(KSRC) M=`pwd` modules_install
|
||||
|
||||
firmware_install:
|
||||
install -D -m 644 rtl8188eufw.bin \
|
||||
$(INSTALL_MOD_PATH)/lib/firmware/rtlwifi/rtl8188eufw.bin
|
||||
|
||||
install: firmware_install
|
||||
install -p -m 644 8188eu.ko $(MODDESTDIR)
|
||||
@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}
|
||||
mkdir -p /lib/firmware/rtlwifi
|
||||
cp -n rtl8188eufw.bin /lib/firmware/rtlwifi/.
|
||||
|
||||
uninstall:
|
||||
rm -f $(MODDESTDIR)/8188eu.ko
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue