Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 1 | SUMMARY = "Generated callout information for phosphor-logging" |
Brad Bishop | 75f0387 | 2018-11-03 09:41:57 -0700 | [diff] [blame] | 2 | LICENSE = "Apache-2.0" |
Brad Bishop | 6f3f0aa | 2019-09-13 12:14:05 -0400 | [diff] [blame] | 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 4 | DEPENDS += " \ |
| 5 | mrw-native \ |
| 6 | mrw-perl-tools-native \ |
| 7 | " |
| 8 | PROVIDES += "virtual/phosphor-logging-callouts" |
| 9 | PR = "r1" |
| 10 | |
| 11 | S = "${WORKDIR}" |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 12 | |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 13 | inherit phosphor-logging |
Matt Spinler | 0a8ea63 | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 14 | inherit mrw-xml |
Joseph Reynolds | 79809ea | 2021-02-26 15:37:31 -0600 | [diff] [blame] | 15 | inherit native |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 16 | |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 17 | do_install() { |
| 18 | DEST=${D}${callouts_datadir} |
| 19 | install -d ${DEST} |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 20 | ${bindir}/perl-native/perl \ |
| 21 | ${bindir}/gen_callouts.pl \ |
Matt Spinler | 0a8ea63 | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 22 | -m ${mrw_datadir}/${MRW_XML} \ |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 23 | -o ${DEST}/callouts.yaml |
| 24 | } |