949232218a
This version allows to build with Linux 6.9. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
31 lines
962 B
Makefile
31 lines
962 B
Makefile
################################################################################
|
|
#
|
|
# rtl8192eu
|
|
#
|
|
################################################################################
|
|
|
|
RTL8192EU_VERSION = 56f672a8b9572c743148f2e60068fd341d52d5a3
|
|
RTL8192EU_SITE = $(call github,clnhub,rtl8192eu-linux,$(RTL8192EU_VERSION))
|
|
RTL8192EU_LICENSE = GPL-2.0
|
|
|
|
RTL8192EU_USER_EXTRA_CFLAGS = -DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN \
|
|
-DCONFIG_IOCTL_CFG80211 \
|
|
-DRTW_USE_CFG80211_STA_EVENT \
|
|
-Wno-error
|
|
|
|
RTL8192EU_MODULE_MAKE_OPTS = \
|
|
CONFIG_PLATFORM_I386_PC=n \
|
|
CONFIG_RTL8192EU=m \
|
|
USER_EXTRA_CFLAGS="$(RTL8192EU_USER_EXTRA_CFLAGS)"
|
|
|
|
define RTL8192EU_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
|
|
|
|
$(eval $(kernel-module))
|
|
$(eval $(generic-package))
|