summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index c1dc714331..8087bde999 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -205,8 +205,7 @@ ifeq ($(BR2_STRIP_strip),y)
STRIP_STRIP_DEBUG := --strip-debug
TARGET_STRIP = $(TARGET_CROSS)strip
STRIPCMD = $(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note
-endif
-ifeq ($(BR2_STRIP_none),y)
+else
TARGET_STRIP = /bin/true
STRIPCMD = $(TARGET_STRIP)
endif
OpenPOWER on IntegriCloud