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}"
16
17do_install() {
18    install -m 0644 -D g220a-ipmi-fru-properties.yaml \
19        ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
20    install -m 0644 -D g220a-ipmi-fru.yaml \
21        ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
22    install -m 0644 -D g220a-ipmi-inventory-sensors.yaml \
23        ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml
24    install -m 0644 -D g220a-ipmi-sensors.yaml \
25        ${D}${datadir}/${BPN}/ipmi-sensors.yaml
26}
27
28FILES_${PN}-dev = " \
29    ${datadir}/${BPN}/ipmi-extra-properties.yaml \
30    ${datadir}/${BPN}/ipmi-fru-read.yaml \
31    ${datadir}/${BPN}/ipmi-inventory-sensors.yaml \
32    ${datadir}/${BPN}/ipmi-sensors.yaml \
33    "
34
35ALLOW_EMPTY_${PN} = "1"
36