summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-01-04 00:32:34 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-01-04 00:33:14 +0100
commit34acba1b3ef4ea874a1793f0f36a6b49abbb37ff (patch)
treef80e423fa1af7a667defb127fabaa1abf4594807
parent6ca4e7ce970447fc5c6312e5f414b91b306b9f0b (diff)
downloadbuildroot-novena-34acba1b3ef4ea874a1793f0f36a6b49abbb37ff.tar.gz
buildroot-novena-34acba1b3ef4ea874a1793f0f36a6b49abbb37ff.zip
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 af08d1ee3..739ebbe99 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