summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2005-08-04 03:49:25 +0000
committerManuel Novoa III <mjn3@codepoet.org>2005-08-04 03:49:25 +0000
commit42c9321a15c2a98dd72cc09c7ef5900b5097c6eb (patch)
treefb3d292c6c6dca773cd9385d676c6f6fe8028243 /package
parentee69884eed6a41c4769a6f03ba7e2a7e64f17c1c (diff)
downloadbuildroot-novena-42c9321a15c2a98dd72cc09c7ef5900b5097c6eb.tar.gz
buildroot-novena-42c9321a15c2a98dd72cc09c7ef5900b5097c6eb.zip
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.
Diffstat (limited to 'package')
-rw-r--r--package/strace/strace.mk5
1 files changed, 5 insertions, 0 deletions
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