Add new packages: libcivetweb-cpp & restd.
This commit is contained in:
5
bsp/buildroot_external/package/libcivetweb-cpp/Config.in
Normal file
5
bsp/buildroot_external/package/libcivetweb-cpp/Config.in
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
config BR2_PACKAGE_LIBCIVETWEB_CPP
|
||||||
|
bool "libcivetweb-cpp"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Provide a C++ http/websocket library.
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# LIBCIVETWEB_CPP
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
LIBCIVETWEB_CPP_VERSION:= 1.8
|
||||||
|
|
||||||
|
LIBCIVETWEB_CPP_SITE = $(TOPDIR)/../../src/3P/civetweb/builders/cmake
|
||||||
|
LIBCIVETWEB_CPP_SITE_METHOD = local
|
||||||
|
LIBCIVETWEB_CPP_INSTALL_STAGING = YES
|
||||||
|
|
||||||
|
LIBCIVETWEB_CPP_CONF = SRC_DIR=$(TOPDIR)/../..
|
||||||
|
|
||||||
|
LIBCIVETWEB_CPP_CONF_ENV = $(LIBCIVETWEB_CPP_CONF)
|
||||||
|
LIBCIVETWEB_CPP_MAKE_ENV = $(LIBCIVETWEB_CPP_CONF)
|
||||||
|
LIBCIVETWEB_CPP_CONF_OPTS += -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
|
||||||
|
|
||||||
|
$(eval $(cmake-package))
|
||||||
6
bsp/buildroot_external/package/restd/Config.in
Normal file
6
bsp/buildroot_external/package/restd/Config.in
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
config BR2_PACKAGE_RESTD
|
||||||
|
select BR2_PACKAGE_LIBCIVETWEB_CPP
|
||||||
|
bool "restd"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
This program manage expose the restd.
|
||||||
21
bsp/buildroot_external/package/restd/restd.mk
Normal file
21
bsp/buildroot_external/package/restd/restd.mk
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# RESTD
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
RESTD_VERSION:= 1.0
|
||||||
|
|
||||||
|
RESTD_SITE = $(TOPDIR)/../../src/prog/restd/builders/cmake
|
||||||
|
RESTD_SITE_METHOD = local
|
||||||
|
RESTD_INSTALL_STAGING = YES
|
||||||
|
|
||||||
|
RESTD_DEPENDENCIES = libcivetweb-cpp
|
||||||
|
|
||||||
|
RESTD_CONF = SRC_DIR=$(TOPDIR)/../..
|
||||||
|
|
||||||
|
RESTD_CONF_ENV = $(CHACOND_CONF)
|
||||||
|
RESTD_MAKE_ENV = $(CHACOND_CONF)
|
||||||
|
RESTD_CONF_OPTS += -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
|
||||||
|
|
||||||
|
$(eval $(cmake-package))
|
||||||
Reference in New Issue
Block a user