mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 17:18:24 +00:00
[tools] move import of pymenuconfig to pyconfig function
This commit is contained in:
@@ -20,12 +20,11 @@
|
||||
# Change Logs:
|
||||
# Date Author Notes
|
||||
# 2017-12-29 Bernard The first version
|
||||
# 2018-07-31.....weety Support pyconfig
|
||||
# 2018-07-31 weety Support pyconfig
|
||||
|
||||
import os
|
||||
import sys
|
||||
import shutil
|
||||
import pymenuconfig
|
||||
|
||||
# make rtconfig.h from .config
|
||||
|
||||
@@ -227,6 +226,7 @@ def menuconfig(RTT_ROOT):
|
||||
|
||||
# pyconfig for windows and linux
|
||||
def pyconfig(RTT_ROOT):
|
||||
import pymenuconfig
|
||||
|
||||
touch_env()
|
||||
env_dir = get_env_dir()
|
||||
|
||||
Reference in New Issue
Block a user