Преглед изворни кода

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"