Deepak Kodihalli | f7a1a78 | 2017-02-20 00:21:12 -0600 | [diff] [blame] | 1 | SUMMARY = "FRU properties config for openpower-vpd-parser" |
| 2 | PR = "r1" |
| 3 | |
| 4 | inherit native |
| 5 | inherit obmc-phosphor-license |
| 6 | inherit openpower-fru-vpd |
Matt Spinler | 0a8ea63 | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 7 | inherit mrw-xml |
Deepak Kodihalli | f7a1a78 | 2017-02-20 00:21:12 -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/openpower-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 | 0a8ea63 | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 26 | -m ${mrw_datadir}/${MRW_XML} \ |
Deepak Kodihalli | f7a1a78 | 2017-02-20 00:21:12 -0600 | [diff] [blame] | 27 | -c config.yaml \ |
| 28 | -o ${DEST}/out.yaml |
| 29 | } |