- make sure that strip and all it's arguments are passed if used via

STRIP=$(TARGET_STRIP) (i.e. without quoting). Thanks to Dimitry Golubovsky
  for mentioning this.
This commit is contained in:
Bernhard Reutner-Fischer 2007-09-29 10:05:08 +00:00
parent 0f55fe9116
commit 4f5facb9ec
1 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ STRIP_STRIP_UNNEEDED:=--strip-unneeded
STRIP_STRIP_ALL:=--strip-all
REMOVE_SECTION_COMMENT:=--remove-section=.comment
REMOVE_SECTION_NOTE:=--remove-section=.note
TARGET_STRIP=$(TARGET_CROSS)strip $(REMOVE_SECTION_COMMENT) $(REMOVE_SECTION_NOTE)
TARGET_STRIP="$(TARGET_CROSS)strip $(REMOVE_SECTION_COMMENT) $(REMOVE_SECTION_NOTE)"
STRIP=$(TARGET_STRIP)
endif
ifeq ($(BR2_STRIP_sstrip),y)
@ -118,11 +118,11 @@ STRIP_STRIP_UNNEEDED:=
STRIP_STRIP_ALL:=
REMOVE_SECTION_COMMENT:=
REMOVE_SECTION_NOTE:=
TARGET_STRIP=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-sstrip
TARGET_STRIP="$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-sstrip"
STRIP=$(TARGET_STRIP)
endif
ifeq ($(BR2_STRIP_none),y)
TARGET_STRIP=true -Not_stripping
TARGET_STRIP="true -Not_stripping"
STRIP=$(TARGET_STRIP)
endif
INSTALL=/usr/bin/install