Deepak Kodihalli | 44b1c52 | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 1 | SUMMARY = "Generated callout information for phosphor-logging" |
| 2 | PR = "r1" |
Patrick Venture | 1f50821 | 2018-11-04 08:16:13 -0800 | [diff] [blame] | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
Deepak Kodihalli | 44b1c52 | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 5 | |
| 6 | inherit native |
Deepak Kodihalli | 44b1c52 | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 7 | inherit phosphor-logging |
Matt Spinler | 3f6fcbe | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 8 | inherit mrw-xml |
Deepak Kodihalli | 44b1c52 | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 9 | |
| 10 | DEPENDS += " \ |
| 11 | mrw-native \ |
| 12 | mrw-perl-tools-native \ |
| 13 | " |
| 14 | |
| 15 | PROVIDES += "virtual/phosphor-logging-callouts" |
| 16 | |
| 17 | S = "${WORKDIR}" |
| 18 | |
| 19 | do_install() { |
| 20 | DEST=${D}${callouts_datadir} |
| 21 | install -d ${DEST} |
| 22 | |
| 23 | ${bindir}/perl-native/perl \ |
| 24 | ${bindir}/gen_callouts.pl \ |
Matt Spinler | 3f6fcbe | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 25 | -m ${mrw_datadir}/${MRW_XML} \ |
Deepak Kodihalli | 44b1c52 | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 26 | -o ${DEST}/callouts.yaml |
| 27 | } |