mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
package/nginx: add thread pool support
Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
621ec32677
commit
2748bc6b65
@ -18,6 +18,13 @@ config BR2_PACKAGE_NGINX_FILE_AIO
|
|||||||
depends on !BR2_aarch64
|
depends on !BR2_aarch64
|
||||||
depends on !BR2_arc
|
depends on !BR2_arc
|
||||||
|
|
||||||
|
config BR2_PACKAGE_NGINX_THREADS
|
||||||
|
bool "thread pool support"
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|
||||||
|
comment "thread pool support needs a toolchain w/ threads"
|
||||||
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|
||||||
config BR2_PACKAGE_NGINX_HTTP
|
config BR2_PACKAGE_NGINX_HTTP
|
||||||
bool "http server"
|
bool "http server"
|
||||||
default y
|
default y
|
||||||
|
@ -64,7 +64,8 @@ NGINX_CONF_OPTS += \
|
|||||||
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi
|
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi
|
||||||
|
|
||||||
NGINX_CONF_OPTS += \
|
NGINX_CONF_OPTS += \
|
||||||
$(if $(BR2_PACKAGE_NGINX_FILE_AIO),--with-file-aio)
|
$(if $(BR2_PACKAGE_NGINX_FILE_AIO),--with-file-aio) \
|
||||||
|
$(if $(BR2_PACKAGE_NGINX_THREADS),--with-threads)
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_PCRE),y)
|
ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||||
NGINX_DEPENDENCIES += pcre
|
NGINX_DEPENDENCIES += pcre
|
||||||
|
Loading…
x
Reference in New Issue
Block a user