mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-04 22:47:00 +00:00
add interface to save scenario xmls and launch xmls to user defined path in config editor; move all config xmls and generated scripts out of acrn-hypervisor. Tracked-On: #6208 Signed-off-by: Shuang Zheng <shuang.zheng@intel.com> Reviewed-by: Victor Sun <victor.sun@intel.com>
19 lines
466 B
Python
19 lines
466 B
Python
# Copyright (C) 2019 Intel Corporation.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
"""Configurations for config app.
|
|
|
|
"""
|
|
|
|
import os
|
|
|
|
BOARD_INFO = None
|
|
BOARD_TYPE = None
|
|
SCENARIO = None
|
|
LAUNCH = None
|
|
DEFAULT_CONFIG_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'data')
|
|
CONFIG_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '..', '..', '..', 'user_config')
|
|
|
|
if not os.path.isdir(CONFIG_PATH):
|
|
os.makedirs(CONFIG_PATH)
|