Changeset 29189


Ignore:
Timestamp:
2011-11-16T18:09:20+01:00 (6 years ago)
Author:
mirko
Message:

level up boost to version 0.46

  • remove dedicated bjam-package since its maintaincene seems to only happen inside the boost tree now
  • remove not anymore required patches
  • add patch to remove hardcoded linker flags from jam file and move them into the OpenWrt Makefile (-pthreads -lrt)
  • remove package boost-function_types
Location:
packages
Files:
1 added
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/boost/Makefile

    r28960 r29189  
    1111 
    1212PKG_NAME:=boost 
    13 PKG_VERSION:=1_38_0 
     13PKG_VERSION:=1_46_0 
    1414PKG_RELEASE:=1 
    1515 
     
    1717PKG_SOURCE_URL:=@SF/boost 
    1818PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION) 
    19 PKG_MD5SUM:=a4fc691c4e7c49b3b9b54a667d8f5529 
    20  
    21 PKG_BUILD_DEPENDS:=boost-jam/host 
     19HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)_$(PKG_VERSION) 
     20PKG_MD5SUM:=820393d5746553c192db7b81ba0e53fe 
     21 
     22PKG_BUILD_DEPENDS:=boost/host 
    2223PKG_BUILD_PARALLEL:=1 
    2324 
     
    3940 
    4041include $(INCLUDE_DIR)/package.mk 
     42include $(INCLUDE_DIR)/host-build.mk 
    4143 
    4244define Package/boost/Default 
     
    6264endef 
    6365 
    64 define Package/boost-function_types 
    65   $(call Package/boost/Default) 
    66   TITLE+= (function_types) 
    67   BUILD_ONLY:=1 
    68 endef 
    69  
    7066define Package/boost-graph 
    7167  $(call Package/boost/Default) 
     
    144140endef 
    145141 
     142define Host/Compile 
     143        # bjam does not provide a configure-script nor a Makefile 
     144        ( cd $(HOST_BUILD_DIR)/tools/build/v2/engine/src ; ./build.sh gcc ) 
     145endef 
     146 
    146147CONFIGURE_PREFIX:=$(PKG_INSTALL_DIR) 
     148TARGET_LDFLAGS += -pthreads -lrt 
     149 
    147150define Build/Compile 
    148151        ( cd $(PKG_BUILD_DIR) ; \ 
     
    160163                        $(if $(CONFIG_PACKAGE_boost-date_time),--with-date_time) \ 
    161164                        $(if $(CONFIG_PACKAGE_boost-filesystem),--with-filesystem) \ 
    162                         $(if $(CONFIG_PACKAGE_boost-function_types),--with-function_types) \ 
    163165                        $(if $(CONFIG_PACKAGE_boost-graph),--with-graph) \ 
    164166                        $(if $(CONFIG_PACKAGE_boost-iostreams),--with-iostreams) \ 
     
    192194endef 
    193195 
     196define Host/Install 
     197        $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin 
     198        $(CP) $(HOST_BUILD_DIR)/tools/build/v2/engine/src/bin.*/bjam $(STAGING_DIR_HOST)/bin/ 
     199endef 
     200 
    194201define Package/boost/Default/install 
    195202        $(INSTALL_DIR) $(1)/usr/lib 
     
    259266endef 
    260267 
     268$(eval $(call HostBuild)) 
    261269$(eval $(call BuildPackage,boost)) 
    262270$(eval $(call BuildPackage,boost-date_time)) 
    263271$(eval $(call BuildPackage,boost-filesystem)) 
    264 $(eval $(call BuildPackage,boost-function_types)) 
    265272$(eval $(call BuildPackage,boost-graph)) 
    266273$(eval $(call BuildPackage,boost-iostreams)) 
Note: See TracChangeset for help on using the changeset viewer.