Lisa Liu | 5fdf395 | 2019-07-05 12:35:58 +0800 | [diff] [blame^] | 1 | #"Copyright (c) 2019-present Lenovo" |
| 2 | |
| 3 | SUMMARY = "YAML configuration for hr855xg2" |
| 4 | PR = "r1" |
| 5 | LICENSE = "BSD-3-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://${LENOVOBASE}/COPYING.BSD;md5=efc72ac5d37ea632ccf0001f56126210" |
| 7 | |
| 8 | inherit allarch |
| 9 | |
| 10 | SRC_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 | |
| 16 | S = "${WORKDIR}" |
| 17 | |
| 18 | do_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 | |
| 29 | FILES_${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 | |
| 36 | ALLOW_EMPTY_${PN} = "1" |