mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-07 20:00:13 +00:00
makefile: cover menuconfig way to configure board/scenario
We now have four methods to configure board and scenario when build acrn (sorted with priority): 1. Change them with "make menuconfig" in hypervisor directory 2. Give baord_file/scenario_file as make command parameters 3. Give BOARD/SCENARIO as make command parameters 4. Use BOARD/SCENARIO default value defined in Makefile file With this patch, we make sure we follow priority exactly. Tracked-On: #4067 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Signed-off-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
@@ -97,7 +97,7 @@ def main():
|
||||
need_update = True
|
||||
else:
|
||||
# report an error if no known defconfig exists
|
||||
sys.stderr.write(".config does not exist and no defconfig available.\n")
|
||||
sys.stderr.write(".config does not exist and no defconfig available for BOARD %s.\n" % os.environ['BOARD'])
|
||||
sys.exit(1)
|
||||
|
||||
# Update the old .config with those specified on cmdline
|
||||
|
Reference in New Issue
Block a user