summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/logging/phosphor-logging-callouts-mrw-native.bb
blob: e76e9e7b3bb4dc620f78a748571aa381b40353cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SUMMARY = "Generated callout information for phosphor-logging"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
DEPENDS += " \
           mrw-native \
           mrw-perl-tools-native \
           "
PROVIDES += "virtual/phosphor-logging-callouts"
PR = "r1"

S = "${WORKDIR}"

inherit phosphor-logging
inherit mrw-xml
inherit native

do_install() {
        DEST=${D}${callouts_datadir}
        install -d ${DEST}
        ${bindir}/perl-native/perl \
            ${bindir}/gen_callouts.pl \
            -m ${mrw_datadir}/${MRW_XML} \
            -o ${DEST}/callouts.yaml
}