mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-16 22:39:29 +00:00
dm: verify the "iasl" version
This patch does: - define IASL_MIN_VER in the top-level Makefile and pass it Device Model - verify the "iasl" version at run time if "iasl" version is older than IASL_MIN_VER, refuse to launch the post-launched VM and exit directly. Tracked-On: #7880 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
committed by
acrnsi-robot
parent
cc309bd973
commit
59b6d7b404
3
Makefile
3
Makefile
@@ -86,6 +86,7 @@ ASL_COMPILER ?= $(shell which iasl)
|
||||
DPKG_BIN ?= $(shell which dpkg)
|
||||
YARN_BIN ?= $(shell which yarn)
|
||||
CARGO_BIN ?= $(shell which cargo)
|
||||
IASL_MIN_VER = "20190703"
|
||||
|
||||
.PHONY: all hypervisor devicemodel tools life_mngr doc
|
||||
all: hypervisor devicemodel tools
|
||||
@@ -132,7 +133,7 @@ hvapplydiffconfig:
|
||||
@$(MAKE) applydiffconfig $(HV_MAKEOPTS) PATCH=$(abspath $(PATCH))
|
||||
|
||||
devicemodel: tools
|
||||
$(MAKE) -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) DM_BUILD_VERSION=$(BUILD_VERSION) DM_BUILD_TAG=$(BUILD_TAG) TOOLS_OUT=$(TOOLS_OUT) RELEASE=$(RELEASE)
|
||||
$(MAKE) -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) DM_BUILD_VERSION=$(BUILD_VERSION) DM_BUILD_TAG=$(BUILD_TAG) TOOLS_OUT=$(TOOLS_OUT) RELEASE=$(RELEASE) IASL_MIN_VER=$(IASL_MIN_VER)
|
||||
|
||||
tools:
|
||||
mkdir -p $(TOOLS_OUT)
|
||||
|
Reference in New Issue
Block a user