mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-29 12:14:13 +00:00
In order to remove Kconfig from the build process, acrn-config shall transform XML configuration files to config.h and config.mk by itself. This patch adds XSLT scripts that do the trick. Unfortunately, the scenario XML file along is not sufficient to generate config.h and config.mk, though. In addition to resource allocation (i.e. allocating physical RAM for the hypervisor), the transformation also need to do the following: 1. Translate UART info in board XML into several configuration entries depending on the UART selected in the scenario XML. 2. Use the MAX_MSIX_TABLE_NUM value in the board XML if the scenario XML does not specify it. In order to use XSLT to transform both XMLs in one shot, a template is provided to create another XML that includes (using XInclude) both board and scenario XMLs as sub-nodes. It will be instantiated once the transformations are integrated in the following patch. v2: * Add `allocation.xml` to `unified.xml` to include the results from static allocation. * Use HV_RAM_START and HV_RAM_SIZE in allocation results if they are not explicitly specified in the scenario XML. Tracked-On: #5644 Signed-off-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
makefile | ||
genconf.sh | ||
genld.sh |