Add domod.
This commit is contained in:
@@ -45,6 +45,9 @@ source "$BR2_EXTERNAL_DOMO_PATH/package/chacond/Config.in"
|
||||
# SPRINKLERD
|
||||
source "$BR2_EXTERNAL_DOMO_PATH/package/sprinklerd/Config.in"
|
||||
|
||||
# DOMOD
|
||||
source "$BR2_EXTERNAL_DOMO_PATH/package/domod/Config.in"
|
||||
|
||||
endmenu # Programmes
|
||||
|
||||
endmenu # Domo
|
||||
|
||||
7
bsp/buildroot_external/package/domod/Config.in
Normal file
7
bsp/buildroot_external/package/domod/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_DOMOD
|
||||
bool "domod"
|
||||
select BR2_PACKAGE_LIBUBUS_CPP
|
||||
select BR2_PACKAGE_JSONCPP
|
||||
default n
|
||||
help
|
||||
This program is the main domo daemon.
|
||||
21
bsp/buildroot_external/package/domod/domod.mk
Normal file
21
bsp/buildroot_external/package/domod/domod.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# DOMOD
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DOMOD_VERSION:= 1.0
|
||||
|
||||
DOMOD_SITE = $(TOPDIR)/../../src/prog/domod/builders/cmake
|
||||
DOMOD_SITE_METHOD = local
|
||||
DOMOD_INSTALL_STAGING = YES
|
||||
|
||||
DOMOD_DEPENDENCIES = libubus-cpp jsoncpp
|
||||
|
||||
DOMOD_CONF = SRC_DIR=$(TOPDIR)/../..
|
||||
|
||||
DOMOD_CONF_ENV = $(DOMOD_CONF)
|
||||
DOMOD_MAKE_ENV = $(DOMOD_CONF)
|
||||
DOMOD_CONF_OPTS += -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user