From 1cd6f8c6a86baae99a9cc33c067ebcbe4647faeb Mon Sep 17 00:00:00 2001 From: Riku Nomoto Date: Thu, 26 Nov 2020 23:12:55 +0900 Subject: oem-pr-bs: add backup mng and mem access libs This is the sixth commit of agl-basesystem. Service backup manager and non-volatile memory access library v12 (jsmoeller): fix build of multiple packages v18 (nomoto): change mail address and author v23 (nomoto): make hal recipes inherit bshalmake Bug-AGL: SPEC-3670 Signed-off-by: Riku Nomoto Change-Id: I64497d80424c136da75e13132bc192f70cba6fac --- .../recipes-hal/libnv-hal/libnv-hal_1.0.0.bb | 17 +++++++++++++ .../packagegroup-agl-basesystem-hal.bb | 1 + .../packagegroup-agl-basesystem-service.bb | 2 ++ .../ns-memorygpioaccesslibrary_1.0.0.bb | 16 ++++++++++++ .../ns-backupmanager/ns-backupmanager_1.0.0.bb | 29 ++++++++++++++++++++++ .../ss-romaccesslibrary_1.0.0.bb | 28 +++++++++++++++++++++ 6 files changed, 93 insertions(+) create mode 100644 meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libnv-hal/libnv-hal_1.0.0.bb create mode 100644 meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/ns-memorygpioaccesslibrary/ns-memorygpioaccesslibrary_1.0.0.bb create mode 100644 meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-backupmanager/ns-backupmanager_1.0.0.bb create mode 100644 meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-romaccesslibrary/ss-romaccesslibrary_1.0.0.bb diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libnv-hal/libnv-hal_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libnv-hal/libnv-hal_1.0.0.bb new file mode 100644 index 00000000..43636baa --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libnv-hal/libnv-hal_1.0.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "libnv_hal for AGL software" +DESCRIPTION = "install libnv_hal to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " ns-frameworkunified" + +PV = "1.0.0+gitr${SRCPV}" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/basesystem.git;protocol=https;branch=${AGL_BRANCH}" +SRCREV := "${BASESYSTEM_REVISION}" + +S = "${WORKDIR}/git/hal/nv_hal" + +inherit bshalmake + +HAL_NAME = "nv_hal" +FILES_${PN} += "${libdir}/lib${HAL_NAME}.so" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-hal.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-hal.bb index 3d043f88..34c38903 100644 --- a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-hal.bb +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-hal.bb @@ -18,4 +18,5 @@ RDEPENDS_${PN} += " \ libusb-hal \ libvehicle-hal \ libvideo-in-hal \ + libnv-hal \ " diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-service.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-service.bb index a7cf249c..3c66bdc5 100644 --- a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-service.bb +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-service.bb @@ -15,4 +15,6 @@ RDEPENDS_${PN} += " \ os-rpclibrary \ os-eventlibrary \ ps-communication \ + ns-backupmanager \ + ss-romaccesslibrary \ " diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/ns-memorygpioaccesslibrary/ns-memorygpioaccesslibrary_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/ns-memorygpioaccesslibrary/ns-memorygpioaccesslibrary_1.0.0.bb new file mode 100644 index 00000000..e9fdd8ba --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/ns-memorygpioaccesslibrary/ns-memorygpioaccesslibrary_1.0.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "ns-memorygpioaccesslibrary for AGL software" +DESCRIPTION = "ns-memorygpioaccesslibrary to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +PV = "1.0.0+gitr${SRCPV}" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/basesystem.git;protocol=https;branch=${AGL_BRANCH}" +SRCREV := "${BASESYSTEM_REVISION}" + +S = "${WORKDIR}/git/stub/memory_gpio_access_library" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile" + +FILES_${PN} += "${libdir}/*" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-backupmanager/ns-backupmanager_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-backupmanager/ns-backupmanager_1.0.0.bb new file mode 100644 index 00000000..06dadcd8 --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-backupmanager/ns-backupmanager_1.0.0.bb @@ -0,0 +1,29 @@ +SUMMARY = "ns-backupmanager for AGL software" +DESCRIPTION = "ns-backupmanager to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + libxml2-native \ + ns-frameworkunified \ + libnv-hal \ +" + +PV = "1.0.0+gitr${SRCPV}" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/basesystem.git;protocol=https;branch=${AGL_BRANCH}" +SRCREV := "${BASESYSTEM_REVISION}" + +S = "${WORKDIR}/git/service/native/backup_manager" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.client" + +FILES_${PN} += " \ + ${libdir}/* \ +" + +RDEPENDS_${PN} += " \ + ns-frameworkunified \ + libnv-hal \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-romaccesslibrary/ss-romaccesslibrary_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-romaccesslibrary/ss-romaccesslibrary_1.0.0.bb new file mode 100644 index 00000000..1ac2a033 --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-romaccesslibrary/ss-romaccesslibrary_1.0.0.bb @@ -0,0 +1,28 @@ +SUMMARY = "ss-romaccesslibrary for AGL software" +DESCRIPTION = "ss-romaccesslibrary to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + ns-frameworkunified \ + ns-commonlibrary \ + ns-memorygpioaccesslibrary \ +" + +PV = "1.0.0+gitr${SRCPV}" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/basesystem.git;protocol=https;branch=${AGL_BRANCH}" +SRCREV := "${BASESYSTEM_REVISION}" + +S = "${WORKDIR}/git/service/system/rom_access_library" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.client" + +FILES_${PN} += "${libdir}/*" + +RDEPENDS_${PN} += " \ + ns-frameworkunified \ + ns-commonlibrary \ + ns-memorygpioaccesslibrary \ +" -- cgit 1.2.3-korg