Sfoglia il codice sorgente

build.sh should now build all available targets

Till Klocke 9 anni fa
parent
commit
0a3d396b58
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  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"