From 42c9321a15c2a98dd72cc09c7ef5900b5097c6eb Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Thu, 4 Aug 2005 03:49:25 +0000 Subject: Add BR2_CROSS_TOOLCHAIN_TARGET_UTILS to allow bundling of some useful debug apps with a deployed cross toolchain. Should probably do ltrace as well... Also, add another compat symlink for cross gdb. --- toolchain/uClibc/uclibc.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'toolchain/uClibc') diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index 569a9e8b0..a51c5364b 100644 --- a/toolchain/uClibc/uclibc.mk +++ b/toolchain/uClibc/uclibc.mk @@ -126,6 +126,11 @@ $(TARGET_DIR)/lib/libc.so.0: $(STAGING_DIR)/lib/libc.a $(TARGET_DIR)/usr/bin/ldd: $(MAKE1) -C $(UCLIBC_DIR) $(TARGET_CONFIGURE_OPTS) \ PREFIX=$(TARGET_DIR) utils install_utils +ifeq ($(strip $(BR2_CROSS_TOOLCHAIN_TARGET_UTILS)),y) + mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils + install -c $(TARGET_DIR)/usr/bin/ldd \ + $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils/ldd +endif touch -c $(TARGET_DIR)/usr/bin/ldd UCLIBC_TARGETS=$(TARGET_DIR)/lib/libc.so.0 -- cgit v1.2.3