This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] newlib: fix extract process for custom version


# HG changeset patch
# User Trevor Woerner <trevor.woerner@linaro.org>
# Date 1393351239 18000
#      Tue Feb 25 13:00:39 2014 -0500
# Node ID 3cb8019727c2b5af670146f118152a6b948d4bb6
# 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.

diff -r 9321d9d7af9b -r 3cb8019727c2 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:00:39 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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]