浏览代码

build.sh should now build all available targets

Till Klocke 9 年之前
父节点
当前提交
0a3d396b58
共有 1 个文件被更改,包括 6 次插入1 次删除
  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"