summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-01-03 23:32:34 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-01-03 23:33:14 (GMT)
commit34acba1b3ef4ea874a1793f0f36a6b49abbb37ff (patch)
treef80e423fa1af7a667defb127fabaa1abf4594807
parent6ca4e7ce970447fc5c6312e5f414b91b306b9f0b (diff)
downloadbuildroot-34acba1b3ef4ea874a1793f0f36a6b49abbb37ff.tar.gz
buildroot-34acba1b3ef4ea874a1793f0f36a6b49abbb37ff.tar.bz2
gdb: fixup symlink handling now tolchain gets installed into HOST_DIR
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--toolchain/gdb/gdb.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/toolchain/gdb/gdb.mk b/toolchain/gdb/gdb.mk
index af08d1e..739ebbe 100644
--- a/toolchain/gdb/gdb.mk
+++ b/toolchain/gdb/gdb.mk
@@ -204,10 +204,8 @@ $(GDB_HOST_DIR)/gdb/gdb: $(GDB_HOST_DIR)/.configured
$(TARGET_CROSS)gdb: $(GDB_HOST_DIR)/gdb/gdb
install -c $(GDB_HOST_DIR)/gdb/gdb $(TARGET_CROSS)gdb
- ln -snf ../../bin/$(REAL_GNU_TARGET_NAME)-gdb \
- $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin/gdb
ln -snf $(REAL_GNU_TARGET_NAME)-gdb \
- $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-gdb
+ $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-gdb
gdbhost: $(TARGET_CROSS)gdb