blob: 9515c6882e6f36a0eefeaffcceaefc58f4d37a9b [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
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}