#18883: $(TARGET_CROSS)gdb install fail when compile openwrt with EXT toolchain.
------------------------+-----------------------------------
  Reporter:  polejoe@…  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  Barrier Breaker 14.07
 Component:  toolchain  |    Version:  Barrier Breaker 14.07
Resolution:             |   Keywords:  toolchain
------------------------+-----------------------------------

Comment (by polejoe@…):

 ###propose:

     To solve it, the define should be modified to

 define Host/Install

     mkdir -p $(TOOLCHAIN_DIR)/bin
     $(INSTALL_BIN) $(HOST_BUILD_DIR)/gdb/gdb
 $(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)gdb

 '''ifneq ($(TARGET_CROSS), $(GNU_TARGET_NAME)-)'''

     ln -fs $(TARGET_CROSS)gdb $(TOOLCHAIN_DIR)/bin/$(GNU_TARGET_NAME)-gdb

 '''endif'''

     strip $(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)gdb

 endef

--
Ticket URL: <https://dev.openwrt.org/ticket/18883#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to