blob: bde5908e622260491da846330683a054cbddd01c [file] [log] [blame]
George Liu99d902f2024-07-01 15:10:41 +08001SUMMARY = "YAML configuration for NF5280M7"
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 = " \
9 file://nf5280m7-ipmi-fru.yaml \
10 file://nf5280m7-ipmi-fru-properties.yaml \
11 file://nf5280m7-ipmi-inventory-sensors.yaml \
12 file://nf5280m7-ipmi-sensors.yaml \
13 "
14
15S = "${WORKDIR}"
16
17do_install() {
18 cat nf5280m7-ipmi-fru.yaml > fru-read.yaml
19
20 install -m 0644 -D nf5280m7-ipmi-fru-properties.yaml \
21 ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
22 install -m 0644 -D fru-read.yaml \
23 ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
24 install -m 0644 -D nf5280m7-ipmi-inventory-sensors.yaml \
25 ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml
26 install -m 0644 -D nf5280m7-ipmi-sensors.yaml \
27 ${D}${datadir}/${BPN}/ipmi-sensors.yaml
28}
29
30FILES:${PN}-dev = " \
31 ${datadir}/${BPN}/ipmi-extra-properties.yaml \
32 ${datadir}/${BPN}/ipmi-fru-read.yaml \
33 ${datadir}/${BPN}/ipmi-inventory-sensors.yaml \
34 ${datadir}/${BPN}/ipmi-sensors.yaml \
35 "
36
37ALLOW_EMPTY:${PN} = "1"