Skip to content
Snippets Groups Projects
Commit aec3ed39 authored by Karsten Böddeker's avatar Karsten Böddeker
Browse files

build.sh: execute make commands for $VERSION and $TARGETS in the right directory

parent df3eb71f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment