mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 21:34:37 +00:00
Added platform support for OpenWRT Neo2
This commit is contained in:
parent
a8ec357ba5
commit
6062df91a1
11
Makefile
11
Makefile
@ -111,6 +111,7 @@ CONFIG_PLATFORM_ARM_JET_NANO = 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_JB_X86 = n
|
CONFIG_PLATFORM_JB_X86 = n
|
||||||
|
CONFIG_PLATFORM_OPENWRT_NEO2 = n
|
||||||
CONFIG_PLATFORM_ARM_S3C2K4 = n
|
CONFIG_PLATFORM_ARM_S3C2K4 = n
|
||||||
CONFIG_PLATFORM_ARM_PXA2XX = n
|
CONFIG_PLATFORM_ARM_PXA2XX = n
|
||||||
CONFIG_PLATFORM_ARM_S3C6K4 = n
|
CONFIG_PLATFORM_ARM_S3C6K4 = n
|
||||||
@ -1435,6 +1436,16 @@ CROSS_COMPILE := mips-openwrt-linux-
|
|||||||
KSRC := /home/alex/test_openwrt/tmp/linux-2.6.30.9
|
KSRC := /home/alex/test_openwrt/tmp/linux-2.6.30.9
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# This is how I built for openwrt Neo2 platform. --Ben
|
||||||
|
ifeq ($(CONFIG_PLATFORM_OPENWRT_NEO2), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
ARCH := arm64
|
||||||
|
CROSS_COMPILE := aarch64-openwrt-linux-
|
||||||
|
#export PATH=$PATH:/home/greearb/git/openwrt-neo2-dev/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.3.0_musl/bin/
|
||||||
|
#export STAGING_DIR=/home/greearb/git/openwrt-neo2-dev/staging_dir
|
||||||
|
KSRC := /home/greearb/git/openwrt-neo2-dev/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/linux-4.14.78
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_DMP_PHILIPS), y)
|
ifeq ($(CONFIG_PLATFORM_DMP_PHILIPS), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DRTK_DMP_PLATFORM
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DRTK_DMP_PLATFORM
|
||||||
ARCH := mips
|
ARCH := mips
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
PACKAGE_NAME="realtek-rtl88xxau"
|
PACKAGE_NAME="realtek-rtl88xxau"
|
||||||
PACKAGE_VERSION="5.6.4.2~20191116"
|
PACKAGE_VERSION="5.6.4.2~20191118"
|
||||||
CLEAN="'make' clean"
|
CLEAN="'make' clean"
|
||||||
BUILT_MODULE_NAME[0]=88XXau
|
BUILT_MODULE_NAME[0]=88XXau
|
||||||
PROCS_NUM=`nproc`
|
PROCS_NUM=`nproc`
|
||||||
|
Loading…
Reference in New Issue
Block a user