dbus-sdr: disable [sensor/storage]handler builds when using dbus-sdr
The --dynamic_sensors flag is used to enable/disable the building of
the handler. Enabling it should allow the handlers to take effect
without needing a patch to increase the priority.
Disable the builds for the other handler to make sure the dbus-sdr takes
over.
Change-Id: I5cfc7a7ca30aac9e5c501c67945acb5f6fd34380
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/Makefile.am b/Makefile.am
index 3e25794..98487ad 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -97,9 +97,7 @@
app/watchdog_service.cpp \
apphandler.cpp \
sys_info_param.cpp \
- sensorhandler.cpp \
entity_map_json.cpp \
- storagehandler.cpp \
chassishandler.cpp \
dcmihandler.cpp \
ipmisensor.cpp \
@@ -115,6 +113,13 @@
$(libipmi20_la_TRANSPORTOEM) \
$(libipmi20_BUILT_LIST)
+if FEATURE_DYNAMIC_SENSORS
+else
+libipmi20_la_SOURCES += \
+ sensorhandler.cpp \
+ storagehandler.cpp
+endif
+
check_PROGRAMS =
XFAIL_TESTS =