mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-23 15:27:29 +08:00
[tools][musl] add scons --exec-prefix= 用于设置编译工具的前缀 (#6646)
* [tools][musl] add scons --exec-prefix= 用于设置编译工具的前缀 可以通过如下命令在qemu直接调用musl工具链: scons --exec-path=C:\xxx\arm-linux-musleabi_for_i686-w64-mingw32\bin --exec-prefix=arm-linux-musleabi- * comment out GenCconfigFile * 解决部分env变量提前预载之后重载变量的问题
This commit is contained in:
committed by
GitHub
parent
a64750ebed
commit
4dd0e67056
@@ -85,6 +85,10 @@ def AddOptions():
|
||||
dest = 'target',
|
||||
type = 'string',
|
||||
help = 'set target project: mdk/mdk4/mdk5/iar/vs/vsc/ua/cdk/ses/makefile/eclipse/codelite/cmake')
|
||||
AddOption('--exec-prefix',
|
||||
dest = 'exec-prefix',
|
||||
type = 'string',
|
||||
help = 'set RTT_EXEC_PREFIX temperately')
|
||||
AddOption('--exec-path',
|
||||
dest = 'exec-path',
|
||||
type = 'string',
|
||||
|
||||
Reference in New Issue
Block a user