Explorar o código

build.sh should now build all available targets

Till Klocke %!s(int64=9) %!d(string=hai) anos
pai
achega
0a3d396b58
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      docker/build.sh

+ 6 - 1
docker/build.sh

@@ -15,7 +15,12 @@ cp -r /usr/src/i18n gluon/site/
 # Build
 cd gluon
 make update
-time make -j $(($(nproc)+1)) BROKEN=1 GLUON_TARGET=ar71xx-generic
+
+for target in $(ls targets)
+do
+	echo "Building for target $target"
+	time make -j $(($(nproc)+1)) BROKEN=1 GLUON_TARGET=$target
+done
 
 set +x
 echo -e "\nBUILD FINISHED\n"