dde8a76100
Signed-off-by: Rahul Bedarkar <Rahul.Bedarkar@imgtec.com> Signed-off-by: Neha Bairathi <Neha.Bairathi@imgtec.com> Signed-off-by: Abhishek Singh <Abhishek.Singh@imgtec.com> Signed-off-by: Rahul Jain <Rahul.Jain@imgtec.com> [Thomas: remove luajit support, as it doesn't build.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
36 lines
881 B
Makefile
36 lines
881 B
Makefile
################################################################################
|
|
#
|
|
# uhttpd
|
|
#
|
|
################################################################################
|
|
|
|
UHTTPD_VERSION = 59e0c739634f46a164d939e54416287b91ff8a9b
|
|
UHTTPD_SITE = http://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))
|