SeanInApril / arm-linux-gnueabi-builder

a simple script to build arm-linux toolchain
2 stars 0 forks source link

the build will not stop whenever a sub module fails #1

Open SeanInApril opened 6 years ago

SeanInApril commented 6 years ago

The build should stop whenever an error happens, thus the error should be shown directly instead of check the make.out in different directories in ${PRJROOT}/build/${TARGET}/bld/xxx.

SeanInApril commented 6 years ago

currently check logs in ${PRJROOT}/build/${TARGET}/bld/xxx/make.out if necessary. @

SeanInApril commented 6 years ago

this will happen when build a submodule with make -C

SeanInApril commented 6 years ago

exit 1 will not be thrown when the submodules(e.g. binutils) failed to build, so even if I tried to catch this error like "make -C ... || exit 1", it didn't work well. Maybe I should get some reference from crosstool-ng 😁