Add phosphor-multi-gpio-presence
The new service works like phosphor-gpio-presence, but uses libgpiod
and can monitor an arbitrary amount of GPIOs.
The driver loading feature hasn't been ported to the new service.
Change-Id: I412345f804208e48eec40ec020b3a0d8f668a34b
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
diff --git a/meson.build b/meson.build
index 5337496..0148a0c 100644
--- a/meson.build
+++ b/meson.build
@@ -62,6 +62,12 @@
)
fs.copyfile(
+ 'phosphor-multi-gpio-presence.service',
+ install: true,
+ install_dir: systemd_system_unit_dir
+)
+
+fs.copyfile(
'phosphor-gpio-presence@.service',
install: true,
install_dir: systemd_system_unit_dir
@@ -136,6 +142,7 @@
cli11_dep,
libgpiod,
nlohmann_json_dep,
+ phosphor_dbus_interfaces,
phosphor_logging,
sdbusplus,
],
@@ -144,6 +151,7 @@
)
subdir('presence')
+subdir('multi-presence')
build_tests = get_option('tests')
if build_tests.allowed()