blob: c8b24cb61eab8c2ad867b85b80b115ff87ca4062 [file] [log] [blame]
Stanley Chu8327e2c2020-06-12 11:56:04 +08001SUMMARY = "YAML configuration for Olympus Nuvoton"
2PR = "r1"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
5
6inherit allarch
7
8SRC_URI_olympus-nuvoton = " \
9 file://olympus-nuvoton-ipmi-fru.yaml \
10 file://olympus-nuvoton-ipmi-fru-properties.yaml \
11 file://olympus-nuvoton-ipmi-sensors.yaml \
12 "
13
14S = "${WORKDIR}"
15
16do_install_olympus-nuvoton() {
17 install -m 0644 -D olympus-nuvoton-ipmi-fru-properties.yaml \
18 ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
19 install -m 0644 -D olympus-nuvoton-ipmi-fru.yaml \
20 ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
21 install -m 0644 -D olympus-nuvoton-ipmi-sensors.yaml \
22 ${D}${datadir}/${BPN}/ipmi-sensors.yaml
23}
24
25FILES_${PN}-dev = " \
26 ${datadir}/${BPN}/ipmi-extra-properties.yaml \
27 ${datadir}/${BPN}/ipmi-fru-read.yaml \
28 ${datadir}/${BPN}/ipmi-sensors.yaml \
29 "
30
31ALLOW_EMPTY_${PN} = "1"