summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-30 13:34:42 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-30 13:34:42 +0000
commit92bd25c9eb14eafb1beb8f41af71fef1e545922a (patch)
tree6574d5baaa0bcf3d9c02287c75d020932674e5bd /package
parent81ddf3d083e6f238de66bc9c504c814de56d9545 (diff)
toolchain: fix up GNU_TARGET_NAME link and target_utils location
The GNU_TARGET_NAME symlink and target_utils location were not correctly adjusted to match the move of the toolchain to $(STAGING_DIR)/usr, creating dangling symlinks.
Diffstat (limited to 'package')
-rw-r--r--package/strace/strace.mk4
-rw-r--r--package/stunnel/stunnel.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/package/strace/strace.mk b/package/strace/strace.mk
index 8e3b3b079..d27afaa3c 100644
--- a/package/strace/strace.mk
+++ b/package/strace/strace.mk
@@ -22,8 +22,8 @@ $(STRACE_HOOK_POST_INSTALL): $(STRACE_TARGET_INSTALL_TARGET)
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/strace
rm -f $(TARGET_DIR)/usr/bin/strace-graph
ifeq ($(BR2_CROSS_TOOLCHAIN_TARGET_UTILS),y)
- mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils
+ mkdir -p $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/target_utils
install -c $(TARGET_DIR)/usr/bin/strace \
- $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils/strace
+ $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/target_utils/strace
endif
touch $@
diff --git a/package/stunnel/stunnel.mk b/package/stunnel/stunnel.mk
index 779af0ef2..1af0e6be3 100644
--- a/package/stunnel/stunnel.mk
+++ b/package/stunnel/stunnel.mk
@@ -57,9 +57,9 @@ $(TARGET_DIR)/usr/bin/stunnel: $(STUNNEL_DIR)/src/stunnel
install -c $(STUNNEL_DIR)/src/stunnel $(TARGET_DIR)/usr/bin/stunnel
$(STRIPCMD) $(TARGET_DIR)/usr/bin/stunnel > /dev/null 2>&1
ifeq ($(BR2_CROSS_TOOLCHAIN_TARGET_UTILS),y)
- mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils
+ mkdir -p $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/target_utils
install -c $(TARGET_DIR)/usr/bin/stunnel \
- $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils/stunnel
+ $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/target_utils/stunnel
endif
stunnel: uclibc $(TARGET_DIR)/usr/bin/stunnel