mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-21 20:13:39 +00:00
rtl8188eu: Update Makefile
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
24b960c5c0
commit
96ecc77616
1 changed files with 2 additions and 3 deletions
5
Makefile
5
Makefile
|
@ -100,7 +100,7 @@ ARCH ?= $(SUBARCH)
|
||||||
CROSS_COMPILE ?=
|
CROSS_COMPILE ?=
|
||||||
KVER ?= $(if $(KERNELRELEASE),$(KERNELRELEASE),$(shell uname -r))
|
KVER ?= $(if $(KERNELRELEASE),$(KERNELRELEASE),$(shell uname -r))
|
||||||
KSRC ?= $(if $(KERNEL_SRC),$(KERNEL_SRC),/lib/modules/$(KVER)/build)
|
KSRC ?= $(if $(KERNEL_SRC),$(KERNEL_SRC),/lib/modules/$(KVER)/build)
|
||||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/staging/r8188eu/
|
||||||
INSTALL_PREFIX :=
|
INSTALL_PREFIX :=
|
||||||
|
|
||||||
ifneq ($(KERNELRELEASE),)
|
ifneq ($(KERNELRELEASE),)
|
||||||
|
@ -162,9 +162,8 @@ install:
|
||||||
install -p -m 644 8188eu.ko $(MODDESTDIR)
|
install -p -m 644 8188eu.ko $(MODDESTDIR)
|
||||||
@if [ -a /lib/modules/$(KVER)/kernel/drivers/staging/rtl8188eu/r8188eu.ko ] ; then modprobe -r r8188eu; fi;
|
@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
|
@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 rtl8188eufw.bin /lib/firmware/rtlwifi/.
|
cp rtl8188eufw.bin /lib/firmware/rtlwifi/.
|
||||||
|
|
||||||
modules_install:
|
modules_install:
|
||||||
|
|
Loading…
Reference in a new issue