# HG changeset patch # User Trevor Woerner # Date 1393353288 18000 # Node ID ea7e988e62447e0b4c32e12920e8a3c581a900cd # Parent a1d286d228ef8a935a3dc4ebde5424f9cbd033e0 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 [yann.morin.1998@free.fr: keep leading indentation] Signed-off-by: "Yann E. MORIN" Message-Id: Patchwork-Id: 324060 diff -r a1d286d228ef -r ea7e988e6244 scripts/build/libc/newlib.sh --- a/scripts/build/libc/newlib.sh Mon May 05 23:24:33 2014 +0200 +++ 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