summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
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