|
@@ -155,6 +155,7 @@ fi
|
|
|
progress "Preparing the build environment (make update) ..."
|
|
|
make update
|
|
|
[ "$?" -eq "0" ] || abort "Failed to update the build environment, mimimi."
|
|
|
+popd > /dev/null #${CODE_DIR}
|
|
|
|
|
|
### set reasonable defaults for ${TARGETS} and ${BRANCH} if unset
|
|
|
if [ -z "${TARGETS}" ]; then
|
|
@@ -190,6 +191,7 @@ fi
|
|
|
|
|
|
### BUILD FIRMWARE
|
|
|
progress "Building the firmware - please stand by!"
|
|
|
+pushd ${CODE_DIR} > /dev/null
|
|
|
|
|
|
for target in ${TARGETS} ; do
|
|
|
# configure build environment for our current target
|