John Wang | 9e8a65a | 2020-10-20 20:09:40 +0800 | [diff] [blame^] | 1 | SUMMARY = "YAML configuration for G220A" |
| 2 | PR = "r1" |
| 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 5 | |
| 6 | inherit allarch |
| 7 | |
| 8 | SRC_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 | |
| 15 | S = "${WORKDIR}" |
| 16 | |
| 17 | do_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 | |
| 28 | FILES_${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 | |
| 35 | ALLOW_EMPTY_${PN} = "1" |