boost: add selects for log
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 2 Jul 2018 21:25:04 +0000 (23:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 3 Jul 2018 19:42:55 +0000 (21:42 +0200)
log needs atomic, chrono, thread, date_time, filesystem, system and
regex

output/host/usr/bin/arm-buildroot-linux-uclibcgnueabihf-readelf -d output/staging/usr/lib/libboost_log.so

Dynamic section at offset 0xb9ed0 contains 34 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libboost_atomic.so.1.67.0]
 0x00000001 (NEEDED)                     Shared library: [libboost_chrono.so.1.67.0]
 0x00000001 (NEEDED)                     Shared library: [libboost_thread.so.1.67.0]
 0x00000001 (NEEDED)                     Shared library: [libboost_date_time.so.1.67.0]
 0x00000001 (NEEDED)                     Shared library: [libboost_filesystem.so.1.67.0]
 0x00000001 (NEEDED)                     Shared library: [libboost_system.so.1.67.0]
 0x00000001 (NEEDED)                     Shared library: [libboost_regex.so.1.67.0]

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/boost/Config.in

index f989a7448b4e519c38ab51e2f9564d3faa52c707..d0c759a122015b1c813219e022bca97c832a8f31 100644 (file)
@@ -200,6 +200,13 @@ config BR2_PACKAGE_BOOST_LOG
        # for some reason, uClibc on PowerPC fails to build the boost
        # log module
        depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
+       select BR2_PACKAGE_BOOST_ATOMIC
+       select BR2_PACKAGE_BOOST_CHRONO
+       select BR2_PACKAGE_BOOST_DATE_TIME
+       select BR2_PACKAGE_BOOST_FILESYSTEM
+       select BR2_PACKAGE_BOOST_REGEX
+       select BR2_PACKAGE_BOOST_SYSTEM
+       select BR2_PACKAGE_BOOST_THREAD
        help
          Logging library.