mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-17 23:08:07 +00:00
DM: ACPI: Avoiding hard code the ASL_COMPILER macro
The ASL_COMPILER macro is hard coded as /usr/sbin/iasl, it is complained by some developers. This patch changes it to a flexible way, by which the following make command lines are supported: make make devicemodel make ASL_COMPILER=/path/to/iasl make ASL_COMPILER=/path/to/iasl devicemodel Tracked-On: #2298 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com>
This commit is contained in:
@@ -89,7 +89,9 @@
|
||||
|
||||
#define ASL_TEMPLATE "dm.XXXXXXX"
|
||||
#define ASL_SUFFIX ".aml"
|
||||
#ifndef ASL_COMPILER
|
||||
#define ASL_COMPILER "/usr/sbin/iasl"
|
||||
#endif
|
||||
|
||||
uint64_t audio_nhlt_len = 0;
|
||||
uint32_t csme_sec_cap = 0;
|
||||
|
Reference in New Issue
Block a user