summaryrefslogtreecommitdiffstats
path: root/package/nginx/nginx.mk
diff options
context:
space:
mode:
authorBimal Jacob <Bimal.Jacob@rockwellcollins.com>2016-07-14 22:10:17 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-15 22:22:39 +0200
commite103967d6fd7653464041c3589b11a64e48b58c3 (patch)
treeb01da331e253f633f810f10ccf11d79fad544a22 /package/nginx/nginx.mk
parent51925b7dd6d0cebaabb38389e3120476af0a500d (diff)
downloadbuildroot-e103967d6fd7653464041c3589b11a64e48b58c3.tar.gz
buildroot-e103967d6fd7653464041c3589b11a64e48b58c3.zip
nginx-upload: new package
A module for nginx web server for handling file uploads using multipart/form-data encoding (RFC 1867). Signed-off-by: Bimal Jacob <bimal.jacob@rockwellcollins.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> [Thomas: - rename from nginx-upload-module to nginx-upload. Indeed, we don't want all nginx modules to be suffixed with "-module" - include the module Config.in file directly from package/Config.in, like we do for Python, Perl, Lua or TCL modules.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nginx/nginx.mk')
-rw-r--r--package/nginx/nginx.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/nginx/nginx.mk b/package/nginx/nginx.mk
index 5eb5488bd9..018d0f884f 100644
--- a/package/nginx/nginx.mk
+++ b/package/nginx/nginx.mk
@@ -234,6 +234,12 @@ NGINX_CONF_OPTS += \
endif # BR2_PACKAGE_NGINX_STREAM
+# external modules
+ifeq ($(BR2_PACKAGE_NGINX_UPLOAD),y)
+NGINX_CONF_OPTS += $(addprefix --add-module=,$(NGINX_UPLOAD_DIR))
+NGINX_DEPENDENCIES += nginx-upload
+endif
+
# Debug logging
NGINX_CONF_OPTS += $(if $(BR2_PACKAGE_NGINX_DEBUG),--with-debug)
OpenPOWER on IntegriCloud