summaryrefslogtreecommitdiffstats
path: root/meta-agl-core/recipes-graphics/rba/rba-config.bb
diff options
context:
space:
mode:
authorAnusha Gugale <external.agogale@jp.adit-jv.com>2020-12-17 12:57:48 +0530
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-01-12 20:41:47 +0000
commite0413d70c66c98e5ec7fa30893b3ecd6b5141ff4 (patch)
treef4e68acb21fddd29daea9232b432b13c466b38e2 /meta-agl-core/recipes-graphics/rba/rba-config.bb
parent8395c5513a6fd133d47a92f88f92ebeacf8183e5 (diff)
meta-agl-core: add recipe for librba and rba-config
- Required for agl-compositor rba policy - RBAModel.json will be install using rba-config recipe file Bug-AGL: SPEC-3738 Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com> Change-Id: I05244dcceb8f0ba56865ce1edf1563b90bdfbae3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25821 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-core/recipes-graphics/rba/rba-config.bb')
-rw-r--r--meta-agl-core/recipes-graphics/rba/rba-config.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-agl-core/recipes-graphics/rba/rba-config.bb b/meta-agl-core/recipes-graphics/rba/rba-config.bb
new file mode 100644
index 000000000..17b7a6708
--- /dev/null
+++ b/meta-agl-core/recipes-graphics/rba/rba-config.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Rule Based Arbitrator Model required for RBA policy compositor."
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+
+SRC_URI = "file://RBAModel.json"
+
+S = "${WORKDIR}"
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+do_install_append() {
+ install -d ${D}/${sysconfdir}/rba
+ install -m 0644 ${WORKDIR}/RBAModel.json ${D}/${sysconfdir}/rba
+}