From c95174a8dfb6f72b80768b73b8f04448f846c122 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 5 Apr 2010 13:44:21 +0200 Subject: [PATCH] uclibc: don't install libs to target if BR2_PREFER_STATIC_LIB Signed-off-by: Peter Korsgaard --- toolchain/uClibc/uclibc.mk | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2