Deepak Kodihalli | ba5ce78 | 2017-02-05 10:10:44 -0600 | [diff] [blame] | 1 | SUMMARY = "Inventory config for openpower-vpd-parser" |
| 2 | PR = "r1" |
Brad Bishop | fc00c75 | 2018-11-05 19:28:01 -0800 | [diff] [blame^] | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${OPENPOWERBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
Deepak Kodihalli | ba5ce78 | 2017-02-05 10:10:44 -0600 | [diff] [blame] | 5 | |
| 6 | inherit native |
Deepak Kodihalli | ba5ce78 | 2017-02-05 10:10:44 -0600 | [diff] [blame] | 7 | inherit openpower-fru-vpd |
Matt Spinler | 0a8ea63 | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 8 | inherit mrw-xml |
Deepak Kodihalli | ba5ce78 | 2017-02-05 10:10:44 -0600 | [diff] [blame] | 9 | |
| 10 | DEPENDS += " \ |
| 11 | mrw-native \ |
| 12 | mrw-perl-tools-native \ |
| 13 | virtual/openpower-fru-vpd-layout \ |
| 14 | " |
| 15 | |
| 16 | PROVIDES += "virtual/openpower-fru-inventory" |
| 17 | |
| 18 | S = "${WORKDIR}" |
| 19 | |
| 20 | do_install() { |
| 21 | DEST=${D}${inventory_datadir_native} |
| 22 | install -d ${DEST} |
| 23 | |
| 24 | ${bindir}/perl-native/perl \ |
| 25 | ${bindir}/gen_openpower_fru.pl \ |
Matt Spinler | 0a8ea63 | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 26 | -m ${mrw_datadir}/${MRW_XML} \ |
Deepak Kodihalli | ba5ce78 | 2017-02-05 10:10:44 -0600 | [diff] [blame] | 27 | -c ${vpdlayout_datadir}/layout.yaml \ |
| 28 | -o ${DEST}/inventory |
| 29 | } |