blob: 71194848d4d8b2e2030aed30a4a92c386f217170 [file] [log] [blame]
Deepak Kodihalli51416b52017-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
7
8SRC_URI += "file://config.yaml"
9
10DEPENDS += " \
11 mrw-native \
12 mrw-perl-tools-native \
13 "
14
15PROVIDES += "virtual/openpower-fru-properties"
16
17S = "${WORKDIR}"
18
19do_install() {
20 DEST=${D}${properties_datadir}
21 install -d ${DEST}
22
23 ${bindir}/perl-native/perl \
24 ${bindir}/gen_fru_properties.pl \
25 -m ${datadir}/obmc-mrw/${MACHINE}.xml \
26 -c config.yaml \
27 -o ${DEST}/out.yaml
28}