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. --- package/strace/strace.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package') diff --git a/package/strace/strace.mk b/package/strace/strace.mk index 2f28fe498..c930aa2a8 100644 --- a/package/strace/strace.mk +++ b/package/strace/strace.mk @@ -49,6 +49,11 @@ $(STRACE_DIR)/strace: $(STRACE_DIR)/.configured $(TARGET_DIR)/usr/bin/strace: $(STRACE_DIR)/strace install -c $(STRACE_DIR)/strace $(TARGET_DIR)/usr/bin/strace $(STRIP) $(TARGET_DIR)/usr/bin/strace > /dev/null 2>&1 +ifeq ($(strip $(BR2_CROSS_TOOLCHAIN_TARGET_UTILS)),y) + mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils + install -c $(TARGET_DIR)/usr/bin/strace \ + $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils/strace +endif strace: uclibc $(TARGET_DIR)/usr/bin/strace -- cgit v1.2.3