blob: 34fa0194bbb098d1499f8672eaf15b7fb967e4a9 [file] [log] [blame]
Stanley Chua6499572020-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
David Wang026925d2021-08-13 11:39:20 +08008SRC_URI:olympus-nuvoton = " \
Stanley Chua6499572020-06-12 11:56:04 +08009 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
David Wang026925d2021-08-13 11:39:20 +080016do_install:olympus-nuvoton() {
Stanley Chua6499572020-06-12 11:56:04 +080017 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
David Wang026925d2021-08-13 11:39:20 +080025FILES:${PN}-dev = " \
Stanley Chua6499572020-06-12 11:56:04 +080026 ${datadir}/${BPN}/ipmi-extra-properties.yaml \
27 ${datadir}/${BPN}/ipmi-fru-read.yaml \
28 ${datadir}/${BPN}/ipmi-sensors.yaml \
29 "
30
David Wang026925d2021-08-13 11:39:20 +080031ALLOW_EMPTY:${PN} = "1"