summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-05-25 19:12:56 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-15 20:52:15 +0200
commitddc67dad2cae5dd3e2a6729b6c7e6377062d3f1f (patch)
treebdf8ccfb510f3a95278668b525ad2ac5e2efe85c
parenta95b9cc1244e3de5de294c14d8bf7f6fc9916493 (diff)
downloadbuildroot-ddc67dad2cae5dd3e2a6729b6c7e6377062d3f1f.tar.gz
buildroot-ddc67dad2cae5dd3e2a6729b6c7e6377062d3f1f.zip
uclibc: don't install tools to staging when static
Don't try to install ld* tools to staging when it's a static build, there's no point and it'll be broken once we build a purely-static uclibc. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/uclibc/uclibc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index f88691afc1..0c04033f76 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -513,8 +513,8 @@ define UCLIBC_INSTALL_TARGET_CMDS
$(UCLIBC_INSTALL_TEST_SUITE)
endef
-# For FLAT binfmts (static) there are no host utils
-ifeq ($(BR2_BINFMT_FLAT),)
+# STATIC has no ld* tools, only getconf
+ifeq ($(BR2_PREFER_STATIC_LIB),)
define UCLIBC_INSTALL_UTILS_STAGING
$(INSTALL) -D -m 0755 $(@D)/utils/ldd.host $(HOST_DIR)/usr/bin/ldd
ln -sf ldd $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-ldd
OpenPOWER on IntegriCloud