gvfs: convert to new style hook, remove useless stripping

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2010-09-01 23:59:35 +02:00
parent bf65aad5d9
commit 7811b05c9b

View File

@ -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))