8f7bd4ef67
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
842 B
Makefile
30 lines
842 B
Makefile
################################################################################
|
|
#
|
|
# rtl8189es
|
|
#
|
|
################################################################################
|
|
|
|
RTL8189ES_VERSION = eb51e021b0e1b6f94a4b49da3f4ee5c5fb20b715
|
|
RTL8189ES_SITE = $(call github,jwrdegoede,rtl8189ES_linux,$(RTL8189ES_VERSION))
|
|
RTL8189ES_LICENSE = GPL-2.0
|
|
|
|
RTL8189ES_MODULE_MAKE_OPTS = \
|
|
CONFIG_RTL8189ES=m \
|
|
KVER=$(LINUX_VERSION_PROBED) \
|
|
KSRC=$(LINUX_DIR) \
|
|
USER_EXTRA_CFLAGS="-Wno-error"
|
|
|
|
ifeq ($(BR2_ENABLE_RUNTIME_DEBUG),)
|
|
RTL8189ES_MODULE_MAKE_OPTS += CONFIG_RTW_DEBUG=n
|
|
endif
|
|
|
|
define RTL8189ES_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_MMC)
|
|
endef
|
|
|
|
$(eval $(kernel-module))
|
|
$(eval $(generic-package))
|