This is the fourth commit of agl-basesystem.
These Basesystem HAL implementation are sample.
v16 (jsmoeller): restored commit which was squashed in v15
v22 (nomoto): change mail address and author
v26 (nomoto): make hal recipes inherit bshalmake
Bug-AGL: SPEC-3670
Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: Ib6ff58e667635725d962d1548bef03950e0a0d22
# base_do_install under poky's base.bbclass is empty so definition is needed.
bshalmake_do_install (){
- oe_runmake install
+ oe_runmake DESTDIR=${D} install
install -d ${D}${includedir}/basesystem
install -D -m 644 ${S}/hal_api/*.h ${D}${includedir}/basesystem
--- /dev/null
+SUMMARY = "libboot_hal for AGL software"
+DESCRIPTION = "install libboot_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/boot_hal"
+
+inherit bshalmake
+
+HAL_NAME = "boot_hal"
+FILES_${PN} += "${libdir}/lib${HAL_NAME}.so"
--- /dev/null
+SUMMARY = "libcan_hal for AGL software"
+DESCRIPTION = "install libcan_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/can_hal"
+
+inherit bshalmake
+
+HAL_NAME = "can_hal"
+FILES_${PN} += "${libdir}/basesystem/lib${HAL_NAME}.so"
--- /dev/null
+SUMMARY = "libclock_hal for AGL software"
+DESCRIPTION = "install libclock_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/clock_hal"
+
+inherit bshalmake
+
+HAL_NAME = "clock_hal"
+FILES_${PN} += "${libdir}/lib${HAL_NAME}.so"
--- /dev/null
+SUMMARY = "libdeck_hal for AGL software"
+DESCRIPTION = "install libdeck_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/deck_hal"
+
+inherit bshalmake
+
+HAL_NAME = "deck_hal"
+FILES_${PN} += "${libdir}/lib${HAL_NAME}.so"
--- /dev/null
+SUMMARY = "libinput_hal for AGL software"
+DESCRIPTION = "install libinput_hal to build AGL software"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+DEPENDS += " \
+ ns-frameworkunified\
+ drm \
+ udev \
+"
+
+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/input_hal"
+
+inherit bshalmake
+
+HAL_NAME = "input_hal"
+FILES_${PN} += "${libdir}/lib${HAL_NAME}.so"
--- /dev/null
+SUMMARY = "libpower_hal for AGL software"
+DESCRIPTION = "install libpower_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/power_hal"
+
+inherit bshalmake
+
+HAL_NAME = "power_hal"
+FILES_${PN} += "${libdir}/lib${HAL_NAME}.so"
--- /dev/null
+SUMMARY = "libsecurity_hal for AGL software"
+DESCRIPTION = "install libsecurity_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/security_hal"
+
+inherit bshalmake
+
+HAL_NAME = "security_hal"
+FILES_${PN} += "${libdir}/lib${HAL_NAME}.so"
--- /dev/null
+SUMMARY = "libsoc_temperature-hal for AGL software"
+DESCRIPTION = "install libsoc_temperature-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/soc_temperature_hal"
+
+inherit bshalmake
+
+HAL_NAME = "soc_temperature_hal"
+FILES_${PN} += "${libdir}/lib${HAL_NAME}.so"
--- /dev/null
+SUMMARY = "libusb_hal for AGL software"
+DESCRIPTION = "install libusb_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/usb_hal"
+
+inherit bshalmake
+
+HAL_NAME = "usb_hal"
+FILES_${PN} += "${libdir}/lib${HAL_NAME}.so"
--- /dev/null
+SUMMARY = "libvehicle_hal for AGL software"
+DESCRIPTION = "install libvehicle_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/vehicle_hal"
+
+inherit bshalmake
+
+HAL_NAME = "vehicle_hal"
+FILES_${PN} += "${libdir}/lib${HAL_NAME}.so"
--- /dev/null
+SUMMARY = "libvideo_in_hal for AGL software"
+DESCRIPTION = "install libvideo_in_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/video_in_hal"
+
+inherit bshalmake
+
+HAL_NAME = "video_in_hal"
+FILES_${PN} += "${libdir}/lib${HAL_NAME}.so"
inherit packagegroup
PACKAGES = "\
- packagegroup-agl-basesystem-hal \
+ packagegroup-bshalmake \
+"
+RDEPENDS_${PN} += " \
+ libboot-hal \
+ libcan-hal \
+ libclock-hal \
+ libdeck-hal \
+ libinput-hal \
+ libpower-hal \
+ libsecurity-hal \
+ libsoctemperature-hal \
+ libusb-hal \
+ libvehicle-hal \
+ libvideo-in-hal \
"
packagegroup-agl-basesystem-core \
packagegroup-agl-basesystem-apis \
packagegroup-agl-basesystem-service \
- packagegroup-agl-basesystem-hal \
+ packagegroup-bshalmake \
"