1SUMMARY = "YAML configuration for G220A"
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://g220a-ipmi-fru.yaml \
10    file://g220a-ipmi-fru-properties.yaml \
11    file://g220a-ipmi-inventory-sensors.yaml \
12    file://g220a-ipmi-sensors.yaml \
13    "
14
15S = "${WORKDIR}/sources"
16UNPACKDIR = "${S}"
17
18do_install() {
19    install -m 0644 -D g220a-ipmi-fru-properties.yaml \
20        ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
21    install -m 0644 -D g220a-ipmi-fru.yaml \
22        ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
23    install -m 0644 -D g220a-ipmi-inventory-sensors.yaml \
24        ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml
25    install -m 0644 -D g220a-ipmi-sensors.yaml \
26        ${D}${datadir}/${BPN}/ipmi-sensors.yaml
27}
28
29FILES:${PN}-dev = " \
30    ${datadir}/${BPN}/ipmi-extra-properties.yaml \
31    ${datadir}/${BPN}/ipmi-fru-read.yaml \
32    ${datadir}/${BPN}/ipmi-inventory-sensors.yaml \
33    ${datadir}/${BPN}/ipmi-sensors.yaml \
34    "
35
36ALLOW_EMPTY:${PN} = "1"
37