Skip to contentSkip to conversation

package/boost: add boot-type_erasure support

PATCH New Romain Naour 2 participants 2 messages Jul 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/boost: add boot-type_erasure support

From: Romain Naour <[email protected]>

Until now this library wasn't handled by the Buildroot packaging, so add a new config option to disable it when requested.

Also disable boost-type_erasure for the host variant to keep it as minimal as possible.

---
v2: remove the dependency on toolchain w/ NTPL threads support (Bernd)

---
 package/boost/Config.in | 3 +++
 package/boost/boost.mk  | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)
package/boost/Config.in +3 -0
index 0cc9a58..51d4ed7 100644
@@ -154,6 +154,9 @@ config BR2_PACKAGE_BOOST_THREAD
 config BR2_PACKAGE_BOOST_TIMER
 	bool "boost-timer"
 
+config BR2_PACKAGE_BOOST_TYPE_ERASURE
+	bool "boost-type_erasure"
+
 config BR2_PACKAGE_BOOST_WAVE
 	bool "boost-wave"
 
package/boost/boost.mk +3 -1
index fc89265..1d42f6c 100644
@@ -18,7 +18,8 @@ HOST_BOOST_FLAGS = --without-icu \
 	--without-libraries=$(subst $(space),$(comma),atomic chrono context \
 	coroutine coroutine2 date_time exception filesystem graph \
 	graph_parallel iostreams locale log math mpi program_options python \
-	random regex serialization signals system test thread timer wave)
+	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)
@@ -47,6 +48,7 @@ BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SYSTEM),,system)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TEST),,test)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_THREAD),,thread)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TIMER),,timer)
+BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TYPE_ERASURE),,type_erasure)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_WAVE),,wave)
 
 BOOST_TARGET_CXXFLAGS = $(TARGET_CXXFLAGS)
Signature · 1 line
2.5.5
#1 lore raw

PATCH v2 1/1 package/boost: add boot-type_erasure support

Hello,

Quoted 8 lines · Romain Naour

From: Romain Naour <[email protected]>

Until now this library wasn't handled by the Buildroot packaging, so add a new config option to disable it when requested.

Also disable boost-type_erasure for the host variant to keep it as minimal as possible.

Quoted 7 lines

---
v2: remove the dependency on toolchain w/ NTPL threads support (Bernd)

---
 package/boost/Config.in | 3 +++
 package/boost/boost.mk  | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com