summaryrefslogtreecommitdiff
path: root/package/uhttpd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-07-19 06:59:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-07-19 06:59:47 +0000
commit9c606eb4c599445870a9603026d4c9d52c64ed9f (patch)
tree7840b8ec555e2e3aaafb44bcdd3b00fd24c0531d /package/uhttpd
parent80ae98d6048606293dbf2734ad3bcf711e051a6f (diff)
downloadmtk-20170518-9c606eb4c599445870a9603026d4c9d52c64ed9f.zip
mtk-20170518-9c606eb4c599445870a9603026d4c9d52c64ed9f.tar.gz
mtk-20170518-9c606eb4c599445870a9603026d4c9d52c64ed9f.tar.bz2
uhttpd: pass feature flags (#9742)
SVN-Revision: 27689
Diffstat (limited to 'package/uhttpd')
-rw-r--r--package/uhttpd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/uhttpd/Makefile b/package/uhttpd/Makefile
index d5dbd0e..17823ad 100644
--- a/package/uhttpd/Makefile
+++ b/package/uhttpd/Makefile
@@ -12,6 +12,8 @@ PKG_RELEASE:=24
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_CONFIG_DEPENDS := \
+ CONFIG_PACKAGE_uhttpd-mod-lua \
+ CONFIG_PACKAGE_uhttpd-mod-tls \
CONFIG_PACKAGE_uhttpd-mod-tls_cyassl \
CONFIG_PACKAGE_uhttpd-mod-tls_openssl
@@ -86,7 +88,11 @@ endef
TARGET_CFLAGS += $(TLS_CFLAGS)
-MAKE_VARS += FPIC="$(FPIC)" UHTTPD_TLS="$(UHTTPD_TLS)"
+MAKE_VARS += \
+ FPIC="$(FPIC)" \
+ LUA_SUPPORT="$(if $(CONFIG_PACKAGE_uhttpd-mod-lua),1)" \
+ TLS_SUPPORT="$(if $(CONFIG_PACKAGE_uhttpd-mod-tls),1)" \
+ UHTTPD_TLS="$(UHTTPD_TLS)"
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)