[Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt

Darcy Watkins dwatkins at tranzeo.com
Tue Nov 9 15:50:56 UTC 2010


This instructs the ldconfig not to build / rebuild the cache.  It was a
while back I encountered this and I have just carried it forward since.
Someone more expert should check this and decide on its appropriateness
for 2010.11 and/or future buildroot release.


Signed-off by: Darcy Watkins <dwatkins at tranzeo.com>



Index: buildroot-2010.11_powerpc/Makefile
===================================================================
--- buildroot-2010.11_powerpc.orig/Makefile
+++ buildroot-2010.11_powerpc/Makefile
@@ -413,9 +413,9 @@ endif
 	mkdir -p $(TARGET_DIR)/var/cache/ldconfig
 	if [ -x "$(TARGET_CROSS)ldconfig" ]; \
 	then \
-		$(TARGET_CROSS)ldconfig -r $(TARGET_DIR); \
+		$(TARGET_CROSS)ldconfig -N -r $(TARGET_DIR); \
 	else \
-		/sbin/ldconfig -r $(TARGET_DIR); \
+		/sbin/ldconfig -N -r $(TARGET_DIR); \
 	fi
 	echo $(BR2_VERSION_FULL) > $(TARGET_DIR)/etc/br-version
 



More information about the buildroot mailing list