blob: 31fba5aabbb9874d6780cccba6cec8d27256fda4 [file] [log] [blame]
Deepak Kodihalli5b183e02017-02-20 04:55:20 -06001SUMMARY = "FRU properties config for ipmi-fru-parser"
2PR = "r1"
Patrick Ventureca2e8962018-11-04 08:14:29 -08003LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
Deepak Kodihalli5b183e02017-02-20 04:55:20 -06005
6inherit native
Deepak Kodihalli5b183e02017-02-20 04:55:20 -06007inherit phosphor-ipmi-fru
Matt Spinler3f6fcbe2017-12-14 13:31:55 -06008inherit mrw-xml
Deepak Kodihalli5b183e02017-02-20 04:55:20 -06009
10SRC_URI += "file://config.yaml"
11
12DEPENDS += " \
13 mrw-native \
14 mrw-perl-tools-native \
15 "
16
17PROVIDES += "virtual/phosphor-ipmi-fru-properties"
18
19S = "${WORKDIR}"
20
21do_install() {
22 DEST=${D}${properties_datadir}
23 install -d ${DEST}
24
25 ${bindir}/perl-native/perl \
26 ${bindir}/gen_fru_properties.pl \
Matt Spinler3f6fcbe2017-12-14 13:31:55 -060027 -m ${mrw_datadir}/${MRW_XML} \
Deepak Kodihalli5b183e02017-02-20 04:55:20 -060028 -c config.yaml \
Ratan Guptadccf5ad2017-03-30 14:32:02 +053029 -o ${DEST}/extra-properties.yaml
Deepak Kodihalli5b183e02017-02-20 04:55:20 -060030}