Browse Source

microperl: strip target binary

Peter Korsgaard 16 years ago
parent
commit
5b1dbd2031
1 changed files with 4 additions and 1 deletions
  1. 4 1
      package/microperl/microperl.mk

+ 4 - 1
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