mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-07 03:04:49 +00:00
Makefile: automatically determine the location of 'iasl'
The 'iasl' binary (from the acpica) package can be installed in different locations depending on the distribution. By default, we look for it under '/usr/sbin/'. But it is also often found under '/usr/bin'. This can be overwritten by setting the ASL_COMPILER flag when compiling ACRN. This patch goes one step further and automatically determine where 'iasl' is on the development system if the ASL_COMPILER variable has not been set already. Tracked-On: #5854 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
parent
ac091bacba
commit
afe07cc237
1
Makefile
1
Makefile
@ -73,6 +73,7 @@ BUILD_VERSION ?=
|
|||||||
BUILD_TAG ?=
|
BUILD_TAG ?=
|
||||||
HV_CFG_LOG = $(HV_OUT)/cfg.log
|
HV_CFG_LOG = $(HV_OUT)/cfg.log
|
||||||
VM_CONFIGS_DIR = $(T)/misc/config_tools
|
VM_CONFIGS_DIR = $(T)/misc/config_tools
|
||||||
|
ASL_COMPILER ?= $(shell which iasl)
|
||||||
|
|
||||||
.PHONY: all hypervisor devicemodel tools doc
|
.PHONY: all hypervisor devicemodel tools doc
|
||||||
all: hypervisor devicemodel tools
|
all: hypervisor devicemodel tools
|
||||||
|
Loading…
Reference in New Issue
Block a user