Buildroot 2018-11 (#258)
* Update to buildroot 2018.11 * containerd update * runc update * runc docker engine * runc docker proxy * update rpi firmware * update network manager * update dhcpd * update wait on network * update rpi wifi * revert glibc
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BOOST_VERSION = 1.66.0
|
||||
BOOST_VERSION = 1.68.0
|
||||
BOOST_SOURCE = boost_$(subst .,_,$(BOOST_VERSION)).tar.bz2
|
||||
BOOST_SITE = http://downloads.sourceforge.net/project/boost/boost/$(BOOST_VERSION)
|
||||
BOOST_INSTALL_STAGING = YES
|
||||
@@ -14,15 +14,16 @@ BOOST_LICENSE_FILES = LICENSE_1_0.txt
|
||||
# keep host variant as minimal as possible
|
||||
HOST_BOOST_FLAGS = --without-icu --with-toolset=gcc \
|
||||
--without-libraries=$(subst $(space),$(comma),atomic chrono context \
|
||||
coroutine date_time exception filesystem graph graph_parallel iostreams \
|
||||
locale log math mpi program_options python random regex serialization \
|
||||
signals system test thread timer type_erasure \
|
||||
contract coroutine date_time exception filesystem graph graph_parallel \
|
||||
iostreams locale log math mpi program_options python random regex \
|
||||
serialization signals system test thread timer type_erasure \
|
||||
wave)
|
||||
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTAINER),,container)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTEXT),,context)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTRACT),,contract)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COROUTINE),,coroutine)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_DATE_TIME),,date_time)
|
||||
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_EXCEPTION),,exception)
|
||||
@@ -158,6 +159,24 @@ define BOOST_INSTALL_STAGING_CMDS
|
||||
--layout=$(BOOST_LAYOUT) install)
|
||||
endef
|
||||
|
||||
# These hooks will help us to detect missing select in Config.in
|
||||
# Indeed boost buildsystem can select a library even if the user has
|
||||
# disable it
|
||||
define BOOST_REMOVE_TARGET_LIBRARIES
|
||||
rm -rf $(TARGET_DIR)/usr/lib/libboost_*
|
||||
endef
|
||||
|
||||
BOOST_PRE_INSTALL_TARGET_HOOKS += BOOST_REMOVE_TARGET_LIBRARIES
|
||||
|
||||
define BOOST_CHECK_TARGET_LIBRARIES
|
||||
@$(foreach disabled,$(BOOST_WITHOUT_FLAGS),\
|
||||
! ls $(TARGET_DIR)/usr/lib/libboost_$(disabled)* 1>/dev/null 2>&1 || \
|
||||
! echo "libboost_$(disabled) shouldn't have been installed: missing select in boost/Config.in" || \
|
||||
exit 1;)
|
||||
endef
|
||||
|
||||
BOOST_POST_INSTALL_TARGET_HOOKS += BOOST_CHECK_TARGET_LIBRARIES
|
||||
|
||||
define HOST_BOOST_CONFIGURE_CMDS
|
||||
(cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS))
|
||||
echo "using gcc : `$(HOST_CC) -dumpversion` : $(HOSTCXX) : <cxxflags>\"$(HOST_CXXFLAGS)\" <linkflags>\"$(HOST_LDFLAGS)\" ;" > $(@D)/user-config.jam
|
||||
|
||||
Reference in New Issue
Block a user