Merge pull request #55 from lizthegrey/lizf.aarch64

`uname -m` = aarch64 -> arch/arm64
This commit is contained in:
Rin Cat 2020-11-25 17:03:18 -05:00 committed by GitHub
commit f9085c8a65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1302,7 +1302,7 @@ endif
ifeq ($(CONFIG_PLATFORM_I386_PC), y) ifeq ($(CONFIG_PLATFORM_I386_PC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/) SUBARCH := $(shell uname -m | sed -e 's/i.86/i386/;s/aarch64/arm64/')
ARCH ?= $(SUBARCH) ARCH ?= $(SUBARCH)
CROSS_COMPILE ?= CROSS_COMPILE ?=
KVER := $(shell uname -r) KVER := $(shell uname -r)