uclibc: don't install libs to target if BR2_PREFER_STATIC_LIB
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 5 Apr 2010 11:44:21 +0000 (13:44 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 5 Apr 2010 11:44:47 +0000 (13:44 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/uClibc/uclibc.mk

index 52a8ae9071cf8749687aa3920ea774b33e81de9c..3e69770297fedc4cd9776778ff9e16c28f8cc599 100644 (file)
@@ -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