Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt
@ 2010-11-09 15:50 Darcy Watkins
  2010-11-09 17:39 ` Thomas Petazzoni
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Darcy Watkins @ 2010-11-09 15:50 UTC (permalink / raw)
  To: buildroot

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@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
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-09 20:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-09 15:50 [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt Darcy Watkins
2010-11-09 17:39 ` Thomas Petazzoni
2010-11-09 18:37 ` Darcy Watkins
2010-11-09 18:54   ` Thomas Petazzoni
2010-11-09 20:00 ` Darcy Watkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox