Fix bugs for processing command line parameters
This commit is contained in:
parent
5e8871e1a2
commit
778be73cac
|
@ -30,6 +30,7 @@ import string
|
||||||
import utils
|
import utils
|
||||||
import operator
|
import operator
|
||||||
import rtconfig
|
import rtconfig
|
||||||
|
import platform
|
||||||
|
|
||||||
from SCons.Script import *
|
from SCons.Script import *
|
||||||
from utils import _make_path_relative
|
from utils import _make_path_relative
|
||||||
|
@ -297,7 +298,7 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
|
||||||
from WCS import ThreadStackStaticAnalysis
|
from WCS import ThreadStackStaticAnalysis
|
||||||
ThreadStackStaticAnalysis(Env)
|
ThreadStackStaticAnalysis(Env)
|
||||||
exit(0)
|
exit(0)
|
||||||
|
if platform.system() != 'Windows':
|
||||||
if GetOption('menuconfig'):
|
if GetOption('menuconfig'):
|
||||||
from menuconfig import menuconfig
|
from menuconfig import menuconfig
|
||||||
menuconfig(Rtt_Root)
|
menuconfig(Rtt_Root)
|
||||||
|
|
Loading…
Reference in New Issue