1e8a5ff22e
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>
21 lines
724 B
Makefile
21 lines
724 B
Makefile
################################################################################
|
|
#
|
|
# rtl8188eu
|
|
#
|
|
################################################################################
|
|
|
|
RTL8188EU_VERSION = ced2b64a1139dcaf86947e3a9f7617dffbd64239
|
|
RTL8188EU_SITE = $(call github,lwfinger,rtl8188eu,$(RTL8188EU_VERSION))
|
|
RTL8188EU_LICENSE = GPLv2, proprietary (rtl8188eufw.bin firmware blob)
|
|
RTL8188EU_LICENSE_FILES = COPYING
|
|
RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m
|
|
|
|
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))
|