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

build.sh: bail out if 'make clean' fails

parent aec3ed39
No related branches found
No related tags found
No related merge requests found
......@@ -202,6 +202,8 @@ for target in ${TARGETS} ; do
# prepare build environment for our current target
progress "Preparing build environment for target ${target}."
[ "${DIRCLEAN}" -eq "0" ] && make clean
[ "$?" -eq "0" ] || abort "Unable to clean environment for target-platform ${target}."
make -j ${MAKEJOBS} prepare-target ${MAKE_PARAM}
[ "$?" -eq "0" ] || abort "Unable to build environment for target-platform ${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