blob: c10330b9bf2567825ef48de5c48bc5e32343155c [file] [log] [blame]
George Liu0a7050e2019-07-03 17:54:00 +08001SUMMARY = "YAML configuration for FP5280G2"
2PR = "r1"
3LICENSE = "Apache-2.0"
Brad Bishop697f17d2019-09-13 14:07:33 -04004LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
George Liu0a7050e2019-07-03 17:54:00 +08005
6inherit allarch
7
8SRC_URI = " \
9 file://fp5280g2-ipmi-fru.yaml \
10 file://fp5280g2-ipmi-fru-bmc.yaml \
11 file://fp5280g2-ipmi-fru-properties.yaml \
12 file://fp5280g2-ipmi-inventory-sensors.yaml \
13 file://fp5280g2-ipmi-sensors.yaml \
14 "
15
16S = "${WORKDIR}"
17
18do_install() {
19 cat fp5280g2-ipmi-fru.yaml fp5280g2-ipmi-fru-bmc.yaml > fru-read.yaml
20
21 install -m 0644 -D fp5280g2-ipmi-fru-properties.yaml \
22 ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
23 install -m 0644 -D fru-read.yaml \
24 ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
25 install -m 0644 -D fp5280g2-ipmi-inventory-sensors.yaml \
26 ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml
27 install -m 0644 -D fp5280g2-ipmi-sensors.yaml \
28 ${D}${datadir}/${BPN}/ipmi-sensors.yaml
29}
30
31FILES_${PN}-dev = " \
32 ${datadir}/${BPN}/ipmi-extra-properties.yaml \
33 ${datadir}/${BPN}/ipmi-fru-read.yaml \
34 ${datadir}/${BPN}/ipmi-inventory-sensors.yaml \
35 ${datadir}/${BPN}/ipmi-sensors.yaml \
36 "
37
38ALLOW_EMPTY_${PN} = "1"