summaryrefslogtreecommitdiff
path: root/scripts/bulk-qemu.sh
blob: 491a695c88907f6f84b9baff9e0b689ac26dae01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

for libc in glibc musl uclibc; do
	for arch in $(cat toolchain/$libc/arch.lst);do
		make VERBOSE=1 ADK_TARGET_ARCH=$arch ADK_TARGET_SYSTEM=qemu-$arch ADK_TARGET_LIBC=$libc ADK_TARGET_FS=initramfspiggyback defconfig all
		if [ $? -ne 0 ];then
			echo "build failed"
			exit 1
		fi
	done
done