summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/internals.sh2
-rw-r--r--scripts/build/libc/newlib.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh
index 07029d0..e407de8 100644
--- a/scripts/build/internals.sh
+++ b/scripts/build/internals.sh
@@ -69,7 +69,7 @@ do_finish() {
CT_DoExecLog ALL "${CT_TARGET}-strip" ${strip_args} \
"${CT_TARGET}/debug-root/usr/bin/gdbserver${exe_suffix}"
fi
- if [ "${CT_CC_gcc}" = "y" ]; then
+ if [ "${CT_CC_GCC}" = "y" ]; then
# TBD GCC 3.x/2.x is no longer supported by ctng
# We can not use the version in CT_GCC_VERSION because
# of the Linaro stuff. So, harvest the version string
diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh
index ff0f45b..05f9830 100644
--- a/scripts/build/libc/newlib.sh
+++ b/scripts/build/libc/newlib.sh
@@ -18,7 +18,7 @@ do_libc_start_files() {
CT_DoStep INFO "Installing C library headers & start files"
CT_DoExecLog ALL cp -a "${CT_SRC_DIR}/newlib/newlib/libc/include/." \
"${CT_HEADERS_DIR}"
- if [ "${CT_ARCH_xtensa}" = "y" ]; then
+ if [ "${CT_ARCH_XTENSA}" = "y" ]; then
CT_DoLog EXTRA "Installing Xtensa headers"
CT_DoExecLog ALL cp -r "${CT_SRC_DIR}/newlib/newlib/libc/sys/xtensa/include/." \
"${CT_HEADERS_DIR}"