blob: 96852d4cab618b2ef76b02bfe644f68ce13a64ec [file] [log] [blame]
Deepak Kodihalli44b1c522017-03-16 06:32:12 -05001SUMMARY = "Generated callout information for phosphor-logging"
2PR = "r1"
3
4inherit native
5inherit obmc-phosphor-license
6inherit phosphor-logging
Matt Spinler3f6fcbe2017-12-14 13:31:55 -06007inherit mrw-xml
Deepak Kodihalli44b1c522017-03-16 06:32:12 -05008
9DEPENDS += " \
10 mrw-native \
11 mrw-perl-tools-native \
12 "
13
14PROVIDES += "virtual/phosphor-logging-callouts"
15
16S = "${WORKDIR}"
17
18do_install() {
19 DEST=${D}${callouts_datadir}
20 install -d ${DEST}
21
22 ${bindir}/perl-native/perl \
23 ${bindir}/gen_callouts.pl \
Matt Spinler3f6fcbe2017-12-14 13:31:55 -060024 -m ${mrw_datadir}/${MRW_XML} \
Deepak Kodihalli44b1c522017-03-16 06:32:12 -050025 -o ${DEST}/callouts.yaml
26}