misc: life_mngr: generate system_reboot_trigger_win.py script when build life_mngr

generate system_reboot_trigger_win.py script when build life_mngr for Waag.

Tracked-On: #7215
Signed-off-by: Fei Li <fei1.li@intel.com>
This commit is contained in:
Fei Li 2022-06-14 15:20:42 +08:00 committed by acrnsi-robot
parent 2c7fbecc89
commit ce34ca658e
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ ifneq ($(shell which $(MINGWIN_CC)),)
$(MINGWIN_CC) -g life_mngr_win.c -o $(OUT_DIR)/life_mngr_win.exe -Wall -O2 $(LDFLAGS) -lwsock32
cp COPYING.MinGW-w64-runtime.txt $(OUT_DIR)/COPYING.MinGW-w64-runtime.txt
cp s5_trigger_win.py $(OUT_DIR)/s5_trigger_win.py
cp system_reboot_trigger_win.py $(OUT_DIR)/system_reboot_trigger_win.py
else
@echo "WARN: $(MINGWIN_CC) not installed, skipping life_mngr_win.exe" >&2
endif