regs: Regulators control program
The regulators control program is used to control the mode in which the
phosphor-regulators application should run in. This is done by doing
dbus method calls into the phosphor-regulators service which changes the
mode in which the application runs.
Tested:
Handles unsupported arguments and parameters
Configure mode method called
Enable monitoring mode method called
Disable monitoring mode method called
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: Ia9c9b48469d39059d32518949faaa50c6a038236
diff --git a/phosphor-regulators/src/meson.build b/phosphor-regulators/src/meson.build
index 7415050..1a1602f 100644
--- a/phosphor-regulators/src/meson.build
+++ b/phosphor-regulators/src/meson.build
@@ -56,3 +56,12 @@
include_directories: phosphor_regulators_include_directories,
install: true
)
+
+regsctl = executable(
+ 'regsctl',
+ 'regsctl/main.cpp',
+ dependencies: [
+ sdbusplus
+ ],
+ install: true
+)