"-e" option of build-pkgs means exiting on any package
build failure instead of continuing to run. This feature
was broken during the code merging, now brings the feature
back.
Test Plan:
Pass: For monolithic build, package build failure should
result in a safe exit with '-e' option:
build-pkgs -e
Pass: For single build with '-p', package build failure
should result in a safe exit with '-e' option:
build-pkgs -e -p <packages>
Closes-bug: 2054720
Change-Id: I5bf2089aa3559a8131f0e238a75edea87733dea6
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>