1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-18 19:44:48 +00:00

support ARMv61

This commit is contained in:
morrownr 2022-12-11 12:52:18 -06:00
parent 9132383230
commit f48ecb0bc8

View File

@ -1351,13 +1351,26 @@ ifeq ($(CONFIG_PLATFORM_GENERIC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
# This could be a better way to set SUBARCH but it needs work
# SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
# -e s/arm.*/arm/ \
# -e s/mips.*/mips/ \
# -e s/aarch64.*/arm64/ )
SUBARCH := $(shell uname -m)
ifeq ($(SUBARCH), aarch64)
SUBARCH := arm64
endif
ifeq ($(SUBARCH), armv7l)
SUBARCH := arm
endif
ifeq ($(SUBARCH), armv6l)
SUBARCH := arm
endif
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?=