Add support for memory preserving reboot
Memory preserving reboot is executed when an error encountered
in the hypervisor. There are two SBE chip ops to be executed to
initiate and complete this reboot. The sbe_enter_mpipl chip op
initiates the powering off process and sbe_continue_mpipl restarts
the host in the memory preserving way.
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: I5b40398921e3856645bb3f292e49a1de12659f7e
diff --git a/Makefile.am b/Makefile.am
index d1842cb..f9bb234 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -33,7 +33,8 @@
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
$(SDBUSPLUS_LIBS) \
-lstdc++fs \
- -lgpiodcxx
+ -lgpiodcxx \
+ -lpthread
openpower_proc_control_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \