diff options
| author | Man, Jianting (Meco) <[email protected]> | 2022-12-06 22:30:28 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-06 22:30:28 -0500 |
| commit | 4dd0e670565b9156b6481e421e76fe52a3294b85 (patch) | |
| tree | 0b54b4754323cf0919dc887811191f03fbd145a4 /tools/options.py | |
| parent | a64750ebede641742d0e4d646169531000d8b2c2 (diff) | |
[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变量提前预载之后重载变量的问题
Diffstat (limited to 'tools/options.py')
| -rw-r--r-- | tools/options.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/options.py b/tools/options.py index db5f52f632..076f648ef8 100644 --- a/tools/options.py +++ b/tools/options.py @@ -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', |
