diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/fans/phosphor-fan-control-fan-config-mrw.bb')
-rw-r--r-- | meta-phosphor/recipes-phosphor/fans/phosphor-fan-control-fan-config-mrw.bb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/meta-phosphor/recipes-phosphor/fans/phosphor-fan-control-fan-config-mrw.bb b/meta-phosphor/recipes-phosphor/fans/phosphor-fan-control-fan-config-mrw.bb index 428c21245b..0f8f643bcc 100644 --- a/meta-phosphor/recipes-phosphor/fans/phosphor-fan-control-fan-config-mrw.bb +++ b/meta-phosphor/recipes-phosphor/fans/phosphor-fan-control-fan-config-mrw.bb @@ -1,22 +1,21 @@ SUMMARY = "Generate fan control YAML from the MRW" -PR = "r1" LICENSE = "Apache-2.0" +DEPENDS = "mrw-native mrw-perl-tools-native" +PROVIDES += "virtual/phosphor-fan-control-fan-config" +PR = "r1" + +S = "${WORKDIR}" inherit allarch inherit phosphor-fan inherit mrw-xml -S = "${WORKDIR}" -DEPENDS = "mrw-native mrw-perl-tools-native" -PROVIDES += "virtual/phosphor-fan-control-fan-config" - do_compile() { ${bindir}/perl-native/perl \ ${bindir}/gen_fan_zone_yaml.pl \ -i ${STAGING_DIR_NATIVE}${mrw_datadir}/${MRW_XML} \ -o fans.yaml } - do_install() { install -D fans.yaml ${D}${control_datadir}/fans.yaml } |