oem-pr-bs: add positioning service 53/25653/35
authorRiku Nomoto <riku.nomoto@woven-planet.global>
Thu, 26 Nov 2020 14:14:33 +0000 (23:14 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sun, 24 Jan 2021 15:42:23 +0000 (15:42 +0000)
This is the eighth commit of agl-basesystem.
Sensor data (GPS, Gyro and etc.) handling

v12 (jsmoeller): fix build of multiple packages
v20 (nomoto): change mail address and author
v27 (nomoto): make hal recipes inherit bshalmake
v34 (nomoto): fix cid and FILES

Bug-AGL: SPEC-3670

Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I3c7e8d7be16777018b09815577764d95a8a00849

43 files changed:
meta-oem-production-readiness/meta-agl-basesystem/classes/bshalmake.bbclass
meta-oem-production-readiness/meta-agl-basesystem/classes/bsmake.bbclass
meta-oem-production-readiness/meta-agl-basesystem/conf/include/agl-basesystem-base.inc
meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ns-frameworkunified/ns-frameworkunified-library_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ns-frameworkunified/ns-frameworkunified_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-config/ss-config_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-resourcemanager/ss-resourcemanager_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-taskmanager/ss-taskmanager_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-core/vs-positioning/vs-positioning_1.0.0.bb [new file with mode: 0644]
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libboot-hal/libboot-hal_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libcan-hal/libcan-hal_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libclock-hal/libclock-hal_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libdeck-hal/libdeck-hal_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libinput-hal/libinput-hal_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libnv-hal/libnv-hal_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libpositioning-hal/libpositioning-hal_1.0.0.bb [new file with mode: 0644]
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libpower-hal/libpower-hal_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libsecurity-hal/libsecurity-hal_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libsoctemperature-hal/libsoctemperature-hal_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libusb-hal/libusb-hal_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libvehicle-hal/libvehicle-hal_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libvideo-in-hal/libvideo-in-hal_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-hal.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-service.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/ns-memorygpioaccesslibrary/ns-memorygpioaccesslibrary_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/ps-communicationsubcpu/ps-communicationsubcpu_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/ps-communicationusb/ps-communicationusb_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/vs-clock/vs-clock_1.0.0.bb [new file with mode: 0644]
meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/vs-diagcode/vs-diagcode_1.0.0.bb [new file with mode: 0644]
meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/vs-diagrecord/vs-diagrecord_1.0.0.bb [new file with mode: 0644]
meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/vs-vehicle/vs-vehicle_1.0.0.bb [new file with mode: 0644]
meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-backupmanager/ns-backupmanager_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-commonlibrary/ns-commonlibrary_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-loglibrary/ns-loglibrary_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-eventlibrary/os-eventlibrary_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-posixbasedos001legacylibrary/os-posixbasedos001legacylibrary_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-rpclibrary/os-rpclibrary_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-vehicleparameterlibrary/os-vehicleparameterlibrary_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ps-communication/ps-communication_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-interfaceunified/ss-interfaceunified_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-romaccesslibrary/ss-romaccesslibrary_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-versionlibrary/ss-versionlibrary_1.0.0.bb
meta-oem-production-readiness/meta-agl-basesystem/recipes-support/vs-positioningbaselibrary/vs-positioningbaselibrary_1.0.0.bb [new file with mode: 0644]

index 5f05dda..9faea95 100644 (file)
@@ -6,7 +6,8 @@ bshalmake_do_install (){
     install -D -m 644 ${S}/hal_api/*.h ${D}${includedir}/basesystem
 }
 
-EXPORT_FUNCTIONS do_install
-
-FILES_${PN}-dev_remove = "${FILES_SOLIBSDEV}"
+#BaseSystem's .so does not have multiple versions. Therefore, overwrite these variables.
+SOLIBS = ".so"
+FILES_SOLIBSDEV = ""
 
+EXPORT_FUNCTIONS do_install
index 6e5caba..c1079e2 100644 (file)
@@ -10,4 +10,8 @@ bsmake_do_install (){
     oe_runmake  -f ${BSMAKE_FILE} DESTDIR=${D} install
 }
 
+#BaseSystem's .so does not have multiple versions. Therefore, overwrite these variables.
+SOLIBS = ".so"
+FILES_SOLIBSDEV = ""
+
 EXPORT_FUNCTIONS do_compile do_install
index 2ae25ad..58087e1 100644 (file)
@@ -7,4 +7,4 @@ INCLUDEDIR = "${includedir}/basesystem"
 CONFDIR = "${sysconfdir}/basesystem"
 LOCALDIR = "/var/local/lib/basesystem"
 
-BASESYSTEM_REVISION = "71afcd09b0f210e7da5ae6adc1b914fa02d412ff"
+BASESYSTEM_REVISION = "326b7ba9dbf2762925551e7970836a2964107ec1"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/vs-positioning/vs-positioning_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/vs-positioning/vs-positioning_1.0.0.bb
new file mode 100644 (file)
index 0000000..38e3aaf
--- /dev/null
@@ -0,0 +1,28 @@
+SUMMARY = "vs-positioning for AGL software"
+DESCRIPTION = "vs-positioning to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+DEPENDS += " \
+    ns-frameworkunified \
+    os-vehicleparameterlibrary \
+    vs-positioningbaselibrary \
+    libpositioning-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/vehicle/positioning"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile.client"
+
+RDEPENDS_${PN} += " \
+    ns-frameworkunified \
+    os-vehicleparameterlibrary \
+    vs-positioningbaselibrary \
+    libpositioning-hal \
+"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libpositioning-hal/libpositioning-hal_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-hal/libpositioning-hal/libpositioning-hal_1.0.0.bb
new file mode 100644 (file)
index 0000000..f4955ba
--- /dev/null
@@ -0,0 +1,20 @@
+SUMMARY = "libpositioning_hal for AGL software"
+DESCRIPTION = "install libpositioning_hal to build AGL software"
+LICENSE     = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+DEPENDS += " \
+    ns-frameworkunified \
+    ns-backupmanager \
+    vs-positioningbaselibrary \
+"
+
+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/positioning_hal"
+
+inherit bshalmake
+
+HAL_NAME = "positioning_hal"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/vs-clock/vs-clock_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/vs-clock/vs-clock_1.0.0.bb
new file mode 100644 (file)
index 0000000..6c95ba3
--- /dev/null
@@ -0,0 +1,16 @@
+SUMMARY = "vs-clock for AGL software"
+DESCRIPTION = "vs-clock 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/stub/clock"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile.client"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/vs-diagcode/vs-diagcode_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/vs-diagcode/vs-diagcode_1.0.0.bb
new file mode 100644 (file)
index 0000000..8e3988a
--- /dev/null
@@ -0,0 +1,16 @@
+SUMMARY = "vs-diagcode for AGL software"
+DESCRIPTION = "vs-diagcode 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/stub/diag_code"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/vs-diagrecord/vs-diagrecord_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/vs-diagrecord/vs-diagrecord_1.0.0.bb
new file mode 100644 (file)
index 0000000..ebc6e46
--- /dev/null
@@ -0,0 +1,16 @@
+SUMMARY = "vs-diagrecord for AGL software"
+DESCRIPTION = "vs-diagrecord 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/stub/diag_record"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/vs-vehicle/vs-vehicle_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-stub/vs-vehicle/vs-vehicle_1.0.0.bb
new file mode 100644 (file)
index 0000000..dac71f9
--- /dev/null
@@ -0,0 +1,16 @@
+SUMMARY = "vs-vehicle for AGL software"
+DESCRIPTION = "vs-vehicle to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+DEPENDS += " ps-communication"
+
+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/vehicle"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/vs-positioningbaselibrary/vs-positioningbaselibrary_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/vs-positioningbaselibrary/vs-positioningbaselibrary_1.0.0.bb
new file mode 100644 (file)
index 0000000..d77d028
--- /dev/null
@@ -0,0 +1,26 @@
+SUMMARY = "vs-positioningbaselibrary for AGL software"
+DESCRIPTION = "vs-positioningbaselibrary to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+DEPENDS += " \
+    ns-frameworkunified \
+    os-eventlibrary \
+    os-vehicleparameterlibrary \
+"
+
+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/vehicle/positioning_base_library"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile.client"
+
+RDEPENDS_${PN} += " \
+    ns-frameworkunified \
+    os-eventlibrary \
+    os-vehicleparameterlibrary \
+"