소스 검색

The file targets.mk now doesn't stop the build any more

Conflicts:
	docker/build.sh
Till Klocke 9 년 전
부모
커밋
1071de47fb
1개의 변경된 파일8개의 추가작업 그리고 11개의 파일을 삭제
  1. 8 11
      docker-build.sh

+ 8 - 11
docker-build.sh

@@ -16,18 +16,15 @@ cp -r /usr/src/i18n gluon/site/
 cd gluon
 make update
 
-time make -j $(($(nproc)+1)) V=s BROKEN=1 GLUON_TARGET=ar71xx-generic
-time make -j $(($(nproc)+1)) V=s BROKEN=1 GLUON_TARGET=ar71xx-nand
-make dirclean
-time make -j $(($(nproc)+1)) V=s BROKEN=1 GLUON_TARGET=mpc85xx-generic
-make dirclean
-time make -j $(($(nproc)+1)) V=s BROKEN=1 GLUON_TARGET=x86-generic
-make dirclean
-time make -j $(($(nproc)+1)) V=s BROKEN=1 GLUON_TARGET=x86-64
-make dirclean
-make manifest GLUON_BRANCH=stable
+for target in $(ls targets/)
+do
+	if [ -d "targets/$target" ]; then
+		echo "Building for target $target"
+		time make -j $(($(nproc)+1)) BROKEN=1 GLUON_TARGET=$target
+	fi
+done
 
 set +x
 echo -e "\nBUILD FINISHED\n"
 echo "You can copy the resulting images from the container using:"
-echo -e "\ndocker cp ${HOSTNAME}:/usr/src/build/gluon/output <destination>\n"
+echo -e "\ndocker cp ${HOSTNAME}:/usr/src/build/gluon/images <destination>\n"