|
@@ -9,6 +9,7 @@
|
|
# SITE = specific site repository commit-id (leave blank to use HEAD)
|
|
# SITE = specific site repository commit-id (leave blank to use HEAD)
|
|
# VERSION = the version tag (can only be empty if BRANCH=experimental)
|
|
# VERSION = the version tag (can only be empty if BRANCH=experimental)
|
|
# BUILD_TS = build timestamp (format: %Y-%m-%d %H:%M:%S)
|
|
# BUILD_TS = build timestamp (format: %Y-%m-%d %H:%M:%S)
|
|
|
|
+# BROKEN = 0 (default) or 1, build the untested hardware model firmwares, too
|
|
#
|
|
#
|
|
|
|
|
|
if [ "_$BRANCH" == "_" ]; then
|
|
if [ "_$BRANCH" == "_" ]; then
|
|
@@ -90,10 +91,11 @@ faketime "$BUILD_TS" make toolchain -j 1
|
|
|
|
|
|
### BUILD FIRMWARE
|
|
### BUILD FIRMWARE
|
|
progress "Building the firmware - please stand by!"
|
|
progress "Building the firmware - please stand by!"
|
|
|
|
+[ "_$BROKEN" == "_" ] && export BROKEN=0
|
|
if [ "$BRANCH" != "experimental" ]; then
|
|
if [ "$BRANCH" != "experimental" ]; then
|
|
- GLUON_BRANCH=$BRANCH GLUON_RELEASE=$VERSION faketime "$BUILD_TS" make -j 4
|
|
|
|
|
|
+ GLUON_BRANCH=$BRANCH GLUON_RELEASE=$VERSION BROKEN=$BROKEN faketime "$BUILD_TS" make -j 4
|
|
else
|
|
else
|
|
- GLUON_BRANCH=experimental faketime "$BUILD_TS" make -j 4
|
|
|
|
|
|
+ GLUON_BRANCH=experimental BROKEN=$BROKEN faketime "$BUILD_TS" make -j 4
|
|
fi
|
|
fi
|
|
|
|
|
|
[ "$?" -eq "0" ] || abort "Failed to build the firmware, mimimi."
|
|
[ "$?" -eq "0" ] || abort "Failed to build the firmware, mimimi."
|