parent
93a7cff44c
commit
8abaf17772
|
@ -209,7 +209,7 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
|
||||||
|
|
||||||
exec_prefix = GetOption('exec-prefix')
|
exec_prefix = GetOption('exec-prefix')
|
||||||
if exec_prefix:
|
if exec_prefix:
|
||||||
os.environ['RTT_EXEC_PREFIX'] = exec_prefix
|
os.environ['RTT_CC_PREFIX'] = exec_prefix
|
||||||
|
|
||||||
# auto change the 'RTT_EXEC_PATH' when 'rtconfig.EXEC_PATH' get failed
|
# auto change the 'RTT_EXEC_PATH' when 'rtconfig.EXEC_PATH' get failed
|
||||||
if not os.path.exists(rtconfig.EXEC_PATH):
|
if not os.path.exists(rtconfig.EXEC_PATH):
|
||||||
|
|
|
@ -85,11 +85,11 @@ def AddOptions():
|
||||||
dest = 'target',
|
dest = 'target',
|
||||||
type = 'string',
|
type = 'string',
|
||||||
help = 'set target project: mdk/mdk4/mdk5/iar/vs/vsc/ua/cdk/ses/makefile/eclipse/codelite/cmake')
|
help = 'set target project: mdk/mdk4/mdk5/iar/vs/vsc/ua/cdk/ses/makefile/eclipse/codelite/cmake')
|
||||||
AddOption('--exec-prefix',
|
AddOption('--cc-prefix', '--exec-prefix',
|
||||||
dest = 'exec-prefix',
|
dest = 'exec-prefix',
|
||||||
type = 'string',
|
type = 'string',
|
||||||
help = 'set RTT_EXEC_PREFIX temperately')
|
help = 'set RTT_CC_PREFIX temperately')
|
||||||
AddOption('--exec-path',
|
AddOption('--cc-path', '--exec-path',
|
||||||
dest = 'exec-path',
|
dest = 'exec-path',
|
||||||
type = 'string',
|
type = 'string',
|
||||||
help = 'set RTT_EXEC_PATH temperately')
|
help = 'set RTT_EXEC_PATH temperately')
|
||||||
|
|
Loading…
Reference in New Issue