summaryrefslogtreecommitdiffstats
path: root/src/civetweb/contrib/buildroot/Config.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/civetweb/contrib/buildroot/Config.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/civetweb/contrib/buildroot/Config.in b/src/civetweb/contrib/buildroot/Config.in
new file mode 100644
index 000000000..2334fdfe8
--- /dev/null
+++ b/src/civetweb/contrib/buildroot/Config.in
@@ -0,0 +1,26 @@
+config BR2_PACKAGE_CIVETWEB
+ bool "civetweb"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ help
+ Full featured embedded web server with Lua support.
+
+ https://sourceforge.net/projects/civetweb
+
+if BR2_PACKAGE_CIVETWEB
+
+config BR2_CIVETWEB_WITH_LUA
+ bool "enable Lua support"
+ # required by the bundled Sqlite3 and Lua code
+ depends on BR2_LARGEFILE
+ help
+ Enable Lua support in Civetweb. Note that this will use a
+ version of Lua and Sqlite bundled within the Civetweb
+ sources, and not the packages from Buildroot.
+
+comment "Lua support requires largefile support in toolchain"
+ depends on !BR2_LARGEFILE
+
+endif
+
+comment "civetweb requires a toolchain with PTHREAD support"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS