summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTrevor Woerner <trevor.woerner@linaro.org>2014-02-25 18:34:48 (GMT)
committerTrevor Woerner <trevor.woerner@linaro.org>2014-02-25 18:34:48 (GMT)
commit37373340808d71858cd33fa79b6fc5016c52846a (patch)
tree5a51be8a7f0cb0a138929959c7676272c82696a3 /scripts
parent8e0a0d3c4152339ebbbfc4e3c23a5a474579eba6 (diff)
newlib: fix extract process for custom version
newlib: fix extract process for custom version If the user specifies the use of a custom newlib version, the logic in the extract function was reversed, so this step would fail. Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> [yann.morin.1998@free.fr: keep leading indentation] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <c727adf1b7bd2c1e891d.1393353347@openSUSE-i7> Patchwork-Id: 324060
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/libc/newlib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh
index fa6d622..cae4b9f 100644
--- a/scripts/build/libc/newlib.sh
+++ b/scripts/build/libc/newlib.sh
@@ -29,7 +29,7 @@ do_libc_get() {
do_libc_extract() {
# If using custom directory location, nothing to do
- if [ "${CT_LIBC_NEWLIB_CUSTOM}" != "y" \
+ if [ "${CT_LIBC_NEWLIB_CUSTOM}" = "y" \
-a -d "${CT_SRC_DIR}/newlib-${CT_LIBC_VERSION}" ]; then
return 0
fi