提交 b0a813df 编写于 作者: B Bernard Xiong

[tools] move import of pymenuconfig to pyconfig function

上级 bdc8fe9a
...@@ -20,12 +20,11 @@ ...@@ -20,12 +20,11 @@
# Change Logs: # Change Logs:
# Date Author Notes # Date Author Notes
# 2017-12-29 Bernard The first version # 2017-12-29 Bernard The first version
# 2018-07-31.....weety Support pyconfig # 2018-07-31 weety Support pyconfig
import os import os
import sys import sys
import shutil import shutil
import pymenuconfig
# make rtconfig.h from .config # make rtconfig.h from .config
...@@ -227,6 +226,7 @@ def menuconfig(RTT_ROOT): ...@@ -227,6 +226,7 @@ def menuconfig(RTT_ROOT):
# pyconfig for windows and linux # pyconfig for windows and linux
def pyconfig(RTT_ROOT): def pyconfig(RTT_ROOT):
import pymenuconfig
touch_env() touch_env()
env_dir = get_env_dir() env_dir = get_env_dir()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册