diff options
author | Sergio Prado <sergio.prado@e-labworks.com> | 2015-12-13 10:40:38 -0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-01-01 18:33:22 +0100 |
commit | 22b916c6f1259085fa3800fb64e63a782724d69f (patch) | |
tree | 2e1c7a9251cb04491f353abd93845b44a9ccfdc2 /package/mongodb/Config.in | |
parent | e097b36d345186b5fd1ad99c122ec889fdd6c665 (diff) | |
download | buildroot-22b916c6f1259085fa3800fb64e63a782724d69f.tar.gz buildroot-22b916c6f1259085fa3800fb64e63a782724d69f.zip |
mongodb: new package
Compiled and tested on arm (beaglebone black), aarch64 (qemu),
i386 (qemu) and x86_64 (qemu).
[Peter: limit to supported archs, disable -Werror]
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/mongodb/Config.in')
-rw-r--r-- | package/mongodb/Config.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/mongodb/Config.in b/package/mongodb/Config.in new file mode 100644 index 0000000000..7665c86483 --- /dev/null +++ b/package/mongodb/Config.in @@ -0,0 +1,28 @@ +# from src/mongo/platform/bits.h +config BR2_PACKAGE_MONGODB_ARCH_SUPPORTS + bool + default y if BR2_aarch64 || BR2_arm || \ + BR2_i386 || BR2_powerpc64 || BR2_x86_64 + +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 + MongoDB is a cross-platform document-oriented database (NoSQL). + + It uses JSON-like documents with dynamic schemas (BSON), making + the integration of data in certain types of applications easier + and faster. + + https://www.mongodb.org/ + +comment "mongodb needs a (e)glibc toolchain w/ wchar, threads, C++, gcc >= 4.8" + 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 |