summaryrefslogtreecommitdiffstats
path: root/package/monkey/Config.in
diff options
context:
space:
mode:
authorMorgan Delestre <m.delestre@sinters.fr>2015-06-29 09:02:43 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-30 12:13:47 +0200
commit372113ff935ca0fba607c5455dbadd5f410efa24 (patch)
tree896ac550624fee445edd4a6bab2b461634b560cd /package/monkey/Config.in
parent41282cbdd62dd1299be50428e436e96c45f916eb (diff)
downloadbuildroot-372113ff935ca0fba607c5455dbadd5f410efa24.tar.gz
buildroot-372113ff935ca0fba607c5455dbadd5f410efa24.zip
monkey: new package
Monkey is a small, fast and lightweight open source Web Server for GNU/Linux. It has been designed with focus in embedded devices, therefore its scalable by nature having a low memory and CPU consumption and an excellent performance. [Thomas: - Add missing dependency on !BR2_STATIC_LIBS (the source code uses dlopen) and BR2_USE_MMU (the source code uses fork) - Slightly adjust/reword the description of the BR2_PACKAGE_MONKEY_SHARED option. - Remove all the complicated installation logic for the target, and just use "make install" instead. - Pass --no-backtrace when uClibc is used, otherwise the build fails because <execinfo.h> is not available in uClibc. - Pass $(TARGET_CONFIGURE_OPTS) in the environment of the configure script., otherwise monkey gets built for the host and not for the target. - Add a post install target hook to remove a broken symlink libmonkey.so installed by Monkey's Makefile when the shared library is not enabled. - Use TARGET_MAKE_ENV when calling make, just because we should. - Pass --malloc-libc so that the libc malloc() is used instead of the builtin jemalloc allocator, which requires more work to cross-compile properly. - Add missing empty line after the .mk header and before the first variable definition.] Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/monkey/Config.in')
-rw-r--r--package/monkey/Config.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/monkey/Config.in b/package/monkey/Config.in
new file mode 100644
index 0000000000..001c415351
--- /dev/null
+++ b/package/monkey/Config.in
@@ -0,0 +1,23 @@
+config BR2_PACKAGE_MONKEY
+ bool "monkey"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_STATIC_LIBS # dlopen()
+ depends on BR2_USE_MMU # fork()
+ help
+ Monkey Server is a fast and lightweight web server for Linux platforms.
+
+ http://monkey-project.com/
+
+if BR2_PACKAGE_MONKEY
+
+config BR2_PACKAGE_MONKEY_SHARED
+ bool "install shared library"
+ help
+ Build Monkey as a shared library in addition to stand-alone
+ server
+
+endif
+
+comment "monkey needs an toolchain w/ threads, dynamic library"
+ depends on BR2_USE_MMU
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
OpenPOWER on IntegriCloud