summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/logging/phosphor-logging-callouts-mrw-native.bb
blob: 96852d4cab618b2ef76b02bfe644f68ce13a64ec (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
25
26
SUMMARY = "Generated callout information for phosphor-logging"
PR = "r1"

inherit native
inherit obmc-phosphor-license
inherit phosphor-logging
inherit mrw-xml

DEPENDS += " \
           mrw-native \
           mrw-perl-tools-native \
           "

PROVIDES += "virtual/phosphor-logging-callouts"

S = "${WORKDIR}"

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
}