From 3eb117a322aca11f049bb05beea5eb2f6385cb8e Mon Sep 17 00:00:00 2001 From: Vishwanatha Subbanna Date: Wed, 12 Jul 2017 16:13:49 +0530 Subject: Use Host Command Manager in host interface implementation Change-Id: Icefce510a3a0022bf0288fa99518459b732a2e04 Signed-off-by: Vishwanatha Subbanna --- configure.ac | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 9c909ea..dd6a194 100644 --- a/configure.ac +++ b/configure.ac @@ -133,11 +133,17 @@ 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]) +# Host object name in the D-Bus +AC_ARG_VAR(HOST_NAME, [The Host name in the object path]) +AS_IF([test "x$HOST_NAME" == "x"], + [HOST_NAME="host"]) +AC_DEFINE_UNQUOTED([HOST_NAME], ["$HOST_NAME"], [The Host name in the object path]) + +# Service dbus object manager +AC_ARG_VAR(CONTROL_HOST_OBJ_MGR, [The Control Host D-Bus Object Manager]) +AS_IF([test "x$CONTROL_HOST_OBJ_MGR" == "x"], + [CONTROL_HOST_OBJ_MGR="/xyz/openbmc_project/control"]) +AC_DEFINE_UNQUOTED([CONTROL_HOST_OBJ_MGR], ["$CONTROL_HOST_OBJ_MGR"], [The Control Host D-Bus Object Manager]) # Create configured output AC_CONFIG_FILES([Makefile test/Makefile softoff/Makefile softoff/test/Makefile]) -- cgit v1.2.1