projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e267955
)
Use host ldconfig, if external toolchain is used
author
Ulf Samuelsson
<ulf.samuelsson@atmel.com>
Thu, 10 Jan 2008 09:29:06 +0000
(09:29 -0000)
committer
Ulf Samuelsson
<ulf.samuelsson@atmel.com>
Thu, 10 Jan 2008 09:29:06 +0000
(09:29 -0000)
package/Makefile.in
patch
|
blob
|
history
diff --git
a/package/Makefile.in
b/package/Makefile.in
index feba9dac8a84cffd4fda91eada8ff6ed7cd08afd..76751cc98d1ba92e2e9c6820274d400acb048a9d 100644
(file)
--- a/
package/Makefile.in
+++ b/
package/Makefile.in
@@
-121,7
+121,11
@@
TARGET_NM=$(TARGET_CROSS)nm
TARGET_RANLIB=$(TARGET_CROSS)ranlib
TARGET_OBJCOPY=$(TARGET_CROSS)objcopy
TARGET_OBJDUMP=$(TARGET_CROSS)objdump
+ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
+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