From 46af98aa4327633d1509d728b3b85e0a4da39c9b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 25 Mar 2014 12:05:56 +0100 Subject: add support for x86_64 toolchain with 32 bit abi --- toolchain/glibc/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolchain/glibc') diff --git a/toolchain/glibc/Makefile.inc b/toolchain/glibc/Makefile.inc index 6671f1e2d..3a9f24e33 100644 --- a/toolchain/glibc/Makefile.inc +++ b/toolchain/glibc/Makefile.inc @@ -6,7 +6,7 @@ PKG_VERSION:= 2.19 PKG_RELEASE:= 1 PKG_MD5SUM:= 5374d29864b583622b62bfc6b8429418 PKG_SITES:= ${MASTER_SITE_GNU:=glibc/} -ifeq ($(ADK_TARGET_ABI_32),y) +ifeq ($(ADK_32),y) GLIBC_TARGET_NAME:= i686-openadk-linux-gnu else GLIBC_TARGET_NAME:= $(GNU_TARGET_NAME) -- cgit v1.2.3 From a9de73c5927b87462dfb57b2ec372672902f6fed Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 10 Apr 2014 20:27:41 +0200 Subject: use libc specific toolchain arch list --- mk/build.mk | 3 +-- toolchain/glibc/tarch.lst | 22 ++++++++++++++++++++++ toolchain/musl/tarch.lst | 12 ++++++++++++ toolchain/uclibc/tarch.lst | 16 ++++++++++++++++ 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 toolchain/glibc/tarch.lst create mode 100644 toolchain/musl/tarch.lst create mode 100644 toolchain/uclibc/tarch.lst (limited to 'toolchain/glibc') diff --git a/mk/build.mk b/mk/build.mk index 6dcf88f1a..04cd5e3ce 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -476,7 +476,6 @@ bulktoolchain: tarch=$$(echo $$arch|sed -e "s#sh4.*#sh#" -e "s#el##" -e "s#eb##" -e "s#mips64.*#mips#" -e "s#hf##" -e "s#x86_64.*#x86_64#" ); \ carch=$$(echo $$arch|sed -e "s#hf##" -e "s#mips64n.*#mips64#" -e "s#mips64el.*#mips64el#" -e 's#x86$$#i686#' -e "s#x86_64.*#x86_64#" ); \ echo === building $$tarch $$libc toolchain-$$arch on $$(date); \ - $(GMAKE) prereq && \ $(GMAKE) ARCH=$$tarch SYSTEM=toolchain-$$arch LIBC=$$libc defconfig; \ tabi=$$(grep ^ADK_TARGET_ABI= .config|cut -d \" -f 2);\ if [ $$arch = "armhf" ];then arch=arm; else arch=$$arch;fi; \ @@ -488,7 +487,7 @@ bulktoolchain: rm .config; \ ) 2>&1 | tee -a $(TOPDIR)/firmware/toolchain_build.log; \ if [ -f .exit ];then break;fi \ - done <${TOPDIR}/target/tarch.lst ;\ + done <${TOPDIR}/toolchain/$$libc/tarch.lst ;\ if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; exit 1;fi \ done diff --git a/toolchain/glibc/tarch.lst b/toolchain/glibc/tarch.lst new file mode 100644 index 000000000..60e064398 --- /dev/null +++ b/toolchain/glibc/tarch.lst @@ -0,0 +1,22 @@ +arm +armhf +m68k +microblaze +microblazeel +mips +mipsel +mips64 +mips64n32 +mips64n64 +mips64el +mips64eln32 +mips64eln64 +ppc +ppc64 +sh4 +sh4eb +sparc +sparc64 +x86 +x86_64 +x86_64_x32 diff --git a/toolchain/musl/tarch.lst b/toolchain/musl/tarch.lst new file mode 100644 index 000000000..272259d6b --- /dev/null +++ b/toolchain/musl/tarch.lst @@ -0,0 +1,12 @@ +arm +armhf +microblaze +microblazeel +mips +mipsel +ppc +sh4 +sh4eb +x86 +x86_64 +x86_64_x32 diff --git a/toolchain/uclibc/tarch.lst b/toolchain/uclibc/tarch.lst new file mode 100644 index 000000000..b25549e23 --- /dev/null +++ b/toolchain/uclibc/tarch.lst @@ -0,0 +1,16 @@ +arm +armhf +mips +mipsel +mips64 +mips64n32 +mips64n64 +mips64el +mips64eln32 +mips64eln64 +ppc +sh4 +sh4eb +sparc +x86 +x86_64 -- cgit v1.2.3