Merge pull request #181 from CGarces/arm64_fix

Fix CONFIG_PLATFORM_ARM_AARCH64 compilation
This commit is contained in:
Carlos Garcés 2020-05-21 01:34:13 +02:00 committed by GitHub
commit 19601b6e66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -53,3 +53,14 @@ jobs:
packages: packages:
- gcc-8 - gcc-8
env: CC=gcc-8 KVER_BUILD=$KERNEL_MAINLINE env: CC=gcc-8 KVER_BUILD=$KERNEL_MAINLINE
- if: type != cron
addons:
apt:
packages:
- gcc-7
- bc
- linux-headers-$(uname -r)
arch: arm64
env: KVER_BUILD=$(uname -r)
before_install: true
script: make CONFIG_PLATFORM_ARM_AARCH64=y CONFIG_PLATFORM_I386_PC=n CONFIG_MP_VHT_HW_TX_MODE=n

View File

@ -1297,6 +1297,7 @@ endif
ifeq ($(CONFIG_PLATFORM_ARM_AARCH64), y) ifeq ($(CONFIG_PLATFORM_ARM_AARCH64), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
ARCH := arm64 ARCH := arm64
CROSS_COMPILE := CROSS_COMPILE :=
KVER := $(shell uname -r) KVER := $(shell uname -r)