fix symlink
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 11 Jun 2005 11:35:28 +0000 (11:35 +0000)
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 11 Jun 2005 11:35:28 +0000 (11:35 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1198 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/toolchain/gdb/Makefile

index aa7f126..85dfa71 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
This page took 0.026959 seconds and 4 git commands to generate.