blob: 2dc5820e384b6a9da61e3b29767e1c2a39834900 [file] [log] [blame]
Deepak Kodihallif7a1a782017-02-20 00:21:12 -06001SUMMARY = "FRU properties config for openpower-vpd-parser"
2PR = "r1"
3
4inherit native
5inherit obmc-phosphor-license
6inherit openpower-fru-vpd
Matt Spinler0a8ea632017-12-14 13:31:55 -06007inherit mrw-xml
Deepak Kodihallif7a1a782017-02-20 00:21:12 -06008
9SRC_URI += "file://config.yaml"
10
11DEPENDS += " \
12 mrw-native \
13 mrw-perl-tools-native \
14 "
15
16PROVIDES += "virtual/openpower-fru-properties"
17
18S = "${WORKDIR}"
19
20do_install() {
21 DEST=${D}${properties_datadir}
22 install -d ${DEST}
23
24 ${bindir}/perl-native/perl \
25 ${bindir}/gen_fru_properties.pl \
Matt Spinler0a8ea632017-12-14 13:31:55 -060026 -m ${mrw_datadir}/${MRW_XML} \
Deepak Kodihallif7a1a782017-02-20 00:21:12 -060027 -c config.yaml \
28 -o ${DEST}/out.yaml
29}