mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-22 16:14:20 +00:00
Makefile: add a firmware_install target
When installing using the modules_install target, the firmware is not installed. Add an ad-hoc target that just installs the firmware into $(INSTALL_MOD_PATH)/lib/firmware/rtlwifi/. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
This commit is contained in:
parent
f7e5725ea2
commit
d8063ef657
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -152,6 +152,10 @@ strip:
|
||||||
modules_install:
|
modules_install:
|
||||||
$(MAKE) -C $(KSRC) M=`pwd` 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:
|
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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue