1fe4f83bf4
Fixes: http://autobuild.buildroot.net/results/8bcb4d0adabc141ff8144f9e22bd549e3cd8858a/ Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
29 lines
983 B
Makefile
29 lines
983 B
Makefile
################################################################################
|
|
#
|
|
# rtl8188eu
|
|
#
|
|
################################################################################
|
|
|
|
RTL8188EU_VERSION = f4af53305cb1e9a0d8d9957a042f7c01b7121bfc
|
|
RTL8188EU_SITE = $(call github,lwfinger,rtl8188eu,$(RTL8188EU_VERSION))
|
|
RTL8188EU_LICENSE = GPL-2.0, proprietary (rtl8188eufw.bin firmware blob)
|
|
RTL8188EU_LICENSE_FILES = COPYING
|
|
RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m
|
|
|
|
define RTL8188EU_LINUX_CONFIG_FIXUPS
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_USB_SUPPORT)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_USB)
|
|
endef
|
|
|
|
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))
|