Ticket #8603: binutils_libopcode.patch

File binutils_libopcode.patch, 760 bytes (added by slashv, 6 years ago)

objdump should include libopcodes

  • feeds/packages/devel/binutils/Makefile

     
    9393 
    9494define Package/objdump/install 
    9595        $(INSTALL_DIR) $(1)/usr/bin 
    96         $(CP) $(PKG_INSTALL_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin/objdump $(1)/usr/bin/ 
     96        $(INSTALL_DIR) $(1)/usr/lib 
     97        $(CP) $(PKG_INSTALL_DIR)/usr/bin/objdump $(1)/usr/bin/ 
     98        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libopcode* $(1)/usr/lib/ 
    9799endef 
    98100 
    99101define Package/binutils/install 
    100102        $(INSTALL_DIR) $(1)/usr 
    101103        $(CP) $(PKG_INSTALL_DIR)/usr/bin/ $(1)/usr/ 
    102         $(CP) $(PKG_INSTALL_DIR)/usr/$(REAL_GNU_TARGET_NAME) $(1)/usr 
    103104        rm -f $(1)/usr/bin/objdump 
    104105endef 
    105106