From 32faf35112e5092a5657862a43aadf67d907dbd3 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 7 Apr 2009 21:04:31 +0000 Subject: Makefile: add target-finalize for common filesystem cleanup And remove from each rootfs variant. --- target/romfs/romfs.mk | 8 -------- 1 file changed, 8 deletions(-) (limited to 'target/romfs') diff --git a/target/romfs/romfs.mk b/target/romfs/romfs.mk index 1abb24829..2e2470b4b 100644 --- a/target/romfs/romfs.mk +++ b/target/romfs/romfs.mk @@ -37,14 +37,6 @@ romfs-dirclean: ROMFS_TARGET=$(IMAGE).romfs romfsroot: host-fakeroot makedevs romfs - -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true -ifneq ($(BR2_HAVE_MANPAGES),y) - @rm -rf $(TARGET_DIR)/usr/man -endif -ifneq ($(BR2_HAVE_INFOPAGES),y) - @rm -rf $(TARGET_DIR)/usr/info -endif - $(if $(TARGET_LDCONFIG),test -x $(TARGET_LDCONFIG) && $(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null) # Use fakeroot to pretend all target binaries are owned by root rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(ROMFS_TARGET)) touch $(PROJECT_BUILD_DIR)/.fakeroot.00000 -- cgit v1.2.3