blob: f91dc628a56a287b9d8eda9c41365704f438d9b7 [file] [log] [blame]
John Wang8430e6b2020-10-20 20:09:40 +08001SUMMARY = "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
Lei YU05e5f0b2021-08-12 11:08:52 +080028FILES:${PN}-dev = " \
John Wang8430e6b2020-10-20 20:09:40 +080029 ${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
Lei YU05e5f0b2021-08-12 11:08:52 +080035ALLOW_EMPTY:${PN} = "1"