X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5dfed39c142136300fc8bf9cf86563561626c414..5c56e69dd1551d3b4fd8eb75342fd2a4ff8a9ae3:/openwrt/toolchain/gdb/Makefile diff --git a/openwrt/toolchain/gdb/Makefile b/openwrt/toolchain/gdb/Makefile index aa7f1263d..b1a2ad5fe 100644 --- a/openwrt/toolchain/gdb/Makefile +++ b/openwrt/toolchain/gdb/Makefile @@ -48,12 +48,12 @@ $(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 $(TARGET_CROSS)gdb $(GNU_TARGET_NAME)-gdb source: $(DL_DIR)/$(GDB_SOURCE) prepare: $(GDB_DIR)/.patched compile: install: $(TARGET_CROSS)gdb clean: - rm -rf $(GDB_CLIENT_DIR) + rm -rf $(GDB_CLIENT_DIR) $(GDB_DIR)