Skip to content

Commit 83fdae1

Browse files
committed
go.sh: fixup and cleanup
* Fix missing '/' in ct-ng savedefconfig * Use TARGET_BUILD_DIR instead of ${SDK_NG_HOME}/build/build_${t} Signed-off-by: Kumar Gala <[email protected]>
1 parent c129f24 commit 83fdae1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ for t in ${TARGETS}; do
128128
fi
129129

130130
${CT_NG} defconfig DEFCONFIG=${TARGET_BUILD_DIR}/defconfig
131-
${CT_NG} savedefconfig DEFCONFIG=${TARGET_BUILD_DIR}${t}.config
131+
${CT_NG} savedefconfig DEFCONFIG=${TARGET_BUILD_DIR}/${t}.config
132132
${CT_NG} build -j ${JOBS}
133133
if [ $? != 0 ]; then
134134
exit 1
135135
fi
136136
rm -rf ${CT_PREFIX}/*/newlib-nano
137137

138138
popd
139-
rm -fr ${SDK_NG_HOME}/build/build_${t}
139+
rm -fr ${TARGET_BUILD_DIR}
140140
done

0 commit comments

Comments
 (0)