Add ability to configure from dbus
This allows configuration of PID control from dbus using
entity manager. Sample configuration will be pushed to
entity-manager repo shortly.
Tested-by: Used yaml configuration and dbus / entity-manager
based configuration and pid seemed to work the same.
Verified printout of configuration matched generated
cpp files.
Change-Id: Ia7b016e53262791ffcccdb9b21c1ccddae2926bc
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/Makefile.am b/Makefile.am
index 10cefda..36eeb80 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,9 @@
sbin_PROGRAMS = swampd setsensor
-BUILT_SOURCES = sensorlist-gen.cpp pidlist-gen.cpp zoneinfo-gen.cpp
+if !CONFIGURE_DBUS
+ BUILT_SOURCES = sensorlist-gen.cpp pidlist-gen.cpp zoneinfo-gen.cpp
+endif
CLEANFILES = $(BUILT_SOURCES)
sensorlist-gen.cpp:
@@ -41,6 +43,8 @@
dbus/util.cpp \
dbus/dbuspassive.cpp \
dbus/dbusactiveread.cpp \
+ dbus/dbusconfiguration.cpp \
+ dbus/dbuswrite.cpp \
sysfs/sysfsread.cpp \
sysfs/sysfswrite.cpp \
sysfs/util.cpp \