summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-02-04 23:51:06 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-02-04 23:51:06 +0000
commit5b1dbd2031994fdc5eb1191a06fc91292dd129b1 (patch)
treeabcc043b434716d3fd2eaa511bf662fd0ebed49e /package
parent8567f5fa151a04332f5937ccf945b77a18703dcc (diff)
downloadbuildroot-novena-5b1dbd2031994fdc5eb1191a06fc91292dd129b1.tar.gz
buildroot-novena-5b1dbd2031994fdc5eb1191a06fc91292dd129b1.zip
microperl: strip target binary
Diffstat (limited to 'package')
-rw-r--r--package/microperl/microperl.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/microperl/microperl.mk b/package/microperl/microperl.mk
index e8d327479..5a41f384d 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