diff options
Diffstat (limited to 'meta-quanta/meta-q71l/recipes-phosphor/sensors/phosphor-hwmon%.bbappend')
-rw-r--r-- | meta-quanta/meta-q71l/recipes-phosphor/sensors/phosphor-hwmon%.bbappend | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-quanta/meta-q71l/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-quanta/meta-q71l/recipes-phosphor/sensors/phosphor-hwmon%.bbappend new file mode 100644 index 0000000000..19365c2fc8 --- /dev/null +++ b/meta-quanta/meta-q71l/recipes-phosphor/sensors/phosphor-hwmon%.bbappend @@ -0,0 +1,17 @@ +inherit obmc-phosphor-utils + +FILESEXTRAPATHS_prepend_quanta-q71l := "${THISDIR}/${PN}:" + +# More conf files can be added as sensors are added. + +ITEMS = "pwm-tacho-controller@1e786000.conf" + +TEMPS = "tmp75@4c tmp75@4e tmp75@4f" +TEMPBASE = "ahb/apb/i2c@1e78a000/i2c-bus@80/{0}.conf" +ITEMS += "${@compose_list(d, 'TEMPBASE', 'TEMPS')}" +ITEMS += "iio-hwmon.conf" + +ENVS = "obmc/hwmon/{0}" +SYSTEMD_ENVIRONMENT_FILE_${PN}_append_quanta-q71l := " ${@compose_list(d, 'ENVS', 'ITEMS')}" + +EXTRA_OECONF_append_quanta-q71l = " --enable-negative-errno-on-fail" |