Changeset 25931


Ignore:
Timestamp:
2011-03-07T16:56:01+01:00 (7 years ago)
Author:
jow
Message:

[packages] binutils: build shared libraries, package missing libopcode, libbfd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/devel/binutils/Makefile

    r24507 r25931  
    11# 
    2 # Copyright (C) 2006-2010 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
    55# See /LICENSE for more information. 
    66# 
     7 
    78include $(TOPDIR)/rules.mk 
    89 
     
    1819PATCH_DIR:=$(TOPDIR)/toolchain/binutils/patches/$(PKG_VERSION) 
    1920 
    20 PKG_FIXUP:=libtool 
     21PKG_FIXUP:=autoreconf 
    2122PKG_LIBTOOL_PATHS:=. gas bfd opcodes gprof binutils ld libiberty gold intl 
    2223PKG_REMOVE_FILES:=libtool.m4 
     
    5253                --disable-werror \ 
    5354                --disable-nls \ 
     55                --enable-shared \ 
    5456                $(SOFT_FLOAT_CONFIG_OPTION) \ 
    5557                $(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS)) 
     
    9395 
    9496define Package/objdump/install 
    95         $(INSTALL_DIR) $(1)/usr/bin 
    96         $(CP) $(PKG_INSTALL_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin/objdump $(1)/usr/bin/ 
     97        $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib 
     98        $(CP) $(PKG_INSTALL_DIR)/usr/bin/objdump $(1)/usr/bin/ 
     99        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libopcodes*.so $(1)/usr/lib/ 
     100        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libbfd*.so $(1)/usr/lib/ 
    97101endef 
    98102 
     
    100104        $(INSTALL_DIR) $(1)/usr 
    101105        $(CP) $(PKG_INSTALL_DIR)/usr/bin/ $(1)/usr/ 
    102         $(CP) $(PKG_INSTALL_DIR)/usr/$(REAL_GNU_TARGET_NAME) $(1)/usr 
    103106        rm -f $(1)/usr/bin/objdump 
    104107endef 
Note: See TracChangeset for help on using the changeset viewer.