acrn-config: support '--out' option for board/scenario/launch config

Currently, config tool generate board files and scenario files in
acrn-hypervisor directory, the origin souce code would be corrupted by
the config tool. Config tool add '--out' option for user to give a path
to store the generated files, without this option, tool will generate
files in origin source code.

Tracked-On: #4517
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Wei Liu
2020-03-17 11:16:54 +08:00
committed by wenlingz
parent 6b9c1f2d31
commit e1ae5ba638
7 changed files with 95 additions and 67 deletions

View File

@@ -708,3 +708,8 @@ def get_first_post_vm():
break
return (err_dic, i)
def mkdir(path):
common.mkdir(path)