This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
config BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32
bool "Andes nds32"
depends on BR2_nds32
depends on !BR2_STATIC_LIBS
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
select BR2_HOSTARCH_NEEDS_IA32_LIBS
select BR2_TOOLCHAIN_GCC_AT_LEAST_8
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
select BR2_TOOLCHAIN_HAS_SSP
help
nds32 toolchain for the nds32 architecture. It uses GCC
8.2.1, GDB 8.1.1, glibc 2.28, Binutils 2.30. It generates
code that runs on ae3xx platform

View File

@@ -0,0 +1,9 @@
if BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32
config BR2_TOOLCHAIN_EXTERNAL_PREFIX
default "nds32le-linux"
config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
default "toolchain-external-andes-nds32"
endif

View File

@@ -0,0 +1,2 @@
# From https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521/nds32le-linux-glibc-v3-upstream.tar.gz
sha256 6050601df85ad93a4c211c1d57ed3773edb62aa505f7e07d7d555652e83af2cc nds32le-linux-glibc-v3-upstream.tar.gz

View File

@@ -0,0 +1,10 @@
################################################################################
#
# toolchain-external-andes-nds32
#
################################################################################
TOOLCHAIN_EXTERNAL_ANDES_NDS32_SITE = https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521
TOOLCHAIN_EXTERNAL_ANDES_NDS32_SOURCE = nds32le-linux-glibc-v3-upstream.tar.gz
$(eval $(toolchain-external-package))