Add new packages: libcivetweb-cpp & restd.
This commit is contained in:
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