Browse Source

use libc specific toolchain arch list

Waldemar Brodkorb 10 years ago
parent
commit
a9de73c592
4 changed files with 51 additions and 2 deletions
  1. 1 2
      mk/build.mk
  2. 22 0
      toolchain/glibc/tarch.lst
  3. 12 0
      toolchain/musl/tarch.lst
  4. 16 0
      toolchain/uclibc/tarch.lst

+ 1 - 2
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
 

+ 22 - 0
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

+ 12 - 0
toolchain/musl/tarch.lst

@@ -0,0 +1,12 @@
+arm
+armhf
+microblaze
+microblazeel
+mips
+mipsel
+ppc
+sh4
+sh4eb
+x86
+x86_64
+x86_64_x32

+ 16 - 0
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