From d8063ef657fd44e29ef2fffba07f0632d1e60a92 Mon Sep 17 00:00:00 2001 From: Luca Ceresoli Date: Mon, 6 Jul 2015 09:59:46 +0200 Subject: [PATCH] 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 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 63e0103..4012f9a 100644 --- a/Makefile +++ b/Makefile @@ -152,6 +152,10 @@ strip: 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 -p -m 644 8188eu.ko $(MODDESTDIR) @if [ -a /lib/modules/$(KVER)/kernel/drivers/staging/rtl8188eu/r8188eu.ko ] ; then modprobe -r r8188eu; fi;