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/cloop/cloop.mk | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'target/cloop/cloop.mk') diff --git a/target/cloop/cloop.mk b/target/cloop/cloop.mk index 9e3177622..059dd6c4b 100644 --- a/target/cloop/cloop.mk +++ b/target/cloop/cloop.mk @@ -63,17 +63,6 @@ cloop-module: $(CLOOP_DIR)/cloop.o ### Note: target/default/device_table.txt is not yet supported! ck # the quickfix is to use sudo to mount the previous created cramroot check-tools: -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 - @rm -rf $(TARGET_DIR)/usr/share/info -endif - @rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share - which mkisofs - -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true - which symlinks && symlinks -r $(TARGET_DIR) $(IMAGE).cramfs: cramfsroot -- cgit v1.2.3