summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/kuksa-val/kuksa-can-provider-conf-gw-control-panel.bb
blob: f2e9e6738c0c82b6edd0e62347661bf7a4d6c415 (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
SUMMARY = "KUKSA.val CAN provider configuration for gateway demo"

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

SRC_URI = "file://kuksa-can-provider.gw-control-panel"

S = "${WORKDIR}"

inherit update-alternatives

do_compile[noexec] = "1"

do_install() {
    install -d ${D}${sysconfdir}/default
    install -m 0644 ${WORKDIR}/kuksa-can-provider.gw-control-panel ${D}${sysconfdir}/default/
}

ALTERNATIVE_LINK_NAME[kuksa-can-provider.env] = "${sysconfdir}/default/kuksa-can-provider"

RPROVIDES:${PN} = "kuksa-can-provider.env"
ALTERNATIVE:${PN} = "kuksa-can-provider.env"
ALTERNATIVE_TARGET_${PN} = "${sysconfdir}/default/kuksa-can-provider.gw-control-panel"

RDEPENDS:${PN} += "kuksa-can-provider kuksa-can-provider-conf-agl"