From c4d952d6184d82413c09f5ad668305ce37effbba Mon Sep 17 00:00:00 2001 From: Luca Ceresoli Date: Mon, 6 Jul 2015 10:03:11 +0200 Subject: [PATCH] Makefile: install: use firmware_install to copy the firmware Now there is a specific target to install the firmware, use it everywhere. Note: this does not change the behaviour if INSTALL_MOD_PATH is undefined. Otherwise the firmware is now installed under the INSTALL_MOD_PATH prefix. Signed-off-by: Luca Ceresoli --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4012f9a..8faf484 100644 --- a/Makefile +++ b/Makefile @@ -156,14 +156,12 @@ firmware_install: install -D -m 644 rtl8188eufw.bin \ $(INSTALL_MOD_PATH)/lib/firmware/rtlwifi/rtl8188eufw.bin -install: +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