Skip to content

Commit 78c12d2

Browse files
galaknashif
authored andcommitted
build: update/fixes for go.sh
* Only copy overlay for xtensa * exit out and report error from ct-ng Signed-off-by: Kumar Gala <[email protected]>
1 parent 9789f89 commit 78c12d2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

go.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,17 @@ for t in ${TARGETS}; do
8989

9090
build_toolchain=1
9191
if [ -n "${build_toolchain}" ]; then
92-
cp -a ${SDK_NG_HOME}/overlays .
92+
if [ "${t}" = "xtensa" ]; then
93+
cp -a ${SDK_NG_HOME}/overlays .
94+
fi
9395

9496
${CT_NG} clean
9597
${CT_NG} defconfig DEFCONFIG=${GITDIR}/configs/${t}.config
9698
${CT_NG} savedefconfig DEFCONFIG=${t}.config
9799
${CT_NG} build -j ${JOBS}
100+
if [ $? != 0 ]; then
101+
exit 1
102+
fi
98103
fi
99104

100105
if [ "${t}" = "xtensa" ]; then

0 commit comments

Comments
 (0)