2015-12-13 13:40:38 +01:00
|
|
|
# from src/mongo/platform/bits.h
|
|
|
|
config BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
|
|
|
|
bool
|
2016-01-04 16:50:23 +01:00
|
|
|
# ARM needs LDREX/STREX, so ARMv6+
|
|
|
|
default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
|
|
|
|
default y if BR2_aarch64 || BR2_i386 || BR2_powerpc64 || BR2_x86_64
|
2015-12-13 13:40:38 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MONGODB
|
|
|
|
bool "mongodb"
|
|
|
|
depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
|
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC # needs glibc malloc_usable_size
|
|
|
|
depends on BR2_USE_WCHAR
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
|
|
|
help
|
2017-12-18 09:21:05 +01:00
|
|
|
MongoDB is a cross-platform document-oriented database
|
|
|
|
(NoSQL).
|
2015-12-13 13:40:38 +01:00
|
|
|
|
2017-12-18 09:21:05 +01:00
|
|
|
It uses JSON-like documents with dynamic schemas (BSON),
|
|
|
|
making the integration of data in certain types of
|
|
|
|
applications easier and faster.
|
2015-12-13 13:40:38 +01:00
|
|
|
|
|
|
|
https://www.mongodb.org/
|
|
|
|
|
2016-06-08 23:40:54 +02:00
|
|
|
comment "mongodb needs a glibc toolchain w/ wchar, threads, C++, gcc >= 4.8"
|
2015-12-13 13:40:38 +01:00
|
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
|
|
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC || \
|
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|
|
|
depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
|