soft-off: Add soft off timeout seconds configure option for the soft off app

Add timeout attribute for the softoff repo.
After BMC sends soft off command to host, BMC starts a timer and waits
for a chassis-off event message from the host.
If the timer expires, pldm-softpoweroff record error log and exit.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Id901bd589efaf8f0df9fa5272f5f10e4fda6e37b
Signed-off-by: Chicago Duan <duanzhijia01@inspur.com>
diff --git a/meson_options.txt b/meson_options.txt
index ae236ad..32e4ac3 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -7,3 +7,4 @@
 option('libpldm-only', type: 'feature', description: 'Only build libpldm', value: 'disabled')
 option('oem-ibm-dma-maxsize', type: 'integer', description: 'OEM-IBM: max DMA size', value: 16773120) #16MB - 4K
 option('softoff', type: 'feature', description: 'Build soft power off application', value: 'enabled')
+option('softoff-timeout-seconds', type: 'integer', description: 'softoff: Time to wait for host to gracefully shutdown', value: 7200)