|
@@ -12,6 +12,7 @@
|
|
|
# BROKEN = 0 (default) or 1, build the untested hardware model firmwares, too
|
|
|
# MAKEJOBS = number of compiler processes running in parallel (default: number of CPUs/Cores)
|
|
|
# TARGETS = a space separated list of target platforms (if unset, all platforms will be build)
|
|
|
+# PRIORITY = determines the number of day a rollout phase should last at most
|
|
|
#
|
|
|
|
|
|
function get_all_supported_platforms()
|
|
@@ -126,6 +127,7 @@ progress "Building the firmware - please stand by!"
|
|
|
[ -n "${BROKEN}" ] || BROKEN=0
|
|
|
[ -n "${MAKEJOBS}" ] || MAKEJOBS=$(grep -c "^processor" /proc/cpuinfo)
|
|
|
[ -n "${TARGETS}" ] || TARGETS=$(get_all_supported_platforms "./targets")
|
|
|
+[ -n "${PRIORITY}" ] || PRIORITY=0
|
|
|
|
|
|
if [ "${BRANCH}" == "experimental" -a -z "${VERSION}" ] ; then
|
|
|
default_release_pattern=$( awk -F" := " '/^DEFAULT_GLUON_RELEASE/ { gsub("shell ", "", $2); print $2; }' ./site/site.mk )
|
|
@@ -176,7 +178,7 @@ done
|
|
|
frankenmerge_manifest_file="./images/sysupgrade/${BRANCH}.manifest"
|
|
|
echo "BRANCH=${BRANCH}" > ${frankenmerge_manifest_file}
|
|
|
echo "DATE=${BUILD_TS}$(date +%:z)" >> ${frankenmerge_manifest_file}
|
|
|
-echo "PRIORITY=0" >> ${frankenmerge_manifest_file}
|
|
|
+echo "PRIORITY=${PRIORITY}" >> ${frankenmerge_manifest_file}
|
|
|
echo "" >> ${frankenmerge_manifest_file}
|
|
|
grep -hE "*.bin$" ./images/sysupgrade/*.${BRANCH}.manifest | sort >> ${frankenmerge_manifest_file}
|
|
|
popd
|