40f7130a67
With this version we can build with Linux 6.8. Let's also drop local patch that has been upstreamed. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
34 lines
972 B
Makefile
34 lines
972 B
Makefile
################################################################################
|
|
#
|
|
# rtl8189fs
|
|
#
|
|
################################################################################
|
|
|
|
RTL8189FS_VERSION = 5d523593f41c0b8d723c6aa86b217ee1d0965786
|
|
RTL8189FS_SITE = $(call github,jwrdegoede,rtl8189ES_linux,$(RTL8189FS_VERSION))
|
|
RTL8189FS_LICENSE = GPL-2.0
|
|
|
|
RTL8189FS_USER_EXTRA_CFLAGS = \
|
|
-UCONFIG_LITTLE_ENDIAN \
|
|
-DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN
|
|
|
|
RTL8189FS_MODULE_MAKE_OPTS = \
|
|
CONFIG_RTL8189FS=m \
|
|
KVER=$(LINUX_VERSION_PROBED) \
|
|
KSRC=$(LINUX_DIR) \
|
|
USER_EXTRA_CFLAGS="$(RTL8189FS_USER_EXTRA_CFLAGS)"
|
|
|
|
ifeq ($(BR2_ENABLE_RUNTIME_DEBUG),)
|
|
RTL8189FS_MODULE_MAKE_OPTS += CONFIG_RTW_DEBUG=n
|
|
endif
|
|
|
|
define RTL8189FS_LINUX_CONFIG_FIXUPS
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_MAC80211)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_MMC)
|
|
endef
|
|
|
|
$(eval $(kernel-module))
|
|
$(eval $(generic-package))
|