summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan-presence-mrw-native.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/fans/phosphor-fan-presence-mrw-native.bb')
-rw-r--r--meta-phosphor/common/recipes-phosphor/fans/phosphor-fan-presence-mrw-native.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan-presence-mrw-native.bb b/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan-presence-mrw-native.bb
index 9d19847f3..47dc2a4a1 100644
--- a/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan-presence-mrw-native.bb
+++ b/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan-presence-mrw-native.bb
@@ -4,6 +4,7 @@ PR = "r1"
inherit native
inherit obmc-phosphor-license
inherit phosphor-fan
+inherit mrw-xml
DEPENDS += " \
mrw-native \
@@ -20,6 +21,6 @@ do_install() {
${bindir}/perl-native/perl \
${bindir}/gen_presence_yaml.pl \
- -i ${datadir}/obmc-mrw/${MACHINE}.xml \
+ -i ${mrw_datadir}/${MRW_XML} \
-o ${DEST}/config.yaml
}