From: Peter Korsgaard Date: Mon, 5 Apr 2010 11:44:21 +0000 (+0200) Subject: uclibc: don't install libs to target if BR2_PREFER_STATIC_LIB X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c95174a8dfb6f72b80768b73b8f04448f846c122;p=buildroot.git uclibc: don't install libs to target if BR2_PREFER_STATIC_LIB Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index 52a8ae9071..3e69770297 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