Config.in 1.1 KB

123456789101112131415161718192021222324252627282930
  1. # from src/mongo/platform/bits.h
  2. config BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
  3. bool
  4. # ARM needs LDREX/STREX, so ARMv6+
  5. default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
  6. default y if BR2_aarch64 || BR2_i386 || BR2_powerpc64 || BR2_x86_64
  7. config BR2_PACKAGE_MONGODB
  8. bool "mongodb"
  9. depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
  10. depends on BR2_TOOLCHAIN_USES_GLIBC # needs glibc malloc_usable_size
  11. depends on BR2_USE_WCHAR
  12. depends on BR2_TOOLCHAIN_HAS_THREADS
  13. depends on BR2_INSTALL_LIBSTDCPP
  14. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
  15. help
  16. MongoDB is a cross-platform document-oriented database
  17. (NoSQL).
  18. It uses JSON-like documents with dynamic schemas (BSON),
  19. making the integration of data in certain types of
  20. applications easier and faster.
  21. https://www.mongodb.org/
  22. comment "mongodb needs a glibc toolchain w/ wchar, threads, C++, gcc >= 4.8"
  23. depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
  24. !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC || \
  25. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  26. depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS