Explorar o código

Merge pull request #5 from dereulenspiegel/basteleien

build.sh should now build all available targets
Markus Lindenberg %!s(int64=8) %!d(string=hai) anos
pai
achega
88c196c686
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      docker/build.sh

+ 8 - 1
docker/build.sh

@@ -15,7 +15,14 @@ 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
+	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"