Deepak Kodihalli | 48be0fd | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 1 | SUMMARY = "FRU properties config for ipmi-fru-parser" |
| 2 | PR = "r1" |
Brad Bishop | 75f0387 | 2018-11-03 09:41:57 -0700 | [diff] [blame] | 3 | LICENSE = "Apache-2.0" |
Brad Bishop | 6f3f0aa | 2019-09-13 12:14:05 -0400 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
Deepak Kodihalli | 48be0fd | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 5 | |
Deepak Kodihalli | 48be0fd | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 6 | inherit phosphor-ipmi-fru |
Matt Spinler | 0a8ea63 | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 7 | inherit mrw-xml |
Joseph Reynolds | 79809ea | 2021-02-26 15:37:31 -0600 | [diff] [blame] | 8 | inherit native |
Deepak Kodihalli | 48be0fd | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 9 | |
| 10 | SRC_URI += "file://config.yaml" |
| 11 | |
| 12 | DEPENDS += " \ |
| 13 | mrw-native \ |
| 14 | mrw-perl-tools-native \ |
| 15 | " |
| 16 | |
| 17 | PROVIDES += "virtual/phosphor-ipmi-fru-properties" |
| 18 | |
| 19 | S = "${WORKDIR}" |
| 20 | |
| 21 | do_install() { |
| 22 | DEST=${D}${properties_datadir} |
| 23 | install -d ${DEST} |
| 24 | |
| 25 | ${bindir}/perl-native/perl \ |
| 26 | ${bindir}/gen_fru_properties.pl \ |
Matt Spinler | 0a8ea63 | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 27 | -m ${mrw_datadir}/${MRW_XML} \ |
Deepak Kodihalli | 48be0fd | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 28 | -c config.yaml \ |
Ratan Gupta | 338899a | 2017-03-30 14:32:02 +0530 | [diff] [blame] | 29 | -o ${DEST}/extra-properties.yaml |
Deepak Kodihalli | 48be0fd | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 30 | } |