fix symlink
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Sat, 11 Jun 2005 11:35:28 +0000 (11:35 +0000)
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Sat, 11 Jun 2005 11:35:28 +0000 (11:35 +0000)
SVN-Revision: 1198

openwrt/toolchain/gdb/Makefile

index aa7f1263dc832d61edc9db9f9f4d8f53c322cd7e..85dfa7164c9c9cb739c0fb2c798f97e5d5e5def3 100644 (file)
@@ -48,8 +48,8 @@ $(GDB_CLIENT_DIR)/gdb/gdb: $(GDB_CLIENT_DIR)/.configured
 
 $(TARGET_CROSS)gdb: $(GDB_CLIENT_DIR)/gdb/gdb
        install -c $(GDB_CLIENT_DIR)/gdb/gdb $(TARGET_CROSS)gdb
-       ln -fs ../../bin/$(REAL_GNU_TARGET_NAME)-gdb \
-               $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/gdb
+       cd $(STAGING_DIR)/bin && \
+       ln -fs $(GNU_TARGET_NAME)-gdb $(REAL_GNU_TARGET_NAME)-gdb
 
 source: $(DL_DIR)/$(GDB_SOURCE)
 prepare: $(GDB_DIR)/.patched