Config.in 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. comment "boost needs a toolchain w/ C++, threads, wchar"
  2. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
  3. config BR2_PACKAGE_BOOST_ARCH_SUPPORTS
  4. bool
  5. default y if !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 && \
  6. !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
  7. config BR2_PACKAGE_BOOST
  8. bool "boost"
  9. depends on BR2_INSTALL_LIBSTDCPP
  10. depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
  11. # Boost could theorically be built with threading=single, but
  12. # that unfortunately doesn't work. Until someone fixes that,
  13. # let's depend on threads.
  14. depends on BR2_TOOLCHAIN_HAS_THREADS
  15. depends on BR2_USE_WCHAR
  16. help
  17. A general purpose C++ library
  18. http://www.boost.org/
  19. if BR2_PACKAGE_BOOST
  20. choice
  21. prompt "Layout"
  22. default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
  23. help
  24. Selects the layout of Boost binary names
  25. config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
  26. bool "system"
  27. help
  28. Boost binary names do not include the Boost version number
  29. or the name and version number of the compiler.
  30. config BR2_PACKAGE_BOOST_LAYOUT_TAGGED
  31. bool "tagged"
  32. help
  33. Boost binary names include the encoded build properties such
  34. as variant and threading, but do not include compiler name
  35. and version, or Boost version. This option is useful if you
  36. build several variants of Boost, using the same compiler.
  37. config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED
  38. bool "versioned"
  39. help
  40. Boost binary names include the Boost version number, name
  41. and version of the compiler and encoded build properties.
  42. endchoice
  43. config BR2_PACKAGE_BOOST_LAYOUT
  44. string
  45. default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
  46. default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED
  47. default "versioned" if BR2_PACKAGE_BOOST_LAYOUT_VERSIONED
  48. config BR2_PACKAGE_BOOST_ATOMIC
  49. bool "boost-atomic"
  50. config BR2_PACKAGE_BOOST_CHRONO
  51. bool "boost-chrono"
  52. config BR2_PACKAGE_BOOST_CONTAINER
  53. bool "boost-container"
  54. config BR2_PACKAGE_BOOST_CONTEXT
  55. bool "boost-context"
  56. depends on (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel \
  57. || BR2_powerpc || BR2_sparc || BR2_x86_64)
  58. config BR2_PACKAGE_BOOST_DATE_TIME
  59. bool "boost-date_time"
  60. config BR2_PACKAGE_BOOST_EXCEPTION
  61. bool "boost-exception"
  62. config BR2_PACKAGE_BOOST_FILESYSTEM
  63. bool "boost-filesystem"
  64. config BR2_PACKAGE_BOOST_GRAPH
  65. bool "boost-graph"
  66. config BR2_PACKAGE_BOOST_GRAPH_PARALLEL
  67. bool "boost-graph_parallel"
  68. config BR2_PACKAGE_BOOST_IOSTREAMS
  69. bool "boost-iostreams"
  70. select BR2_PACKAGE_BZIP2
  71. select BR2_PACKAGE_ZLIB
  72. config BR2_PACKAGE_BOOST_LOCALE
  73. bool "boost-locale"
  74. config BR2_PACKAGE_BOOST_LOG
  75. bool "boost-log"
  76. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
  77. # for some reason, uClibc on PowerPC fails to build the boost
  78. # log module
  79. depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
  80. comment "boost-log needs a toolchain w/ NPTL"
  81. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
  82. depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
  83. config BR2_PACKAGE_BOOST_MATH
  84. bool "boost-math"
  85. config BR2_PACKAGE_BOOST_MPI
  86. bool "boost-mpi"
  87. config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
  88. bool "boost-program_options"
  89. config BR2_PACKAGE_BOOST_PYTHON
  90. depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
  91. bool "boost-python"
  92. config BR2_PACKAGE_BOOST_RANDOM
  93. bool "boost-random"
  94. config BR2_PACKAGE_BOOST_REGEX
  95. bool "boost-regex"
  96. config BR2_PACKAGE_BOOST_SERIALIZATION
  97. bool "boost-serialization"
  98. config BR2_PACKAGE_BOOST_SIGNALS
  99. bool "boost-signals"
  100. config BR2_PACKAGE_BOOST_SYSTEM
  101. bool "boost-system"
  102. config BR2_PACKAGE_BOOST_TEST
  103. bool "boost-test"
  104. depends on BR2_USE_MMU # fork()
  105. config BR2_PACKAGE_BOOST_THREAD
  106. bool "boost-thread"
  107. config BR2_PACKAGE_BOOST_TIMER
  108. bool "boost-timer"
  109. config BR2_PACKAGE_BOOST_WAVE
  110. bool "boost-wave"
  111. endif