2021-07-05 21:15:33 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# rtl8812au-aircrack-ng
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-08-27 07:08:55 +02:00
|
|
|
RTL8812AU_AIRCRACK_NG_VERSION = e7a4a390ccbdd768411e1b2a8922c47837f76b47
|
2021-07-05 21:15:33 +02:00
|
|
|
RTL8812AU_AIRCRACK_NG_SITE = $(call github,aircrack-ng,rtl8812au,$(RTL8812AU_AIRCRACK_NG_VERSION))
|
|
|
|
RTL8812AU_AIRCRACK_NG_LICENSE = GPL-2.0
|
|
|
|
RTL8812AU_AIRCRACK_NG_LICENSE_FILES = LICENSE
|
|
|
|
|
2022-07-25 09:10:58 +02:00
|
|
|
RTL8812AU_AIRCRACK_NG_EXTRA_CFLAGS = \
|
|
|
|
-DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN \
|
2022-09-21 00:09:04 +02:00
|
|
|
-DCONFIG_IOCTL_CFG80211 \
|
|
|
|
-DRTW_USE_CFG80211_STA_EVENT \
|
2022-07-25 09:10:58 +02:00
|
|
|
-Wno-error=address \
|
|
|
|
-Wno-error=array-bounds \
|
|
|
|
-Wno-error=cast-function-type
|
|
|
|
|
2021-07-05 21:15:33 +02:00
|
|
|
RTL8812AU_AIRCRACK_NG_MODULE_MAKE_OPTS = \
|
2022-09-21 00:09:04 +02:00
|
|
|
CONFIG_PLATFORM_I386_PC=n \
|
2021-07-05 21:15:33 +02:00
|
|
|
CONFIG_88XXAU=m \
|
|
|
|
KVER=$(LINUX_VERSION_PROBED) \
|
2022-07-25 09:10:58 +02:00
|
|
|
USER_EXTRA_CFLAGS="$(RTL8812AU_AIRCRACK_NG_EXTRA_CFLAGS)"
|
2021-07-05 21:15:33 +02:00
|
|
|
|
2022-09-21 00:09:04 +02:00
|
|
|
define RTL8812AU_AIRCRACK_NG_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
|
|
|
|
|
2021-07-05 21:15:33 +02:00
|
|
|
$(eval $(kernel-module))
|
|
|
|
$(eval $(generic-package))
|