blob: 64f194d7acf028da0a47aa5fe7d4c9fcc90dbb6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
SUMMARY = "KUKSA.val CAN provider configuration for AGL demos"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SRC_URI = "file://config.ini \
file://can-provider.token \
file://dbc_default_values.json \
file://can-dev-helper.conf \
file://agl-vcar.dbc \
"
S = "${WORKDIR}"
inherit allarch systemd
do_compile[noexec] = "1"
do_install() {
install -d ${D}${sysconfdir}/kuksa-can-provider
install -m 0644 ${WORKDIR}/config.ini ${D}${sysconfdir}/kuksa-can-provider/
install -m 0644 ${WORKDIR}/can-provider.token ${D}${sysconfdir}/kuksa-can-provider/
install -m 0644 ${WORKDIR}/dbc_default_values.json ${D}${sysconfdir}/kuksa-can-provider/
install -m 0644 ${WORKDIR}/agl-vcar.dbc ${D}${sysconfdir}/kuksa-can-provider/
install -d ${D}${systemd_system_unitdir}/kuksa-can-provider.service.d
install -m 0644 ${WORKDIR}/can-dev-helper.conf ${D}${systemd_system_unitdir}/kuksa-can-provider.service.d/
}
FILES:${PN} += "${systemd_system_unitdir}"
RDEPENDS:${PN} += "kuksa-can-provider can-dev-helper"
RPROVIDES:${PN} += "kuksa-can-provider-conf"
|