summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2016-12-26 12:07:07 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-01-27 21:53:59 +1300
commit1e8a5ff22ee91df07b945d838d98d5c38e1c9d66 (patch)
tree6027afc2429657555fa01803872d8b7391eb7d6d
parent13b8ed48c33d5d9deebb64ae189501b375198890 (diff)
downloadbuildroot-1e8a5ff22ee91df07b945d838d98d5c38e1c9d66.tar.gz
buildroot-1e8a5ff22ee91df07b945d838d98d5c38e1c9d66.zip
rtl8188eu: Move the post install target hook before the infras
The hook is only used to install firmware blobs, and so it doesn't need to be declared after the kernel-module infra. Move it where it belong, to avoid confusion. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/rtl8188eu/rtl8188eu.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/rtl8188eu/rtl8188eu.mk b/package/rtl8188eu/rtl8188eu.mk
index 5da6bf35dc..8560be297d 100644
--- a/package/rtl8188eu/rtl8188eu.mk
+++ b/package/rtl8188eu/rtl8188eu.mk
@@ -10,12 +10,11 @@ RTL8188EU_LICENSE = GPLv2, proprietary (rtl8188eufw.bin firmware blob)
RTL8188EU_LICENSE_FILES = COPYING
RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m
-$(eval $(kernel-module))
-
define RTL8188EU_INSTALL_FIRMWARE
$(INSTALL) -D -m 644 $(@D)/rtl8188eufw.bin \
$(TARGET_DIR)/lib/firmware/rtlwifi/rtl8188eufw.bin
endef
RTL8188EU_POST_INSTALL_TARGET_HOOKS += RTL8188EU_INSTALL_FIRMWARE
+$(eval $(kernel-module))
$(eval $(generic-package))
OpenPOWER on IntegriCloud