summaryrefslogtreecommitdiff
path: root/target/jffs2/jffs2root.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-04-07 21:04:31 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-04-07 21:04:31 +0000
commit32faf35112e5092a5657862a43aadf67d907dbd3 (patch)
tree2095b7b16aec761430e5bb0ff54d6f42c4412b5e /target/jffs2/jffs2root.mk
parentf276b269181394b26fadcfcd5b768c1d4b57c405 (diff)
Makefile: add target-finalize for common filesystem cleanup
And remove from each rootfs variant.
Diffstat (limited to 'target/jffs2/jffs2root.mk')
-rw-r--r--target/jffs2/jffs2root.mk10
1 files changed, 0 insertions, 10 deletions
diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk
index 1e03bf046..a89dc8011 100644
--- a/target/jffs2/jffs2root.mk
+++ b/target/jffs2/jffs2root.mk
@@ -46,16 +46,6 @@ endif
# just built.
#
$(JFFS2_TARGET): host-fakeroot makedevs mtd-host
- -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true
-ifneq ($(BR2_HAVE_MANPAGES),y)
- @rm -rf $(TARGET_DIR)/usr/man
- @rm -rf $(TARGET_DIR)/usr/share/man
-endif
-ifneq ($(BR2_HAVE_INFOPAGES),y)
- @rm -rf $(TARGET_DIR)/usr/info
-endif
- @rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
- $(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 $(JFFS2_TARGET))
touch $(PROJECT_BUILD_DIR)/.fakeroot.00000