Pārlūkot izejas kodu

finetune bulk targets

Waldemar Brodkorb 14 gadi atpakaļ
vecāks
revīzija
834241eb73

+ 9 - 9
mk/build.mk

@@ -460,12 +460,12 @@ endif # ! ifeq ($(strip $(ADK_HAVE_DOT_CONFIG)),y)
 
 # build all targets and combinations
 bulk:
-	@while read target libc fs; do \
+	@while read target libc fs hw; do \
 		mkdir -p $(TOPDIR)/bin/$${target}_$$libc; \
 	    ( \
-		echo === building $$target $$libc $$fs on $$(date); \
+		echo === building $$target $$hw $$libc $$fs on $$(date); \
 		$(GMAKE) prereq && \
-			$(GMAKE) TARGET=$$target LIBC=$$libc FS=$$fs defconfig; \
+			$(GMAKE) TARGET=$$target HW=$$hw LIBC=$$libc FS=$$fs defconfig; \
 			$(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit;fi; \
 		rm .config; \
 	    ) 2>&1 | tee $(TOPDIR)/bin/$${target}_$$libc/$$target-$$libc-$$fs.log; \
@@ -473,12 +473,12 @@ bulk:
 	done <${TOPDIR}/target/bulkdef.lst
 
 bulkall:
-	@while read target libc fs; do \
+	@while read target libc fs hw; do \
 		mkdir -p $(TOPDIR)/bin/$${target}_$$libc; \
 	    ( \
-		echo === building $$target $$libc $$fs on $$(date); \
+		echo === building $$target $$hw $$libc $$fs on $$(date); \
 		$(GMAKE) prereq && \
-			$(GMAKE) TARGET=$$target LIBC=$$libc FS=$$fs allconfig; \
+			$(GMAKE) TARGET=$$target HW=$$hw LIBC=$$libc FS=$$fs allconfig; \
 			$(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit;fi; \
 		rm .config; \
 	    ) 2>&1 | tee $(TOPDIR)/bin/$${target}_$$libc/$$target-$$libc-$$fs.log; \
@@ -486,12 +486,12 @@ bulkall:
 	done <${TOPDIR}/target/bulk.lst
 
 bulkallmod:
-	@while read target libc fs; do \
+	@while read target libc fs hw; do \
 		mkdir -p $(TOPDIR)/bin/$${target}_$$libc; \
 	    ( \
-		echo === building $$target $$libc $$fs on $$(date); \
+		echo === building $$target $$hw $$libc $$fs on $$(date); \
 		$(GMAKE) prereq && \
-			$(GMAKE) TARGET=$$target LIBC=$$libc FS=$$fs allmodconfig; \
+			$(GMAKE) TARGET=$$target HW=$$hw LIBC=$$libc FS=$$fs allmodconfig; \
 			$(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit;fi; \
 		rm .config; \
 	    ) 2>&1 | tee $(TOPDIR)/bin/$${target}_$$libc/$$target-$$libc-$$fs.log; \

+ 12 - 0
target/Config.in.arm

@@ -7,6 +7,18 @@ config ADK_HARDWARE_GENERIC_ARM
 	help
 	  Generic arm system.
 
+config ADK_HARDWARE_QEMU_ARM
+	bool "Qemu arm"
+	select ADK_qemu
+	select ADK_HARDWARE_QEMU
+	select ADK_TARGET_WITH_VGA
+	select ADK_TARGET_WITH_INPUT
+	select ADK_TARGET_WITH_PCI
+	select ADK_TARGET_WITH_HDD
+	help
+	 Qemu support for arm big endian architecture.
+	 Status: stable
+
 config ADK_HARDWARE_GENERIC_ARM_TOOLCHAIN
 	bool "arm toolchain"
 	select ADK_TOOLCHAIN_ONLY

+ 12 - 0
target/Config.in.armel

@@ -7,6 +7,18 @@ config ADK_HARDWARE_GENERIC_ARMEL
 	help
 	  Generic armel system.
 
+config ADK_HARDWARE_QEMU_ARMEL
+	bool "Qemu armel"
+	select ADK_qemu
+	select ADK_HARDWARE_QEMU
+	select ADK_TARGET_WITH_VGA
+	select ADK_TARGET_WITH_INPUT
+	select ADK_TARGET_WITH_PCI
+	select ADK_TARGET_WITH_HDD
+	help
+	 Qemu support for arm little endian architecture.
+	 Status: stable
+
 config ADK_HARDWARE_GENERIC_ARMEL_TOOLCHAIN
 	bool "armel toolchain"
 	select ADK_TOOLCHAIN_ONLY

+ 13 - 0
target/Config.in.mips

@@ -7,6 +7,19 @@ config ADK_HARDWARE_GENERIC_MIPS
 	help
 	  Generic mips system.
 
+config ADK_HARDWARE_QEMU_MIPS
+	bool "Qemu mips"
+	select ADK_qemu
+	select ADK_HARDWARE_QEMU
+	select ADK_TARGET_WITH_VGA
+	select ADK_TARGET_WITH_INPUT
+	select ADK_TARGET_WITH_PCI
+	select ADK_TARGET_WITH_HDD
+	help
+	 Qemu support for mips big endian architecture.
+	 Status: stable
+
+
 config ADK_HARDWARE_GENERIC_MIPS_TOOLCHAIN
 	bool "mips toolchain"
 	select ADK_TOOLCHAIN_ONLY

+ 12 - 0
target/Config.in.mips64

@@ -7,6 +7,18 @@ config ADK_HARDWARE_GENERIC_MIPS64
 	help
 	  Generic mips64 system.
 
+config ADK_HARDWARE_QEMU_MIPS64
+	bool "Qemu mips64"
+	select ADK_qemu
+	select ADK_HARDWARE_QEMU
+	select ADK_TARGET_WITH_VGA
+	select ADK_TARGET_WITH_INPUT
+	select ADK_TARGET_WITH_PCI
+	select ADK_TARGET_WITH_HDD
+	help
+	 Qemu support for mips64 architecture.
+	 Status: stable
+
 config ADK_HARDWARE_GENERIC_MIPS64_TOOLCHAIN
 	bool "mips64 toolchain"
 	select ADK_TOOLCHAIN_ONLY

+ 12 - 0
target/Config.in.mips64el

@@ -7,6 +7,18 @@ config ADK_HARDWARE_GENERIC_MIPS64EL
 	help
 	  Generic mips64el system.
 
+config ADK_HARDWARE_QEMU_MIPS64EL
+	bool "Qemu mips64el"
+	select ADK_qemu
+	select ADK_HARDWARE_QEMU
+	select ADK_TARGET_WITH_VGA
+	select ADK_TARGET_WITH_INPUT
+	select ADK_TARGET_WITH_PCI
+	select ADK_TARGET_WITH_HDD
+	help
+	 Qemu support for mips64 little endian architecture.
+	 Status: stable
+
 config ADK_HARDWARE_LEMOTE_YEELONG
 	bool "Lemote Yeelong laptop"
 	select ADK_CPU_LOONGSON2F

+ 12 - 0
target/Config.in.mipsel

@@ -7,6 +7,18 @@ config ADK_HARDWARE_GENERIC_MIPSEL
 	help
 	  Generic mipsel system.
 
+config ADK_HARDWARE_QEMU_MIPSEL
+	bool "Qemu mipsel"
+	select ADK_qemu
+	select ADK_HARDWARE_QEMU
+	select ADK_TARGET_WITH_VGA
+	select ADK_TARGET_WITH_INPUT
+	select ADK_TARGET_WITH_PCI
+	select ADK_TARGET_WITH_HDD
+	help
+	 Qemu support for mips little endian architecture.
+	 Status: stable
+
 config ADK_HARDWARE_GENERIC_MIPSEL_TOOLCHAIN
 	bool "mipsel toolchain"
 	select ADK_TOOLCHAIN_ONLY

+ 13 - 0
target/Config.in.ppc

@@ -7,6 +7,19 @@ config ADK_HARDWARE_GENERIC_PPC
 	help
 	  Generic ppc system.
 
+config ADK_HARDWARE_QEMU_PPC
+	bool "Qemu ppc"
+	select ADK_qemu
+	select ADK_HARDWARE_QEMU
+	select ADK_TARGET_WITH_VGA
+	select ADK_TARGET_WITH_INPUT
+	select ADK_TARGET_WITH_PCI
+	select ADK_TARGET_WITH_HDD
+	help
+	 Qemu support for ppc architecture.
+	 Status: stable
+
+
 config ADK_HARDWARE_GENERIC_PPC_TOOLCHAIN
 	bool "ppc toolchain"
 	select ADK_TOOLCHAIN_ONLY

+ 13 - 0
target/Config.in.sparc

@@ -8,6 +8,19 @@ config ADK_HARDWARE_GENERIC_SPARC
 	help
 	  Generic sparc system.
 
+config ADK_HARDWARE_QEMU_SPARC
+	bool "Qemu sparc"
+	select ADK_qemu
+	select ADK_CPU_SPARC_V8
+	select ADK_HARDWARE_QEMU
+	select ADK_TARGET_WITH_VGA
+	select ADK_TARGET_WITH_INPUT
+	select ADK_TARGET_WITH_PCI
+	select ADK_TARGET_WITH_HDD
+	help
+	 Qemu support for sparc architecture.
+	 Status: stable
+
 config ADK_HARDWARE_GENERIC_SPARC_TOOLCHAIN
 	bool "sparc toolchain"
 	select ADK_TOOLCHAIN_ONLY

+ 1 - 0
target/Config.in.x86_64

@@ -40,6 +40,7 @@ config ADK_HARDWARE_SHUTTLE_SA76G2
 
 config ADK_HARDWARE_QEMU_X86_64
 	bool "Qemu x86_64"
+	select ADK_qemu
 	select ADK_HARDWARE_QEMU
 	select ADK_TARGET_WITH_VGA
 	select ADK_TARGET_WITH_INPUT

+ 29 - 30
target/bulk.lst

@@ -14,33 +14,32 @@ alix		glibc		nfsroot
 wrap		uclibc		nfsroot
 wrap		eglibc		nfsroot
 wrap		glibc		nfsroot
-arm		uclibc		archive
-arm		eglibc		archive
-arm		glibc		archive
-armel		uclibc		archive
-armel		eglibc		archive
-armel		glibc		archive
-mips		uclibc		archive
-mips		eglibc		archive
-mips		glibc		archive
-mips64		uclibc		archive
-mips64		eglibc		archive
-mips64		glibc		archive
-mipsel		uclibc		archive
-mipsel		eglibc		archive
-mipsel		glibc		archive
-mips64el		uclibc		archive
-mips64el		eglibc		archive
-mips64el		glibc		archive
-ppc		uclibc		archive
-ppc		eglibc		archive
-ppc		glibc		archive
-sparc		uclibc		archive
-sparc		eglibc		archive
-sparc		glibc		archive
-x86		uclibc		archive
-x86		eglibc		archive
-x86		glibc		archive
-x86_64		uclibc		archive
-x86_64		eglibc		archive
-x86_64		glibc		archive
+arm		uclibc		archive		qemu
+arm		eglibc		archive		qemu
+arm		glibc		archive		qemu
+armel		uclibc		archive		qemu
+armel		eglibc		archive		qemu
+armel		glibc		archive		qemu
+mips		uclibc		archive		qemu
+mips		eglibc		archive		qemu
+mips		glibc		archive		qemu
+mips64		uclibc		archive		qemu
+mips64		eglibc		archive		qemu
+mips64		glibc		archive		qemu
+mipsel		uclibc		archive		qemu
+mipsel		eglibc		archive		qemu
+mipsel		glibc		archive		qemu
+mips64el		uclibc		archive		qemu
+mips64el		eglibc		archive		qemu
+mips64el		glibc		archive		qemu
+ppc		uclibc		archive		qemu
+ppc		eglibc		archive		qemu
+ppc		glibc		archive		qemu
+sparc		uclibc		archive		qemu
+sparc		eglibc		archive		qemu
+sparc		glibc		archive		qemu
+x86		uclibc		archive		qemu
+x86		eglibc		archive		qemu
+x86		glibc		archive		qemu
+x86_64		uclibc		archive		qemu
+x86_64		eglibc		archive		qemu

+ 39 - 18
target/bulkdef.lst

@@ -35,21 +35,42 @@ wrap		glibc		nfsroot
 wrap		uclibc		ext2-block
 wrap		eglibc		ext2-block
 wrap		glibc		ext2-block
-x86		uclibc		archive
-x86		eglibc		archive
-x86		glibc		archive
-x86		uclibc		initramfs
-x86		eglibc		initramfs
-x86		glibc		initramfs
-x86		uclibc		initramfs-piggyback
-x86		eglibc		initramfs-piggyback
-x86		glibc		initramfs-piggyback
-x86_64		uclibc		archive
-x86_64		eglibc		archive
-x86_64		glibc		archive
-x86_64		uclibc		initramfs
-x86_64		eglibc		initramfs
-x86_64		glibc		initramfs
-x86_64		uclibc		initramfs-piggyback
-x86_64		eglibc		initramfs-piggyback
-x86_64		glibc		initramfs-piggyback
+x86		uclibc		archive		qemu
+x86		eglibc		archive		qemu
+x86		glibc		archive		qemu
+x86		uclibc		initramfs	qemu
+x86		eglibc		initramfs	qemu
+x86		glibc		initramfs	qemu
+x86		uclibc		initramfs-piggyback	qemu
+x86		eglibc		initramfs-piggyback	qemu
+x86		glibc		initramfs-piggyback	qemu
+x86_64		uclibc		archive		qemu
+x86_64		eglibc		archive		qemu
+x86_64		uclibc		initramfs	qemu
+x86_64		eglibc		initramfs	qemu
+x86_64		uclibc		initramfs-piggyback	qemu
+x86_64		eglibc		initramfs-piggyback	qemu
+arm		uclibc		archive		qemu
+arm		eglibc		archive		qemu
+arm		glibc		archive		qemu
+armel		uclibc		archive		qemu
+armel		eglibc		archive		qemu
+armel		glibc		archive		qemu
+mips		uclibc		archive		qemu
+mips		eglibc		archive		qemu
+mips		glibc		archive		qemu
+mips64		uclibc		archive		qemu
+mips64		eglibc		archive		qemu
+mips64		glibc		archive		qemu
+mipsel		uclibc		archive		qemu
+mipsel		eglibc		archive		qemu
+mipsel		glibc		archive		qemu
+mips64el		uclibc		archive		qemu
+mips64el		eglibc		archive		qemu
+mips64el		glibc		archive		qemu
+ppc		uclibc		archive		qemu
+ppc		eglibc		archive		qemu
+ppc		glibc		archive		qemu
+sparc		uclibc		archive		qemu
+sparc		eglibc		archive		qemu
+sparc		glibc		archive		qemu