Deepak Kodihalli | 44b1c52 | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 1 | SUMMARY = "Generated callout information for phosphor-logging" |
| 2 | PR = "r1" |
| 3 | |
| 4 | inherit native |
| 5 | inherit obmc-phosphor-license |
| 6 | inherit phosphor-logging |
| 7 | |
| 8 | DEPENDS += " \ |
| 9 | mrw-native \ |
| 10 | mrw-perl-tools-native \ |
| 11 | " |
| 12 | |
| 13 | PROVIDES += "virtual/phosphor-logging-callouts" |
| 14 | |
| 15 | S = "${WORKDIR}" |
| 16 | |
| 17 | do_install() { |
| 18 | DEST=${D}${callouts_datadir} |
| 19 | install -d ${DEST} |
| 20 | |
| 21 | ${bindir}/perl-native/perl \ |
| 22 | ${bindir}/gen_callouts.pl \ |
| 23 | -m ${datadir}/obmc-mrw/${MACHINE}.xml \ |
| 24 | -o ${DEST}/callouts.yaml |
| 25 | } |