LampTest: Notify PHYP to start the lamp test

- As part of the lamp test, when the lamp test is started / stoped,
  the BMC needs to notify PHYP, so that PHYP can do lamp test on
  externally connected drawers.
  For example: MEX IO drawers.

- Since the command to notify PHYP needs to be completed in the PLDM
  daemon, ledManager only needs to update the corresponding D-Bus
  interface property value.

Tested:
- Notify PHYP by the host-lamp-test path
  busctl set-property xyz.openbmc_project.LED.GroupManager
  /xyz/openbmc_project/led/groups/host_lamp_test
  xyz.openbmc_project.Led.Group Asserted b true

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I0a0aad91c512183e457903bddb392ee56118f21c
diff --git a/configure.ac b/configure.ac
index b0e7985..27d4d9d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,20 +89,24 @@
     AS_HELP_STRING([--enable-use-lamp-test], [Enable lamp test configuration.]))
 AM_CONDITIONAL([WANTS_LAMP_TEST], [test "x$enable_use_lamp_test" == "xyes"])
 
-
-
 AS_IF([test "x$enable_use_lamp_test" == "xyes"],
     AC_DEFINE([USE_LAMP_TEST],[],[Enable lamp test configuration.])
 
     # lamp test path
     AC_ARG_VAR(LAMP_TEST_OBJECT, [The lamp test object])
 
+    # host lamp test path
+    AC_ARG_VAR(HOST_LAMP_TEST_OBJECT, [The lamp test object])
+
     # lamp test timeout secs
     AC_ARG_VAR(LAMP_TEST_TIMEOUT_IN_SECS, [The lamp test timeout in seconds])
 
     AS_IF([test "x$LAMP_TEST_OBJECT" == "x"], [LAMP_TEST_OBJECT="/xyz/openbmc_project/led/groups/lamp_test"])
     AC_DEFINE_UNQUOTED([LAMP_TEST_OBJECT], ["$LAMP_TEST_OBJECT"], [The lamp test D-Bus object])
 
+    AS_IF([test "x$HOST_LAMP_TEST_OBJECT" == "x"], [HOST_LAMP_TEST_OBJECT="/xyz/openbmc_project/led/groups/host_lamp_test"])
+    AC_DEFINE_UNQUOTED([HOST_LAMP_TEST_OBJECT], ["$HOST_LAMP_TEST_OBJECT"], [The host lamp test D-Bus object])
+
     AS_IF([test "x$LAMP_TEST_TIMEOUT_IN_SECS" == "x"], [LAMP_TEST_TIMEOUT_IN_SECS=240])
     AC_DEFINE_UNQUOTED([LAMP_TEST_TIMEOUT_IN_SECS], [$LAMP_TEST_TIMEOUT_IN_SECS], [The lamp test timeout in seconds])
 )