Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Darcy Watkins <dwatkins@tranzeo.com>
To: buildroot@busybox.net
Subject: [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt
Date: Tue, 09 Nov 2010 07:50:56 -0800	[thread overview]
Message-ID: <1289317856.30565.115.camel@tr-pentomino> (raw)

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
 

             reply	other threads:[~2010-11-09 15:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-09 15:50 Darcy Watkins [this message]
2010-11-09 17:39 ` [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt Thomas Petazzoni
2010-11-09 18:37 ` Darcy Watkins
2010-11-09 18:54   ` Thomas Petazzoni
2010-11-09 20:00 ` Darcy Watkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1289317856.30565.115.camel@tr-pentomino \
    --to=dwatkins@tranzeo.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox