fb69520-integrate-system-state-framework (#70)

system-state-framework: added recipes for the broker, extmod and
sysstate parts.

move include files to ${STAGING_KERNEL_BUILDDIR}/include/broker/

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>

Co-authored-by: Ramon Moesching <ramon.moesching@netmodule.com>
Reviewed-on: https://git.netmodule.intranet/yoctoproject/meta-netmodule-bsp/pulls/70
This commit is contained in:
Lucien Müller 2021-01-15 14:14:01 +01:00 committed by Ramon Mösching
parent 52f1381685
commit 1ae49c5df8
4 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# Copyright (C) 2021 Netmodule AG
DESCRIPTION = "implements a publish/subscribe broker for the various system state topics"
HOMEPAGE = "http://www.netmodule.com/"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
inherit module
PV = "1.0.0"
SRCREV ?= "${AUTOREV}"
SRC_URI = "git://gitlab.com/netmodule/kernel/ssc-broker-driver.git;protocol=ssh;user=git;branch=develop"
do_install_append () {
install -d ${STAGING_KERNEL_BUILDDIR}/include/broker
install -m 0644 ${S}/broker.h ${STAGING_KERNEL_BUILDDIR}/include/broker/broker.h
install -m 0644 ${S}/worker.h ${STAGING_KERNEL_BUILDDIR}/include/broker/worker.h
}
S = "${WORKDIR}/git"

View File

@ -0,0 +1,22 @@
# Copyright (C) 2021 Netmodule AG
DESCRIPTION = "implements a publish/subscribe broker for the various system state topics"
HOMEPAGE = "http://www.netmodule.com/"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
DEPENDS_${PN} = "ssc-broker-driver"
RDEPENDS_${PN} = "ssc-broker-driver"
inherit module
PV = "1.0.0"
SRCREV ?= "${AUTOREV}"
EXTRA_OEMAKE += "-I${STAGING_KERNEL_BUILDDIR}/include/broker/"
SRC_URI = " \
git://gitlab.com/netmodule/tools/ssc-extmod-driver.git;protocol=ssh;user=git;branch=develop \
"
S = "${WORKDIR}/git"

View File

@ -0,0 +1,22 @@
# Copyright (C) 2021 Netmodule AG
DESCRIPTION = "implements a publish/subscribe broker for the various system state topics"
HOMEPAGE = "http://www.netmodule.com/"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
DEPENDS_${PN} = "ssc-broker-driver"
RDEPENDS_${PN} = "ssc-broker-driver"
inherit module
PV = "1.0.0"
SRCREV ?= "${AUTOREV}"
EXTRA_OEMAKE += "-I${STAGING_KERNEL_BUILDDIR}/include/broker/"
SRC_URI = "\
git://gitlab.com/netmodule/kernel/ssc-sysstate-driver.git;protocol=ssh;user=git;branch=develop \
"
S = "${WORKDIR}/git"

View File

@ -0,0 +1,15 @@
# Copyright (C) 2021 Netmodule AG
DESCRIPTION = "implements a publish/subscribe broker for the various system state topics"
HOMEPAGE = "http://www.netmodule.com/"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
inherit packagegroup
PROVIDES = "${PN}"
RDEPENDS_${PN} = " \
ssc-broker-driver \
ssc-sysstate-driver \
ssc-extmod-driver \
"