Makefile: do not rm board acpi info header

The $(BOARD)_acpi_info.h is generated by acrn-config tool, remove this
header in make clean would cause failure when user finish configuring
in webUI and start to make acrn-hypervisor by the command
"make hypervisor BOARD=xxx SCENARIO=yyy" because we mandatory do make
clean before making hypervisor.

The patch replace the file removal with a warning string to hint user
to check the file validity.

Tracked-On: #3779

Signed-off-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Victor Sun
2019-11-19 17:19:41 +08:00
committed by wenlingz
parent 28e24c4198
commit f657bae0a8
2 changed files with 5 additions and 2 deletions

View File

@@ -446,7 +446,6 @@ $(HV_OBJDIR)/$(HV_FILE).out: $(MODULES)
.PHONY: clean
clean:
rm -f $(VERSION)
rm -f $(SOURCE_ACPI_INFO_HEADER)
rm -rf $(HV_OBJDIR)
.PHONY: distclean