Add option to override of_node to use devpath

Allow us to force phosphor-hwmon to use the devpath to detect even if
the of_name exists. Some system may not be setup properly to have the
hwmon setup matching what we needed. This allow us to have the
flexibility to override some config if we are not able to fix it on the
driver side.

The linux change in
https://github.com/torvalds/linux/commit/2315332efcbe7124252f080e03b57d3d2f1f4771
create the of_node to the device's ancestor instead of having it
missing. This forces multiple devices to be linked to the same node.
This required a single config to support multiple different type of
devices.

This change allow us to avoid that if it is not feasible to fix the
issue on the driver side.

Tested:
Override the devices with devpath only and didn't break other devices.

```
meson build -Doverride-with-devpath=nodeA,nodeB
```

with this if the `of_fullname` has a filename ended with nodeA or
nodeB, then it will not use the `of_fullname` and use the devpath
instead.

Change-Id: I76d05f0cf2aa8de3b7efadea8eb513f4708f049b
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/meson.build b/meson.build
index c9c4970..7a1b810 100644
--- a/meson.build
+++ b/meson.build
@@ -116,10 +116,13 @@
     install_dir: udev_dir / 'rules.d'
 )
 
-install_data(
-    'start_hwmon.sh',
+configure_file(
+    input : 'start_hwmon.sh.in',
+    output : 'start_hwmon.sh',
+    configuration: {'OVERRIDE_WITH_DEVPATH': ' '.join(get_option('override-with-devpath'))},
     install_dir: get_option('bindir'),
-    install_mode: 'rwxr-xr-x'
+    install_mode: 'rwxr-xr-x',
+    install: true,
 )
 
 subdir('msl')