From 62817fa92d7a728e2b4d045019776cab0809289f Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Mon, 20 Mar 2017 14:20:49 -0500 Subject: Register new Control.Host bus in ipmid This sets up the framework for future commits to implement the required interfaces and signals in Control.Host Change-Id: I43cd7d3047ed9cfbf1a01e7ba3a0310e9d47c307 Signed-off-by: Andrew Geissler --- configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 882b01e..1134046 100644 --- a/configure.ac +++ b/configure.ac @@ -99,6 +99,19 @@ AS_IF([test "x$enable_softoff" != "xno"], [AC_DEFINE_UNQUOTED([IPMI_HOST_SHUTDOWN_COMPLETE_TIMEOUT_SECS], [45*60], [Wait time until Host can quiesce])] ) +# Control Host Interfaces +# Dbus service name +AC_ARG_VAR(CONTROL_HOST_BUSNAME, [The Control Host Dbus busname to own]) +AS_IF([test "x$CONTROL_HOST_BUSNAME" == "x"], + [CONTROL_HOST_BUSNAME="xyz.openbmc_project.Control.Host"]) +AC_DEFINE_UNQUOTED([CONTROL_HOST_BUSNAME], ["$CONTROL_HOST_BUSNAME"], [The Control Host Dbus busname to own]) + +# Service dbus root +AC_ARG_VAR(CONTROL_HOST_OBJPATH, [The Control Host Dbus root]) +AS_IF([test "x$CONTROL_HOST_OBJPATH" == "x"], + [CONTROL_HOST_OBJPATH="/xyz/openbmc_project/control/host"]) +AC_DEFINE_UNQUOTED([CONTROL_HOST_OBJPATH], ["$CONTROL_HOST_OBJPATH"], [The Control Host Dbus root]) + # Create configured output AC_CONFIG_FILES([Makefile test/Makefile softoff/Makefile softoff/test/Makefile]) AC_OUTPUT -- cgit v1.2.1