acrn-hypervisor/misc/config_tools
Qiang Zhang 03a9c78e8d misc: config_tools: fix make deadloop on release build with debug scenario
When I build a release acrn with a debug scenario like this:
$ BOARD=nuc11tnbi5 SCENARIO=shared make -j1 RELEASE=y

Following logs are repeated endlessly.

/home/abc/workspace/mainline/acrn-hypervisor/build/hypervisor/configs/allocation.xml generated
/home/abc/workspace/mainline/acrn-hypervisor/build/hypervisor/configs/unified.xml generated
/home/abc/workspace/mainline/acrn-hypervisor/build/hypervisor/configs/config.mk generated
scripts/makefile/config.mk:191: The command line sets RELEASE to be 'y', but an existing build is configured with 'n'
scripts/makefile/config.mk:191: The configuration will be modified for RELEASE=y

Because "BUILD_TYPE" was moved out of "DEBUG_OPTIONS" in scenario file,
outdated transform script fails to extract information there and it always
set 'CONFIG_RELEASE=n'.

If a makefile is included with a rule for it, the rule will be executed
first to generated new makefile. If it's updated, the make process will
be reexecuted with new makefile.

In the case above, build/hypervisor/configs/config.mk rule is executed every
time make tries to include it. Unhandled different between `RELEASE` and
`CONFIG_RELEASE` causes determine_build_type to update .scenario.xml which
is a dependency of hypervisor/scripts/makefile/config.mk.

Tracked-On: #7657
Signed-off-by: Qiang Zhang <qiang4.zhang@intel.com>
2022-06-01 19:11:09 +08:00
..
acpi_gen config_tools: track whether each vCPU is used for real-time or not 2022-04-21 10:08:53 +08:00
acpi_template/template config_tools: generate vDSDT according to allocated resources 2021-08-09 09:05:01 +08:00
board_config misc: refine CLOS module for expansibility 2022-05-11 17:00:51 +08:00
board_inspector board_inspector:refine board_inspector.py 2022-06-01 18:27:50 +08:00
configurator misc: configurator: fix IVSHMEM size missing bug 2022-06-01 17:47:31 +08:00
data misc: remove clos element for vCAT refine 2022-05-27 17:55:20 +08:00
hv_config misc: add HV_RAM_START to fix multiboot relocation issue 2022-05-30 20:15:29 +08:00
launch_config misc: config_tool: fix passthrough device options in launch script 2022-05-30 15:54:54 +08:00
library Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
scenario_config config_tools: fix move_enablement in the upgrader 2022-05-30 17:23:22 +08:00
schema config-tools: refine vsock UI 2022-05-31 15:10:46 +08:00
service_vm_config misc: modify the non stand s5 vUART generate logic 2022-05-24 11:44:03 +08:00
static_allocators misc: configurator: Add entry "None" to HV console selector 2022-05-24 17:14:38 +08:00
xforms misc: config_tools: fix make deadloop on release build with debug scenario 2022-06-01 19:11:09 +08:00
build.cmd config_tools: fix Windows config_tools package build script 2022-05-22 20:10:24 +08:00
LICENSE config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
MANIFEST.in config_tools: change JSON Schema source file 2022-05-13 11:13:42 +08:00
pyproject.toml config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
README.md config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
setup.cfg config_tools: change JSON Schema source file 2022-05-13 11:13:42 +08:00

Supporting libraries of ACRN configuration toolset

This package contains the libraries supporting ACRN configuration toolset, including:

  • The manipulators and validators of scenario schemas or XMLs
  • The generator of guest ACPI tables

The main objective of this package is to ease the import of the supporting libraries in the ACRN configurator which uses a Python interpreter built in WebAssembly (WASM). This package is thus NOT intended to be used by users; invoke the Python scripts directly if needed.