aboutsummaryrefslogtreecommitdiff
path: root/target/jffs2
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2005-08-08 06:57:43 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2005-08-08 06:57:43 +0000
commit06c5ff4e823cab16987d89c585ef2de4a3db2a7b (patch)
tree7c112f6202f48b15e550f602a0e750c7205eb421 /target/jffs2
parentab3bf08f9c3009364da713bbda03902b9cc06d3b (diff)
downloadbuildroot-06c5ff4e823cab16987d89c585ef2de4a3db2a7b.tar.gz
buildroot-06c5ff4e823cab16987d89c585ef2de4a3db2a7b.tar.bz2
minor cleanup for target handling
Diffstat (limited to 'target/jffs2')
-rw-r--r--target/jffs2/jffs2root.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk
index 32b8ab8bbd..03a0558808 100644
--- a/target/jffs2/jffs2root.mk
+++ b/target/jffs2/jffs2root.mk
@@ -43,11 +43,9 @@ $(JFFS2_TARGET): host-fakeroot makedevs mtd-host
@rm -rf $(TARGET_DIR)/usr/man
@rm -rf $(TARGET_DIR)/usr/share/man
@rm -rf $(TARGET_DIR)/usr/info
- test -e "$(TARGET_DIR)/etc/ld.so.conf" \
- && /sbin/ldconfig -r $(TARGET_DIR) \
- || true
+ -/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)