summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-01 23:59:35 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-12 19:26:52 +0200
commit7811b05c9be41bfe67068d71c90bb28c54165efd (patch)
tree647c1ab701629b153faef012200344e39b6a8a41
parentbf65aad5d96cff92aa679e0349ffb52bf6cd1d4c (diff)
downloadbuildroot-novena-7811b05c9be41bfe67068d71c90bb28c54165efd.tar.gz
buildroot-novena-7811b05c9be41bfe67068d71c90bb28c54165efd.zip
gvfs: convert to new style hook, remove useless stripping
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gvfs/gvfs.mk14
1 files changed, 6 insertions, 8 deletions
diff --git a/package/gvfs/gvfs.mk b/package/gvfs/gvfs.mk
index 64e6df476..7638f541a 100644
--- a/package/gvfs/gvfs.mk
+++ b/package/gvfs/gvfs.mk
@@ -69,12 +69,10 @@ else
GVFS_CONF_OPT += --disable-samba
endif
-$(eval $(call AUTOTARGETS,package,gvfs))
-
-$(GVFS_HOOK_POST_INSTALL): $(GVFS_TARGET_INSTALL_TARGET)
+define GVFS_REMOVE_USELESS_BINARY
rm $(TARGET_DIR)/usr/bin/gvfs-less
-ifneq ($(BR2_ENABLE_DEBUG),y)
- $(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/gvfs*
- $(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/libexec/gvfs*
-endif
- touch $@
+endef
+
+GVFS_POST_INSTALL_TARGET_HOOKS += GVFS_REMOVE_USELESS_BINARY
+
+$(eval $(call AUTOTARGETS,package,gvfs))