commit | 97d6351f50ec3bdb313b18d6743c3345ba766232 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Tue Jul 30 14:17:20 2024 +0000 |
committer | Matt Spinler <spinler@us.ibm.com> | Thu Aug 01 16:02:51 2024 +0000 |
tree | a855d55c8be3de58a93080eeaa95d4a287dad0c6 | |
parent | 3aa7cb098929ce1dc9c9a78562fcd8c7cade2c60 [diff] |
phosphor-hwmon: Add use-dev-path packageconfig With https://gerrit.openbmc.org/c/openbmc/phosphor-hwmon/+/72996, phosphor-hwmon can be told to use the device path as the path to its config files and not the OF_FULLNAME udev env var. Add a 'use-dev-path' packageconfig option to the recipe that bbappend files in other layers can use to enable this option. Change-Id: I6009dfbe234fbb8867bbc558b267a5bf45fa878d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb b/meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb index ddeac35..5ccc5fd 100644 --- a/meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb +++ b/meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb
@@ -15,6 +15,7 @@ PACKAGECONFIG ??= "" # Meson configure option to enable/disable max31785-msl PACKAGECONFIG[max31785-msl] = "-Denable-max31785-msl=true, -Denable-max31785-msl=false" +PACKAGECONFIG[use-dev-path] = "-Dalways-use-devpath=enabled, -Dalways-use-devpath=disabled" PV = "1.0+git${SRCPV}" PR = "r1"