mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-13 21:09:54 +00:00
tools: vmcfg: use defconfig instead of default values in Kconfig
The current vmcfg uses the default values in Kconfig when a previous .config does not exist. This leads to additional complexity to silentoldconfig.py which has different logic depending on the environment variable 'BOARD'. This also blocks the effort to make the top-level Makefile recognize BOARD because any environment variable set in the top-level Makefile cascades to the other Makefiles, leading the work around above to fail. This patch introduces a generic defconfig for vmcfg and simplifies silentoldconfig.py to always fail when neither .config nor the specified defconfig exists. Tracked-On: #1995 Signed-off-by: Junjie Mao <junjie.mao@intel.com> Signed-off-by: Tw <wei.tan@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
config DEFCONFIG_LIST
|
||||
string
|
||||
option defconfig_list
|
||||
default "apl-mrb/vm1/configs/default.config"
|
||||
|
||||
menuconfig MRB_VM1
|
||||
bool "Build-in VM1 configuration for MRB"
|
||||
default n
|
||||
|
2
devicemodel/vmcfg/apl-mrb/vm1/configs/default.config
Normal file
2
devicemodel/vmcfg/apl-mrb/vm1/configs/default.config
Normal file
@@ -0,0 +1,2 @@
|
||||
# Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib)
|
||||
# CONFIG_VM_CFG is not set
|
Reference in New Issue
Block a user