blob: fcf97f9f8e4ecc1348781d8b608db8238cf15c36 [file] [log] [blame]
Lisa Liu5fdf3952019-07-05 12:35:58 +08001#"Copyright (c) 2019-present Lenovo"
2
3SUMMARY = "YAML configuration for hr855xg2"
4PR = "r1"
5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://${LENOVOBASE}/COPYING.BSD;md5=efc72ac5d37ea632ccf0001f56126210"
7
8inherit allarch
9
10SRC_URI_append_hr855xg2 = "file://hr855xg2-ipmi-fru.yaml \
11 file://hr855xg2-ipmi-fru-properties.yaml \
12 file://hr855xg2-ipmi-sensors.yaml \
13 file://hr855xg2-leds.yaml \
14 "
15
16S = "${WORKDIR}"
17
18do_install() {
19 install -m 0644 -D hr855xg2-ipmi-fru-properties.yaml \
20 ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
21 install -m 0644 -D hr855xg2-ipmi-fru.yaml \
22 ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
23 install -m 0644 -D hr855xg2-ipmi-sensors.yaml \
24 ${D}${datadir}/${BPN}/ipmi-sensors.yaml
25 install -m 0644 -D hr855xg2-leds.yaml \
26 ${D}${datadir}/${BPN}/led.yaml
27}
28
29FILES_${PN}-dev = " \
30 ${datadir}/${BPN}/ipmi-extra-properties.yaml \
31 ${datadir}/${BPN}/ipmi-fru-read.yaml \
32 ${datadir}/${BPN}/ipmi-sensors.yaml \
33 ${datadir}/${BPN}/led.yaml \
34 "
35
36ALLOW_EMPTY_${PN} = "1"