summaryrefslogtreecommitdiff
path: root/tools/building.py
AgeCommit message (Collapse)Author
12 days[tools][build] Fail when the toolchain directory is missingRbb666
2026-07-07[ci]:add armclang BSP build coverage (#11577)CYFS
* ci: add armclang BSP build coverage * components/libc: avoid armclang errno include recursion
2026-06-12utest: move lwp testcases to components/lwpCYFS
Signed-off-by: CYFS <[email protected]>
2026-05-16[tools]: reject unicode dash optionsCYFS
2026-02-27[tool]Fix the issue where using the command "scons --target=eclipse" would ↵yans
rename the project name to "project".
2026-02-13chore: fix typo in components and libcputheqengineer
2026-01-01fix: 更换去重算法,保证工程输出一致性蒙蒙plus
便于 git管理
2025-07-15[tools]:修复iar添加宏不完全 (#10507)蒙蒙plus
[tools]:修复iar添加宏不完全 参考#10456
2025-07-08[tools] add vsc_workspace target in scons.bernard
2025-07-04fix:buding_keil_CPPDEFINESCYFS
2025-06-25[scons] code cleanup for scons script. (#10429)Bernard Xiong
* [scons] move project_generation to targets; code clean for building.py.
2025-05-19[tools] 修复rttstudio无法导入bsp的问题 (#10290)hydevcode
2025-03-10[fix][feature]Default to the previous fully packaged logic, add a ↵ZhaoCake
'dist-strip' option for simplified packaging.
2025-01-22[scons] ci.attachconfig.yml is used in combination with sconshydevcode
2025-01-11[tools] Add sdk_cfg.json setting for env CC detectionBernard Xiong
2025-01-05[tools] add logging as Env['log']bernard
Add logging as Env['log']: - the default level is INFO; - when using `scons --verbose`, the level will be change to debug level. - Add more debug information for cc detection.
2025-01-03[tools]: fix the issue of missing commands in compile_commands.json (#9856)aka-adi
* [tools]: fix the issue of missing commands in compile_commands.json * [tools]: fix the path of compile_commands.json
2024-12-18[tools] add zig targetguozhanxin
2024-07-31[tools/env]统一tools中env相关的接口,优化env部分路径拼接 ↵LaterComer
(#9185) * 统一tools中env相关的接口到env_utility.py文件,并同步调整ci * 移除非本提交的文件 --------- Co-authored-by: Meco Man <[email protected]>
2024-07-06[tool][cmake] Let cmake generator get more param from `rtconfig.py` (#9139)Kai
let cmake generator get more param from `rtconfig.py` * support getting c/cpp standard from c/cpp compilation flags * support getting post action and conv it to cmake variable * add a custom cmake file for user custom settings * support setting project name from `--project-name=` option
2024-06-30删除tools/kconfiglib文件夹,采用pip安装kconfiglibLaterComer
* 删除tools/kconfiglib文件夹,采用pip安装kconfiglib * workflows/action_utest.yml添加安装kconfiglib
2024-05-08[tools] fix the issue of cc detection failure in Windows (#8914)Bernard Xiong
2024-05-03[tools] Add --cdb to make compile_commands.json.bernard
2024-04-20[tools] fix EXEC_PATH exists, but the CC does not.bernard
2024-04-21[tools] Add toolchain detection in sdk packages (#8827)Bernard Xiong
2024-04-18将scons --menuconfig/--pyconfig/--pyconfig-silent统一调用kconfiglibLaterComer
2023-12-28[libc] Fix the MPU's rtconfig.h file identification problem in the script ↵Yuqiang Wang
(#8436)
2023-12-06[tools] format the optionszhkag
- format command options - rename the --add_rtconfig as --global-macros
2023-10-23[tools] Enable prebuilding action (#8133)1ridic
2023-10-22[tools] 增加vscode pyocd下载命令 scons --target=vsc --pack=xxxliYangYang
2023-09-15[env] remove --dist-strip commandMeco Man
2023-08-21[tools][gcc] remove legacy functionsMeco Man
- GenerateGCCConfig - GenCconfigFile
2023-07-25AArch64: support public linker scripts (#7831)GUI
Signed-off-by: GuEe-GUI <[email protected]>
2023-07-23[tools] --project-name= can use name with spaceMeco Man
2023-05-22[building] Fix the deque issue for Env['CPPDEFINES'] (#7541)Bernard Xiong
2023-04-06[tools] Add `--add-rtconfig` args for scons when you want to add macro ↵朱天龙 (Armink)
definitions build time.
2023-04-05[tools] update the comment for old gen cconfig.h code.朱天龙 (Armink)
2023-01-12[env] add scons --strictMeco Man
此commit意图在脚本中增加 scons --strict命令,使用该命令编译工程时,会自动将CFLAGS CXXFLAGS设置为 Werrors,即较为严格的编译模式,任何警告都会当做错误来处理。 该命令主要用于CI,在CI执行bsp编译时,可以使用 scons --strict命令。现在QEMU的rtconfig.py 为了CI检查,直接将CFLAGS加上了Werrors,导致正常编译过程中也把警告当做了错误,对日常使用该bsp造成了影响。
2023-01-02[tools] attach #6764 (#6799)Man, Jianting (Meco)
2022-12-19[tool] 增加scons --dist --project-path=xxxx命令 (#6713)Man, Jianting (Meco)
* [tools] 所有dist都打zip包 * 完善scons --dist/dist-ide --project-name --project-path命令
2022-12-06[tools][musl] add scons --exec-prefix= 用于设置编译工具的前缀 (#6646)Man, Jianting (Meco)
* [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变量提前预载之后重载变量的问题
2022-11-30[tools] 支持通过--project-name=xxx设置生成的工程文件名称Meco Man
默认为project.xx 与原来保持一致 相关:https://club.rt-thread.org/ask/article/f998b21633f90916.html
2022-10-25[compiler] 增加SConscript依赖标志 AddDepend (#6534)Man, Jianting (Meco)
* [compiler] 增加SConscript依赖标志 AddDepend * RT_USING_NEWLIB->RT_USING_NEWLIBC RT_USING_ARM_LIBC->RT_USING_ARMLIBC * 删除过时的板载测试例程 * [gd32] 移除无用的反汇编文件 * [bsp]移除老旧bsp中对RT_USING_NEWLIBC的手动宏定义
2022-10-08[dist-ide] 优化导出RTThread Studio工程命令Meco Man
- 导出rtstudio工程时,多增加一级目录,防止BSP本地Sconscript和导出的工程的Sconscript粘接 导致编译出错 - 增加命令别名 --dist-rtstudio 该命令和 --dist-ide命令执行一致,方便用户理解,--dist-ide IDE表示的内容过于宽泛
2022-09-29build: EndBuilding need_exit after GenTargetProjectYangZhongQing
User choice IDE build, after GenTargetProject there's no need to do the rest. 并且,既然用户指定了IDE,接下来的命令行编译却仍然是使用arm-none-eabi-gcc,为什么不是用IDE的编译器呢?(也许是个bug)
2022-09-22[tools] 增加scons --exec-path=xxx命令 用于动态设置编译链路径Meco Man
scons --target=iar --exec-path=xxxx scons --exec-path=xxxx
2022-09-15[iar] 修正IAR编译链名称Meco Man
2022-09-14ESP32_C3 migrate to ESP-IDF package (#6427)tangzz98
2022-09-11[tools/link-order] Sort objects so that compilation can be done in a fixed ↵childerxxx
link order.
2022-09-09Revert "[tools/link-orger]Sort objects before generate building target to ↵Man, Jianting (Meco)
get same link-order/map files/BIN files from the same source files." This reverts commit 0cb62113729b1dde7d1898b759f435f8173b7b40.