diff mbox

newlib: fix extract process for custom version

Message ID c727adf1b7bd2c1e891d.1393353347@openSUSE-i7
State Accepted
Commit ea7e988e6244
Headers show

Commit Message

Trevor Woerner Feb. 25, 2014, 6:35 p.m. UTC
# HG changeset patch
# User Trevor Woerner <trevor.woerner@linaro.org>
# Date 1393353288 18000
#      Tue Feb 25 13:34:48 2014 -0500
# Node ID c727adf1b7bd2c1e891db512871dbe7b26797fa6
# Parent  9321d9d7af9bd605eec2811b6703392331db3469
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>


--
For unsubscribe information see http://sourceware.org/lists.html#faq

Comments

Yann E. MORIN May 5, 2014, 9:57 p.m. UTC | #1
Trevor, All,

Your patch:
    newlib: fix extract process for custom version

has been applied as: #ea7e988e6244
    http://crosstool-ng.org/hg/crosstool-ng/rev/ea7e988e6244

Thank you!

Regards,
Yann E. MORIN.



--
For unsubscribe information see http://sourceware.org/lists.html#faq
diff mbox

Patch

diff -r 9321d9d7af9b -r c727adf1b7bd scripts/build/libc/newlib.sh
--- a/scripts/build/libc/newlib.sh	Thu Feb 20 18:23:08 2014 +0000
+++ b/scripts/build/libc/newlib.sh	Tue Feb 25 13:34:48 2014 -0500
@@ -29,7 +29,7 @@ 
 
 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