acrn-config: generate a patch and apply to acrn-hypervisor

the script will parser the the board information which already generated on
target board, and apply to the acrn-hypervisor as a patch.

usage: board_cfg_gen.py --board <board_info_file>

sample:
	$ python3 board_cfg_gen.py --board ../target_board/board_info.xml

v1-v2:
1. allow to generate new board patch

v2-v3:
1. modify the description of generator tools
2. parser board_name.xml file
3. coding as PEP8 guildline

Tracked-On: #3480
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Reviewed-by: Shuang Zheng shuang.zheng@intel.com
Acked-by: Terry Zou <terry.zou@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Wei Liu
2019-07-30 09:20:40 +08:00
committed by ACRN System Integration
parent 8adefe26ac
commit a03b134190
8 changed files with 684 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
Please run board_cfg_gen.py to generate board related configuration patch, the patch would be applied on current acrn-hypervisor git tree automatically.
usage: python3 board_cfg_gen.py [h] --board <board_info_file>
positional arguments:
board_info_file : file name of the board info XML