summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-04-05 11:44:21 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-04-05 11:44:47 (GMT)
commitc95174a8dfb6f72b80768b73b8f04448f846c122 (patch)
tree64d76eb14465c2973d47289bad7a47d53fa8e600
parent3ef9b6969c8ea5c6ff0e3cf5e40a4185a57999d3 (diff)
downloadbuildroot-c95174a8dfb6f72b80768b73b8f04448f846c122.tar.gz
buildroot-c95174a8dfb6f72b80768b73b8f04448f846c122.tar.bz2
uclibc: don't install libs to target if BR2_PREFER_STATIC_LIB
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--toolchain/uClibc/uclibc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 52a8ae9..3e69770 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -512,7 +512,10 @@ ifeq ($(BR2_CROSS_TOOLCHAIN_TARGET_UTILS),y)
endif
touch -c $@
+ifneq ($(BR2_PREFER_STATIC_LIB),y)
UCLIBC_TARGETS=$(TARGET_DIR)/lib/libc.so.0
+endif
+
ifeq ($(BR2_UCLIBC_INSTALL_TEST_SUITE),y)
UCLIBC_TARGETS+=uclibc-test
endif