aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oem-production-readiness
diff options
context:
space:
mode:
authorRiku Nomoto <riku.nomoto@woven-planet.global>2020-11-26 23:09:02 +0900
committerRiku Nomoto <riku.nomoto@woven-planet.global>2021-01-12 15:29:21 +0900
commita0197682c5b732a81aeb3c2459adfc8d45f969b1 (patch)
tree61caf0f6aa5369a6abe08857ce49c7012f48d57d /meta-oem-production-readiness
parentaf25a3b5a46c74124f1fb99e7157cc6aea879a5c (diff)
oem-pr-bs: add core services and libraries
This is the second commit of agl-basesystem. IPC/RPC library group binding each modules v14 (jsmoeller): update BASESYSTEM_REVISION to fix libinput-hal build v16 (jsmoeller): update BASESYSTEM_REVISION v17 (taniakwa): fix os-rpclibrary-tool-native build - fix invalid path to LICENSE to use devtool - fix error when rebuild (clean generated files first) v19 (nomoto): fix to set host only tool in class-native v20 (nomoto): update subpath, branch and S to make recipes simple v21 (nomoto): fix EXTRA_OEMAKE to set default value v25 (nomoto): change mail address and author v29 (nomoto): remove agl-basesystem-hal.bbclass Bug-AGL: SPEC-3670 Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global> Change-Id: I5da43003d8a976912d183474aea884ec1b81a708
Diffstat (limited to 'meta-oem-production-readiness')
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/classes/agl-basesystem-common.bbclass4
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/classes/agl-basesystem-hal.bbclass9
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/classes/bshalmake.bbclass6
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/conf/include/agl-basesystem-base.inc3
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/conf/layer.conf2
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-core/agl-basefiles/agl-basefiles_1.0.0.bb27
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ns-frameworkunified/ns-frameworkunified-library_1.0.0.bb30
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ns-frameworkunified/ns-frameworkunified_1.0.0.bb32
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/evklib-headers.bb24
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/images/agl-image-boot-basesystem.bb13
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-apis.bb5
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-core.bb7
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-hal.bb7
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-service.bb11
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem.bb8
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-commonlibrary/ns-commonlibrary_1.0.0.bb18
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-loglibrary/ns-loglibrary_1.0.0.bb18
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-eventlibrary/os-eventlibrary_1.0.0.bb25
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-posixbasedos001legacylibrary/os-posixbasedos001legacylibrary_1.0.0.bb18
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-rpclibrary/os-rpclibrary-tool_1.0.0.bb29
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-rpclibrary/os-rpclibrary_1.0.0.bb29
21 files changed, 285 insertions, 40 deletions
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/classes/agl-basesystem-common.bbclass b/meta-oem-production-readiness/meta-agl-basesystem/classes/agl-basesystem-common.bbclass
index f944de5b..fa6211b5 100644
--- a/meta-oem-production-readiness/meta-agl-basesystem/classes/agl-basesystem-common.bbclass
+++ b/meta-oem-production-readiness/meta-agl-basesystem/classes/agl-basesystem-common.bbclass
@@ -1,7 +1,3 @@
inherit bsmake
DEPENDS_append = " agl-basefiles"
-
-EXTRA_OEMAKE = "'CXX=${CXX} ${CODINGRULES_CPP_21MM}' 'CC=${CC} ${CODINGRULES_C_21MM}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'DESTDIR=${D}' 'SDKTARGETSYSROOT=${STAGING_DIR_HOST}'"
-
-RDEPENDS_${PN} += " agl-basefiles "
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/classes/agl-basesystem-hal.bbclass b/meta-oem-production-readiness/meta-agl-basesystem/classes/agl-basesystem-hal.bbclass
deleted file mode 100644
index 9db2f26a..00000000
--- a/meta-oem-production-readiness/meta-agl-basesystem/classes/agl-basesystem-hal.bbclass
+++ /dev/null
@@ -1,9 +0,0 @@
-inherit bshalmake
-
-FILES_${PN}-dev_remove = "${FILES_SOLIBSDEV}"
-
-EXTRA_OEMAKE = "'CXX=${CXX}' 'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'DESTDIR=${D}' 'SDKTARGETSYSROOT=${STAGING_DIR_HOST}'"
-
-DEPENDS_append = " agl-basefiles"
-
-
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/classes/bshalmake.bbclass b/meta-oem-production-readiness/meta-agl-basesystem/classes/bshalmake.bbclass
index 2deac96f..bd2fd9c1 100644
--- a/meta-oem-production-readiness/meta-agl-basesystem/classes/bshalmake.bbclass
+++ b/meta-oem-production-readiness/meta-agl-basesystem/classes/bshalmake.bbclass
@@ -1,10 +1,12 @@
# base_do_install under poky's base.bbclass is empty so definition is needed.
bshalmake_do_install (){
oe_runmake install
-
+
install -d ${D}${includedir}/basesystem
install -D -m 644 ${S}/hal_api/*.h ${D}${includedir}/basesystem
-
}
EXPORT_FUNCTIONS do_install
+
+FILES_${PN}-dev_remove = "${FILES_SOLIBSDEV}"
+
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/conf/include/agl-basesystem-base.inc b/meta-oem-production-readiness/meta-agl-basesystem/conf/include/agl-basesystem-base.inc
index 9ffd16ae..2ae25ad5 100644
--- a/meta-oem-production-readiness/meta-agl-basesystem/conf/include/agl-basesystem-base.inc
+++ b/meta-oem-production-readiness/meta-agl-basesystem/conf/include/agl-basesystem-base.inc
@@ -7,5 +7,4 @@ INCLUDEDIR = "${includedir}/basesystem"
CONFDIR = "${sysconfdir}/basesystem"
LOCALDIR = "/var/local/lib/basesystem"
-BASESYSTEM_REVISION = "7ab637d7f01e712488deab0d318443ed9a81d5ae"
-
+BASESYSTEM_REVISION = "71afcd09b0f210e7da5ae6adc1b914fa02d412ff"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/conf/layer.conf b/meta-oem-production-readiness/meta-agl-basesystem/conf/layer.conf
index 806408a5..811fd237 100644
--- a/meta-oem-production-readiness/meta-agl-basesystem/conf/layer.conf
+++ b/meta-oem-production-readiness/meta-agl-basesystem/conf/layer.conf
@@ -3,7 +3,7 @@ BBPATH .= ":${LAYERDIR}"
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
- ${LAYERDIR}/recipes-*/*/*.bbappend"
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "agl-basesystem"
BBFILE_PATTERN_agl-basesystem := "^${LAYERDIR}/"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/agl-basefiles/agl-basefiles_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/agl-basefiles/agl-basefiles_1.0.0.bb
new file mode 100644
index 00000000..27b2cae0
--- /dev/null
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/agl-basefiles/agl-basefiles_1.0.0.bb
@@ -0,0 +1,27 @@
+SUMMARY = "base-files for AGL software"
+DESCRIPTION = "install base-files 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/agl-basefiles"
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+do_install() {
+ install -d ${D}${includedir}/basesystem
+ install -m 644 -D ${S}/include/* ${D}${includedir}/basesystem/
+}
+
+do_install_class-native() {
+ install -d ${D}${bindir}
+ install -m 755 -D ${S}/bin/launch_xml2cfg.sh ${D}${bindir}/
+}
+
+RDEPENDS_${PN} += "bash"
+
+BBCLASSEXTEND = "native"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ns-frameworkunified/ns-frameworkunified-library_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ns-frameworkunified/ns-frameworkunified-library_1.0.0.bb
new file mode 100644
index 00000000..baaa431e
--- /dev/null
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ns-frameworkunified/ns-frameworkunified-library_1.0.0.bb
@@ -0,0 +1,30 @@
+SUMMARY = "ns-frameworkunified library for AGL software"
+DESCRIPTION = "ns-frameworkunified library to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+DEPENDS += " \
+ ns-loglibrary \
+ libxml2 \
+ 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/service/native/framework_unified"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile.library"
+
+FILES_${PN} += " \
+ ${libdir}/* \
+"
+
+RDEPENDS_${PN} += " \
+ os-posixbasedos001legacylibrary \
+ ns-loglibrary \
+ ns-commonlibrary \
+"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ns-frameworkunified/ns-frameworkunified_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ns-frameworkunified/ns-frameworkunified_1.0.0.bb
new file mode 100644
index 00000000..25ac7b90
--- /dev/null
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ns-frameworkunified/ns-frameworkunified_1.0.0.bb
@@ -0,0 +1,32 @@
+SUMMARY = "ns-frameworkunified for AGL software"
+DESCRIPTION = "ns-frameworkunified to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+DEPENDS += " \
+ os-posixbasedos001legacylibrary \
+ ns-loglibrary \
+ ns-commonlibrary \
+ boost \
+"
+
+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/framework_unified"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile.client"
+
+FILES_${PN} += " \
+ ${libdir}/* \
+"
+
+RDEPENDS_${PN} += " \
+ os-posixbasedos001legacylibrary \
+ ns-loglibrary \
+ ns-commonlibrary \
+ ns-frameworkunified-library \
+"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/evklib-headers.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/evklib-headers.bb
new file mode 100644
index 00000000..078f157d
--- /dev/null
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/evklib-headers.bb
@@ -0,0 +1,24 @@
+SUMMARY = "evklib-headers for AGL software"
+DESCRIPTION = "install evklib-header files 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/agl-basefiles"
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+do_install() {
+ install -d ${D}${includedir}/basesystem/agldd
+ install -m 644 -D ${S}/agldd/* ${D}${includedir}/basesystem/agldd/
+}
+
+FILES_${PN}-dev += " \
+ ${includedir}/basesystem/agldd/* \
+"
+
+BBCLASSEXTEND = "native"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/images/agl-image-boot-basesystem.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/images/agl-image-boot-basesystem.bb
new file mode 100644
index 00000000..5d12cc7d
--- /dev/null
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/images/agl-image-boot-basesystem.bb
@@ -0,0 +1,13 @@
+SUMMARY = "An AGL small image just capable of allowing a device to boot."
+
+require recipes-platform/images/agl-image-boot.inc
+
+LICENSE = "MIT"
+
+IMAGE_INSTALL := " \
+ packagegroup-core-boot \
+ packagegroup-agl-basesystem \
+"
+
+# limit images built ...
+IMAGE_FSTYPES := "ext4 tar"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-apis.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-apis.bb
index 91e9c6df..b9c027f5 100644
--- a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-apis.bb
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-apis.bb
@@ -5,7 +5,4 @@ inherit packagegroup
PACKAGES = "\
packagegroup-agl-basesystem-apis \
- "
-
-RDEPENDS_${PN} += " \
- "
+"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-core.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-core.bb
index 7a9df8ca..69b335f2 100644
--- a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-core.bb
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-core.bb
@@ -4,8 +4,5 @@ LICENSE = "Apache-2.0"
inherit packagegroup
PACKAGES = "\
- packagegroup-agl-basesystem-core \
- "
-
-RDEPENDS_${PN} += "\
- "
+ packagegroup-agl-basesystem-core \
+"
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 deb729dd..7afd629f 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
@@ -4,8 +4,5 @@ LICENSE = "Apache-2.0"
inherit packagegroup
PACKAGES = "\
- packagegroup-agl-basesystem-hal \
- "
-
-RDEPENDS_${PN} += " \
- "
+ packagegroup-agl-basesystem-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 788b97f6..0e46b451 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
@@ -4,8 +4,13 @@ LICENSE = "Apache-2.0"
inherit packagegroup
PACKAGES = "\
- packagegroup-agl-basesystem-service \
- "
+ packagegroup-agl-basesystem-service \
+"
RDEPENDS_${PN} += " \
- "
+ ns-commonlibrary \
+ ns-frameworkunified \
+ ns-loglibrary \
+ os-posixbasedos001legacylibrary \
+ os-rpclibrary \
+"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem.bb
index 0b4e0eb8..2f13587f 100644
--- a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem.bb
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem.bb
@@ -5,19 +5,17 @@ inherit packagegroup
PACKAGES = "\
packagegroup-agl-basesystem \
- "
+"
ALLOW_EMPTY_${PN} = "1"
RDEPENDS_${PN} += "\
packagegroup-agl-image-minimal \
- "
+"
RDEPENDS_${PN} += "\
packagegroup-agl-basesystem-core \
packagegroup-agl-basesystem-apis \
packagegroup-agl-basesystem-service \
packagegroup-agl-basesystem-hal \
- "
-
-
+"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-commonlibrary/ns-commonlibrary_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-commonlibrary/ns-commonlibrary_1.0.0.bb
new file mode 100644
index 00000000..1fdf7efe
--- /dev/null
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-commonlibrary/ns-commonlibrary_1.0.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = "ns-commonlibrary for AGL software"
+DESCRIPTION = "ns-commonlibrary 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/service/native/common_library"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile.client"
+
+FILES_${PN} += " \
+ ${libdir}/* \
+"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-loglibrary/ns-loglibrary_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-loglibrary/ns-loglibrary_1.0.0.bb
new file mode 100644
index 00000000..c59ba5a6
--- /dev/null
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ns-loglibrary/ns-loglibrary_1.0.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = "ns-loglibrary for AGL software"
+DESCRIPTION = "ns-loglibrary 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/service/native/log_library"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile.client"
+
+FILES_${PN} += " \
+ ${libdir}/* \
+"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-eventlibrary/os-eventlibrary_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-eventlibrary/os-eventlibrary_1.0.0.bb
new file mode 100644
index 00000000..8dc4b291
--- /dev/null
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-eventlibrary/os-eventlibrary_1.0.0.bb
@@ -0,0 +1,25 @@
+SUMMARY = "os-eventlibrary for AGL software"
+DESCRIPTION = "os-eventlibrary to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+DEPENDS += " \
+ evklib-headers \
+"
+
+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/other/event_library"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile.client"
+
+FILES_${PN} += " \
+ ${libdir}/* \
+"
+RDEPENDS_${PN} += " \
+ kernel-module-evklib \
+"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-posixbasedos001legacylibrary/os-posixbasedos001legacylibrary_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-posixbasedos001legacylibrary/os-posixbasedos001legacylibrary_1.0.0.bb
new file mode 100644
index 00000000..ff878356
--- /dev/null
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-posixbasedos001legacylibrary/os-posixbasedos001legacylibrary_1.0.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = "os-posixbasedos001legacylibrary for AGL software"
+DESCRIPTION = "os-posixbasedos001legacylibrary 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/service/other/posix_based_os001_legacy_library"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile.client"
+
+FILES_${PN} += " \
+ ${libdir}/* \
+"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-rpclibrary/os-rpclibrary-tool_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-rpclibrary/os-rpclibrary-tool_1.0.0.bb
new file mode 100644
index 00000000..573207ac
--- /dev/null
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-rpclibrary/os-rpclibrary-tool_1.0.0.bb
@@ -0,0 +1,29 @@
+SUMMARY = "librpc tools for AGL software"
+DESCRIPTION = "install librpc tool"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://../LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+DEPENDS += " \
+ agl-basefiles-native \
+ bison-native \
+"
+
+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/other/rpc_library/tool"
+
+do_compile_prepend () {
+ oe_runmake clean
+}
+
+do_install () {
+ install -D -m 755 ${S}/rpc_apidef ${D}${bindir}/rpc_apidef
+}
+
+FILES_${PN} += " \
+ ${bindir}/rpc_apidef \
+"
+
+BBCLASSEXTEND = "native"
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-rpclibrary/os-rpclibrary_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-rpclibrary/os-rpclibrary_1.0.0.bb
new file mode 100644
index 00000000..95631dcb
--- /dev/null
+++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-rpclibrary/os-rpclibrary_1.0.0.bb
@@ -0,0 +1,29 @@
+SUMMARY = "os-rpclibrary for AGL software"
+DESCRIPTION = "os-rpclibrary to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+DEPENDS += " \
+ ns-commonlibrary \
+ ns-loglibrary \
+ bison-native \
+"
+
+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/other/rpc_library"
+
+inherit agl-basesystem-common
+
+BSMAKE_FILE = "Makefile.client"
+
+FILES_${PN} += " \
+ /usr/lib/basesystem/librpc.so \
+"
+
+RDEPENDS_${PN} += " \
+ ns-commonlibrary \
+ ns-loglibrary \
+"