Deepak Kodihalli | 5b183e0 | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 1 | SUMMARY = "FRU properties config for ipmi-fru-parser" |
| 2 | PR = "r1" |
| 3 | |
| 4 | inherit native |
| 5 | inherit obmc-phosphor-license |
| 6 | inherit phosphor-ipmi-fru |
Matt Spinler | 3f6fcbe | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 7 | inherit mrw-xml |
Deepak Kodihalli | 5b183e0 | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 8 | |
| 9 | SRC_URI += "file://config.yaml" |
| 10 | |
| 11 | DEPENDS += " \ |
| 12 | mrw-native \ |
| 13 | mrw-perl-tools-native \ |
| 14 | " |
| 15 | |
| 16 | PROVIDES += "virtual/phosphor-ipmi-fru-properties" |
| 17 | |
| 18 | S = "${WORKDIR}" |
| 19 | |
| 20 | do_install() { |
| 21 | DEST=${D}${properties_datadir} |
| 22 | install -d ${DEST} |
| 23 | |
| 24 | ${bindir}/perl-native/perl \ |
| 25 | ${bindir}/gen_fru_properties.pl \ |
Matt Spinler | 3f6fcbe | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 26 | -m ${mrw_datadir}/${MRW_XML} \ |
Deepak Kodihalli | 5b183e0 | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 27 | -c config.yaml \ |
Ratan Gupta | dccf5ad | 2017-03-30 14:32:02 +0530 | [diff] [blame] | 28 | -o ${DEST}/extra-properties.yaml |
Deepak Kodihalli | 5b183e0 | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 29 | } |