From: Peter Korsgaard Date: Wed, 4 Feb 2009 23:51:06 +0000 (-0000) Subject: microperl: strip target binary X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b1dbd2031994fdc5eb1191a06fc91292dd129b1;p=buildroot.git microperl: strip target binary --- diff --git a/package/microperl/microperl.mk b/package/microperl/microperl.mk index e8d327479e..5a41f384d4 100644 --- a/package/microperl/microperl.mk +++ b/package/microperl/microperl.mk @@ -82,7 +82,10 @@ ifneq ($(MICROPERL_MODS),) done; \ ) endif - cp -dpf $(MICROPERL_DIR)/microperl $(TARGET_DIR)/usr/bin/microperl + cp -dpf $(MICROPERL_DIR)/microperl $@ +ifneq ($(BR2_STRIP_none),y) + $(STRIPCMD) $(STRIP_STRIP_ALL) $@ +endif (cd $(TARGET_DIR)/usr/bin; rm -f perl; ln -s microperl perl;) microperl: uclibc $(TARGET_DIR)/usr/bin/microperl