[uClibc-cvs] svn commit: trunk/buildroot/target/ext2

vapier at uclibc.org vapier at uclibc.org
Sun Aug 7 08:30:24 UTC 2005


Author: vapier
Date: 2005-08-07 02:30:24 -0600 (Sun, 07 Aug 2005)
New Revision: 11051

Log:
make sure ext2 target depends on fakeroot

Modified:
   trunk/buildroot/target/ext2/ext2root.mk


Changeset:
Modified: trunk/buildroot/target/ext2/ext2root.mk
===================================================================
--- trunk/buildroot/target/ext2/ext2root.mk	2005-08-04 22:43:37 UTC (rev 11050)
+++ trunk/buildroot/target/ext2/ext2root.mk	2005-08-07 08:30:24 UTC (rev 11051)
@@ -65,12 +65,14 @@
 EXT2_TARGET := $(EXT2_BASE)
 endif
 
-$(EXT2_BASE): genext2fs
+$(EXT2_BASE): host-fakeroot genext2fs
 	- at find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
 	@rm -rf $(TARGET_DIR)/usr/man
 	@rm -rf $(TARGET_DIR)/usr/share/man
 	@rm -rf $(TARGET_DIR)/usr/info
-	/sbin/ldconfig -r $(TARGET_DIR)
+	test -e "$(TARGET_DIR)/etc/ld.so.conf" \
+		&& /sbin/ldconfig -r $(TARGET_DIR) \
+		|| true
 	# Use fakeroot to pretend all target binaries are owned by root
 	$(STAGING_DIR)/usr/bin/fakeroot \
 		-i $(STAGING_DIR)/fakeroot.env \




More information about the uClibc-cvs mailing list