2854c31ace
- change download url to https - update license file hash (uhttpd.h - license unrelated source code changes only) Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
36 lines
882 B
Makefile
36 lines
882 B
Makefile
################################################################################
|
|
#
|
|
# uhttpd
|
|
#
|
|
################################################################################
|
|
|
|
UHTTPD_VERSION = f53a63999784bcb7dc513e221f3f25dd3de2f35e
|
|
UHTTPD_SITE = https://git.openwrt.org/project/uhttpd.git
|
|
UHTTPD_SITE_METHOD = git
|
|
UHTTPD_LICENSE = ISC
|
|
UHTTPD_LICENSE_FILES = uhttpd.h
|
|
UHTTPD_DEPENDENCIES = libubox json-c
|
|
|
|
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
|
|
UHTTPD_DEPENDENCIES += lua
|
|
UHTTPD_CONF_OPTS += -DLUA_SUPPORT=ON
|
|
else
|
|
UHTTPD_CONF_OPTS += -DLUA_SUPPORT=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_USTREAM_SSL),y)
|
|
UHTTPD_DEPENDENCIES += ustream-ssl
|
|
UHTTPD_CONF_OPTS += -DTLS_SUPPORT=ON
|
|
else
|
|
UHTTPD_CONF_OPTS += -DTLS_SUPPORT=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_UBUS),y)
|
|
UHTTPD_DEPENDENCIES += ubus
|
|
UHTTPD_CONF_OPTS += -DUBUS_SUPPORT=ON
|
|
else
|
|
UHTTPD_CONF_OPTS += -DUBUS_SUPPORT=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|