mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-29 08:27:41 +00:00
backported to work with lineageos 14.1 bacon 3.1 kernel
This commit is contained in:
parent
b423d3bba0
commit
cc869e3f33
16
Makefile
16
Makefile
@ -105,6 +105,7 @@ CONFIG_PLATFORM_ARM_RPI = n
|
|||||||
CONFIG_PLATFORM_ARM64_RPI = n
|
CONFIG_PLATFORM_ARM64_RPI = n
|
||||||
CONFIG_PLATFORM_ANDROID_X86 = n
|
CONFIG_PLATFORM_ANDROID_X86 = n
|
||||||
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
|
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
|
||||||
|
CONFIG_PLATFORM_ARM_NETHUNTER = y
|
||||||
CONFIG_PLATFORM_JB_X86 = n
|
CONFIG_PLATFORM_JB_X86 = n
|
||||||
CONFIG_PLATFORM_ARM_S3C2K4 = n
|
CONFIG_PLATFORM_ARM_S3C2K4 = n
|
||||||
CONFIG_PLATFORM_ARM_PXA2XX = n
|
CONFIG_PLATFORM_ARM_PXA2XX = n
|
||||||
@ -750,6 +751,21 @@ MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
|||||||
INSTALL_PREFIX :=
|
INSTALL_PREFIX :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PLATFORM_ARM_NETHUNTER), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID
|
||||||
|
# default setting for Android 4.1, 4.2
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_P2P_IPS
|
||||||
|
# Enable this for Android 5.0
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_RADIO_WORK
|
||||||
|
EXTRA_CFLAGS += -DRTW_VENDOR_EXT_SUPPORT
|
||||||
|
EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
|
||||||
|
ARCH := arm
|
||||||
|
CROSS_COMPILE := /mnt/android/lineage/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-
|
||||||
|
KSRC := /mnt/android/lineage/kernel/oneplus/msm8974
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ACTIONS_ATM702X), y)
|
ifeq ($(CONFIG_PLATFORM_ACTIONS_ATM702X), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ACTIONS_ATM702X
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ACTIONS_ATM702X
|
||||||
#ARCH := arm
|
#ARCH := arm
|
||||||
|
Loading…
Reference in New Issue
Block a user