blob: be53df536fa2f01b9139b35ef8b084a19a56a898 [file] [log] [blame]
Deepak Kodihalli44b1c522017-03-16 06:32:12 -05001SUMMARY = "Generated callout information for phosphor-logging"
2PR = "r1"
Patrick Venture1f508212018-11-04 08:16:13 -08003LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
Deepak Kodihalli44b1c522017-03-16 06:32:12 -05005
6inherit native
Deepak Kodihalli44b1c522017-03-16 06:32:12 -05007inherit phosphor-logging
Matt Spinler3f6fcbe2017-12-14 13:31:55 -06008inherit mrw-xml
Deepak Kodihalli44b1c522017-03-16 06:32:12 -05009
10DEPENDS += " \
11 mrw-native \
12 mrw-perl-tools-native \
13 "
14
15PROVIDES += "virtual/phosphor-logging-callouts"
16
17S = "${WORKDIR}"
18
19do_install() {
20 DEST=${D}${callouts_datadir}
21 install -d ${DEST}
22
23 ${bindir}/perl-native/perl \
24 ${bindir}/gen_callouts.pl \
Matt Spinler3f6fcbe2017-12-14 13:31:55 -060025 -m ${mrw_datadir}/${MRW_XML} \
Deepak Kodihalli44b1c522017-03-16 06:32:12 -050026 -o ${DEST}/callouts.yaml
27}