blob: be53df536fa2f01b9139b35ef8b084a19a56a898 [file] [log] [blame]
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -05001SUMMARY = "Generated callout information for phosphor-logging"
2PR = "r1"
Brad Bishop75f03872018-11-03 09:41:57 -07003LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -05005
6inherit native
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -05007inherit phosphor-logging
Matt Spinler0a8ea632017-12-14 13:31:55 -06008inherit mrw-xml
Deepak Kodihalli1f09d4a2017-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 Spinler0a8ea632017-12-14 13:31:55 -060025 -m ${mrw_datadir}/${MRW_XML} \
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -050026 -o ${DEST}/callouts.yaml
27}