blob: 1930388ed4a62d835d9b82b253141a0786d74d4a [file] [log] [blame]
Matt Spinler1e3c4142016-08-12 12:52:36 -05001SUMMARY = "Phosphor OpenBMC machine readable workbook API modules"
2DESCRIPTION = "The API for the MRW XML generated by the Serverwiz tool"
3PR = "r1"
4
5S = "${WORKDIR}/scripts"
6
7inherit obmc-phosphor-license
8inherit native
9inherit perlnative
10inherit cpan-base
Matt Spinlerb103a332016-09-15 10:39:43 -050011inherit mrw-rev
Matt Spinler1e3c4142016-08-12 12:52:36 -050012
13DEPENDS += "libxml-simple-perl-native json-perl-native"
14
Matt Spinlerb103a332016-09-15 10:39:43 -050015SRC_URI += "${MRW_API_SRC_URI}"
16SRCREV = "${MRW_API_SRCREV}"
Matt Spinler1e3c4142016-08-12 12:52:36 -050017
18do_install() {
Matt Spinler98c33e32016-09-20 13:32:44 -050019 install -d ${D}${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw
20 install -m 0755 Targets.pm ${D}${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw/Targets.pm
Matt Spinler1e3c4142016-08-12 12:52:36 -050021}