summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/uclibc.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-04-05 13:44:21 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-04-05 13:44:47 +0200
commitc95174a8dfb6f72b80768b73b8f04448f846c122 (patch)
tree64d76eb14465c2973d47289bad7a47d53fa8e600 /toolchain/uClibc/uclibc.mk
parent3ef9b6969c8ea5c6ff0e3cf5e40a4185a57999d3 (diff)
downloadbuildroot-novena-c95174a8dfb6f72b80768b73b8f04448f846c122.tar.gz
buildroot-novena-c95174a8dfb6f72b80768b73b8f04448f846c122.zip
uclibc: don't install libs to target if BR2_PREFER_STATIC_LIB
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/uClibc/uclibc.mk')
-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 52a8ae907..3e6977029 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