summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/build.mk3
-rw-r--r--toolchain/glibc/tarch.lst22
-rw-r--r--toolchain/musl/tarch.lst12
-rw-r--r--toolchain/uclibc/tarch.lst16
4 files changed, 51 insertions, 2 deletions
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