blob: e76e9e7b3bb4dc620f78a748571aa381b40353cf [file] [log] [blame]
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -05001SUMMARY = "Generated callout information for phosphor-logging"
Brad Bishop75f03872018-11-03 09:41:57 -07002LICENSE = "Apache-2.0"
Brad Bishop6f3f0aa2019-09-13 12:14:05 -04003LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Ed Tanous9936f862022-09-19 09:13:20 -07004DEPENDS += " \
5 mrw-native \
6 mrw-perl-tools-native \
7 "
8PROVIDES += "virtual/phosphor-logging-callouts"
9PR = "r1"
10
11S = "${WORKDIR}"
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -050012
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -050013inherit phosphor-logging
Matt Spinler0a8ea632017-12-14 13:31:55 -060014inherit mrw-xml
Joseph Reynolds79809ea2021-02-26 15:37:31 -060015inherit native
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -050016
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -050017do_install() {
18 DEST=${D}${callouts_datadir}
19 install -d ${DEST}
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -050020 ${bindir}/perl-native/perl \
21 ${bindir}/gen_callouts.pl \
Matt Spinler0a8ea632017-12-14 13:31:55 -060022 -m ${mrw_datadir}/${MRW_XML} \
Deepak Kodihalli1f09d4a2017-03-16 06:32:12 -050023 -o ${DEST}/callouts.yaml
24}