From e4ead9c13ccad1b89743fdd46e8675f45758aec3 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Tue, 21 Aug 2007 01:53:57 +0000 Subject: Remove switches if sstrip is run --- package/Makefile.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'package/Makefile.in') diff --git a/package/Makefile.in b/package/Makefile.in index 1589cf14b..e3d7f8301 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -138,9 +138,19 @@ TARGET_LDCONFIG=$(TARGET_CROSS)ldconfig INSTALL=/usr/bin/install ifeq ($(BR2_STRIP_strip),y) STRIP=$(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note +STRIP_DISCARD_ALL:=--discard-all +STRIP_STRIP_UNNEEDED:=--strip-unneeded +STRIP_STRIP_ALL:=--strip-all +REMOVE_SECTION_COMMENT:=--remove-section=.comment +REMOVE_SECTION_NOTE:=--remove-section=.note endif ifeq ($(BR2_STRIP_sstrip),y) STRIP=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-sstrip +STRIP_DISCARD_ALL:= +STRIP_STRIP_UNNEEDED:= +STRIP_STRIP_ALL:= +REMOVE_SECTION_COMMENT:= +REMOVE_SECTION_NOTE:= endif ifeq ($(BR2_STRIP_none),y) STRIP=true -Not_stripping -- cgit v1.2.3-55-g7522