Add Package for chacond, sprinklerd and libubus-cpp

TG-12
This commit is contained in:
2017-04-21 23:23:51 +02:00
parent 9ca23cf5b5
commit 518493d848
6 changed files with 87 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_SPRINKLERD
bool "sprinklerd"
select BR2_PACKAGE_LIBUBUS_CPP
select BR2_PACKAGE_JSON_C
default n
help
This program manage the sprinklers of the domo project.

View File

@@ -0,0 +1,21 @@
################################################################################
#
# SPRINKLERD
#
################################################################################
SPRINKLERD_VERSION:= 1.0
SPRINKLERD_SITE = $(TOPDIR)/../../src/prog/sprinklerd/builders/cmake
SPRINKLERD_SITE_METHOD = local
SPRINKLERD_INSTALL_STAGING = YES
SPRINKLERD_DEPENDENCIES = libubus-cpp json-c
SPRINKLERD_CONF = SRC_DIR=$(TOPDIR)/../..
SPRINKLERD_CONF_ENV = $(SPRINKLERD_CONF)
SPRINKLERD_MAKE_ENV = $(SPRINKLERD_CONF)
SPRINKLERD_CONF_OPTS += -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
$(eval $(cmake-package))