aboutsummaryrefslogtreecommitdiff
path: root/package/Makefile.in
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-07-26 23:53:37 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-07-26 23:57:01 +0200
commite49e2feda47fffb5e7a568a89d1f36615e75ce87 (patch)
treee6ee27a0db138571bf3ee4424da642e47f9b4bb7 /package/Makefile.in
parent52beecb809d24264970a5748ba77a005159db45b (diff)
downloadbuildroot-e49e2feda47fffb5e7a568a89d1f36615e75ce87.tar.gz
buildroot-e49e2feda47fffb5e7a568a89d1f36615e75ce87.tar.bz2
Makefile: fix ldconfig selection for internal toolchains
Commit ed0d45fdd (Choose host/target ldconfig based on availability) added a runtime check for a cross-ldconfig being available. Unfortunately this checks runs too early (at package/Makefile.in parsing time), so it always fails when using an internal toolchain as ldconfig isn't built yet. Fix it by moving the check to the only place it is used (target-finalize). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/Makefile.in')
-rw-r--r--package/Makefile.in6
1 files changed, 0 insertions, 6 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 1962466e2f..fc53a1b1e9 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -127,12 +127,6 @@ TARGET_RANLIB = $(TARGET_CROSS)ranlib
TARGET_OBJCOPY = $(TARGET_CROSS)objcopy
TARGET_OBJDUMP = $(TARGET_CROSS)objdump
-ifeq ($(shell $(SHELL) -c "command -v $(TARGET_CROSS)ldconfig"),)
-TARGET_LDCONFIG = /sbin/ldconfig
-else
-TARGET_LDCONFIG = $(TARGET_CROSS)ldconfig
-endif
-
ifeq ($(BR2_STRIP_strip),y)
STRIP_DISCARD_ALL:=--discard-all
STRIP_STRIP_UNNEEDED:=--strip-unneeded