gdb: fixup symlink handling now tolchain gets installed into HOST_DIR
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 3 Jan 2011 23:32:34 +0000 (00:32 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 3 Jan 2011 23:33:14 +0000 (00:33 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/gdb/gdb.mk

index af08d1ee39f5a4457e6258c21bf03109e7d9e891..739ebbe996f2cb765258a39ae71a0cf9bf3a9654 100644 (file)
@@ -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