Adde receipe
This commit is contained in:
15
bsp/buildroot_external/package/procd/Config.in
Normal file
15
bsp/buildroot_external/package/procd/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_PROCD
|
||||
bool "procd"
|
||||
select BR2_PACKAGE_UBOX
|
||||
select BR2_PACKAGE_UBUS
|
||||
select BR2_PACKAGE_JSON_C
|
||||
default n
|
||||
help
|
||||
This program manage process.
|
||||
|
||||
config BR2_PACKAGE_PROCD_DISABLE_INIT
|
||||
depends on BR2_PACKAGE_PROCD
|
||||
bool "Disable the init part of procd"
|
||||
default n
|
||||
help
|
||||
Disable the init part of procd
|
||||
25
bsp/buildroot_external/package/procd/procd.mk
Normal file
25
bsp/buildroot_external/package/procd/procd.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# PROCD
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PROCD_VERSION:= 2016.07.29
|
||||
|
||||
PROCD_SITE = $(TOPDIR)/../../../AwoxAudio/Products/External/procd/builders/cmake
|
||||
PROCD_SITE_METHOD = local
|
||||
PROCD_INSTALL_STAGING = YES
|
||||
|
||||
PROCD_DEPENDENCIES = libubox-aw libubus json-c
|
||||
|
||||
CONF = AWOXCVS=$(TOPDIR)/../../../
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PROCD_DISABLE_INIT),y)
|
||||
PROCD_CONF_OPTS += -DDISABLE_INIT=ON
|
||||
endif
|
||||
|
||||
PROCD_CONF_ENV = $(CONF)
|
||||
PROCD_MAKE_ENV = $(CONF)
|
||||
PROCD_CONF_OPTS += -DMODULE_PATH=$(TOPDIR)/../../cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user