blob: 6bb86915ebcd36ffa43937617c5f2791edff0308 [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"
Brad Bishop6f3f0aa2019-09-13 12:14:05 -04004LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -05005
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -05006inherit phosphor-logging
Matt Spinler0a8ea632017-12-14 13:31:55 -06007inherit mrw-xml
Joseph Reynolds79809ea2021-02-26 15:37:31 -06008inherit native
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}