Skip to contentSkip to conversation

build: cleanup remaining references to BR2_STRIP_sstrip

PATCH New Julien Floret 2 participants 2 messages Jun 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: cleanup remaining references to BR2_STRIP_sstrip

sstrip option has been removed in commit 106f5b8c5093 ("build: remove deprecated sstrip option").

---
 package/Makefile.in                  | 8 --------
 support/dependencies/dependencies.mk | 4 ----
 2 files changed, 12 deletions(-)
package/Makefile.in +0 -8
index 2d454a63820b..f6d1e6787cb9 100644
@@ -201,14 +201,6 @@ TARGET_STRIP = $(TARGET_CROSS)strip
 STRIPCMD = $(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note
 KSTRIPCMD = $(STRIPCMD) $(STRIP_STRIP_UNNEEDED)
 endif
-ifeq ($(BR2_STRIP_sstrip),y)
-STRIP_STRIP_DEBUG :=
-STRIP_STRIP_UNNEEDED :=
-STRIP_STRIP_ALL :=
-TARGET_STRIP = $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-sstrip
-STRIPCMD = $(TARGET_STRIP)
-KSTRIPCMD = $(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note --strip-unneeded
-endif
 ifeq ($(BR2_STRIP_none),y)
 TARGET_STRIP = true
 STRIPCMD = $(TARGET_STRIP)
support/dependencies/dependencies.mk +0 -4
index 82327216cd61..4334dac4e811 100644
@@ -16,10 +16,6 @@ $(shell support/dependencies/check-host-$(1).sh $(2))
 endef
 -include $(sort $(wildcard support/dependencies/check-host-*.mk))
 
-ifeq ($(BR2_STRIP_sstrip),y)
-DEPENDENCIES_HOST_PREREQ += host-sstrip
-endif
-
 ifeq ($(BR2_CCACHE),y)
 DEPENDENCIES_HOST_PREREQ += host-ccache
 endif
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/1 build: cleanup remaining references to BR2_STRIP_sstrip

Hello,

Quoted 8 lines · Julien Floret

sstrip option has been removed in commit 106f5b8c5093 ("build: remove deprecated sstrip option").

---
 package/Makefile.in                  | 8 --------
 support/dependencies/dependencies.mk | 4 ----
 2 files changed, 12 deletions(-)

Applied to master, thanks. I think package/sstrip/sstrip.mk could also be simplified to get rid of the host variant, since it's not used anywhere anymore.

It would be me, I would also remove the target variant, or at least mark it as deprecated.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com