From: Yann E. MORIN Date: Sat, 1 Jul 2017 12:51:20 +0000 (+0200) Subject: core: simplify the condition to set the strip command X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4480d40cc9a0d63da0bdf8ddf5dfc257c673de34;p=buildroot.git core: simplify the condition to set the strip command Since BR2_STRIP_strip and BR2_STRIP_noine are mutually exclusive (being part of a choice), we can simplify the logic. Signed-off-by: "Yann E. MORIN" Cc: Arnout Vandecappelle Cc: Thomas Petazzoni Signed-off-by: Thomas Petazzoni --- 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