[Buildroot] [PATCH] external toolchain: fix strip of libraries

Lionel Landwerlin llandwerlin at gmail.com
Fri Nov 27 13:32:28 UTC 2009


Fix inverted condition check.

Signed-off-by: Lionel Landwerlin <llandwerlin at gmail.com>
---
 toolchain/external-toolchain/ext-tool.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/toolchain/external-toolchain/ext-tool.mk
b/toolchain/external-toolchain/ext-tool.mk
index 1f5aa19..39faf84 100644
--- a/toolchain/external-toolchain/ext-tool.mk
+++ b/toolchain/external-toolchain/ext-tool.mk
@@ -56,9 +56,9 @@ copy_toolchain_lib_root = \
                        elif test -f $${LIB_DIR}/$${LIB}; then \
                                $(INSTALL) -D -m0755
$${LIB_DIR}/$${LIB} $(TARGET_DIR)$${DST}/$${LIB}; \
                                case "$${STRIP}" in \
-                               (0 | n | no) \
-;; \
                                (*) \
+;; \
+                               (y) \
                                        $(TARGET_CROSS)strip
"$(TARGET_DIR)$${DST}/$${LIB}"; \
 ;; \
                                esac; \
-- 
1.6.5.3


More information about the buildroot mailing list