summaryrefslogtreecommitdiff
path: root/target/cramfs
diff options
context:
space:
mode:
Diffstat (limited to 'target/cramfs')
-rw-r--r--target/cramfs/cramfs.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/cramfs/cramfs.mk b/target/cramfs/cramfs.mk
index 2964dddd3..913a89cf2 100644
--- a/target/cramfs/cramfs.mk
+++ b/target/cramfs/cramfs.mk
@@ -58,14 +58,14 @@ ifeq ($(strip $(BR2_sparc)),y)
CRAMFS_ENDIANNESS=-b
endif
-cramfsroot: cramfs
+cramfsroot: host-fakeroot makedevs cramfs
#-@find $(TARGET_DIR)/lib -type f -name \*.so\* | xargs $(STRIP) --strip-unneeded 2>/dev/null || true;
-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
@rm -rf $(TARGET_DIR)/usr/man
@rm -rf $(TARGET_DIR)/usr/info
- /sbin/ldconfig -r $(TARGET_DIR)
+ -/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
- $(STAGING_DIR)/usr/bin/fakeroot \
+ -$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/fakeroot.env \
-s $(STAGING_DIR)/fakeroot.env -- \
chown -R root:root $(TARGET_DIR)