From 4f07fb357556ba9f805ad18b64ff7101d0c94607 Mon Sep 17 00:00:00 2001 From: satmandu Date: Fri, 10 May 2019 22:48:40 -0400 Subject: [PATCH] Updating RPI arm64 Makefile CFLAGS After https://github.com/aircrack-ng/rtl8812au/commit/de2c75f9fd4f26996e2b40f0df4bd42eadba31d5 any build on some architectures appears to throw many errors as follows. This change keeps the redefine from happening. (Yes this affects other architectures, but I can only verify the fix on arm64.) ```/var/lib/dkms/rtl8812au/5.3.4/build/include/autoconf.h:34: warning: "CONFIG_IOCTL_CFG80211" redefined 34 | #define CONFIG_IOCTL_CFG80211 | : note: this is the location of the previous definition ``` --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1a2dd74..426b95f 100755 --- a/Makefile +++ b/Makefile @@ -1459,7 +1459,7 @@ endif ifeq ($(CONFIG_PLATFORM_ARM64_RPI), y) EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT +EXTRA_CFLAGS += -DRTW_USE_CFG80211_STA_EVENT ARCH ?= arm64 CROSS_COMPILE ?= KVER ?= $(shell uname -r)