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"