summaryrefslogtreecommitdiff
path: root/tools/building.py
AgeCommit message (Collapse)Author
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.
2022-09-09[tools/link-orger]Sort objects before generate building target to get same ↵lanyang
link-order/map files/BIN files from the same source files.
2022-09-07[kernel][version] 采用新的版本宏定义Meco Man
版本控制规范:https://semver.org/ 目前的版本子号不是很规范,其中RT_VERSION甚至和VS那边造成了冲突 ```c /* RT-Thread version information */ #define RT_VERSION 4L /**< major version number */ #define RT_SUBVERSION 1L /**< minor version number */ #define RT_REVISION 1L /**< revise version number */ ``` 参考ESP32: ```c /** Major version number (X.x.x) */ #define ESP_ARDUINO_VERSION_MAJOR 2 /** Minor version number (x.X.x) */ #define ESP_ARDUINO_VERSION_MINOR 0 /** Patch version number (x.x.X) */ #define ESP_ARDUINO_VERSION_PATCH 3 ``` 建议改成: ```c /* Major version number (X.x.x) */ #define RT_VERSION_MAJOR 4 /* Minor version number (x.X.x) */ #define RT_VERSION_MINOR 2 /* Patch version number (x.x.X) */ #define RT_VERSION_PATCH 0 ```
2022-08-24[scons] 使用target=mdk5 和 iar时,打印IDE版本号 (#6315)Man, Jianting (Meco)
* [scons] 使用target=mdk5 和 iar时,打印IDE版本号 * 移除对keil iar生成功能的检查 1.这些工程是否可以生成是BSP可选项,不是每个BSP都支持 2.CI环境中并没有安转IAR和Keil环境,导致直接获取IDE版本失败 * MDKProject函数重命名为MDK2Project
2022-08-16[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORMMeco Man
2022-08-10[tools] remove .sconsign.dblite when scons clean.aozima
fixed py2 <==> py3 ValueError : unsupported pickle protocol: x
2022-08-02[tools] format python codeMeco Man
2022-06-15[fix][building.py]修复动态模块的option的bug (#6081)wugensheng
* [fix][building.py]修复动态模块option的bug
2022-06-09[scons][iar] 将IAR的PLATFORM字段由iar调整为iccarmMeco Man
将路径更新为IAR最新版本的路径
2022-05-09[update] support command: scons --target=xmakeliukangcc
2022-04-23Fix bugs for processing command line parametersshinu
2022-04-22Decouple the addition of command line arguments (#5848)wugensheng
* Decouple the addition of command line arguments * Decouple the addition of command line arguments * Modify change logs * Modify change logs * Decouple the addition of command line arguments * delete wrong edits * Modify file header * remove duplicate imports
2022-04-20[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM (#5802)Man, Jianting (Meco)
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-04-08[update] Sort the source file path (#5783)LiuKang
2022-01-20[update] change ccflags to cflagsliukangcc
2021-12-22Revert "add clang-arm support."Man, Jianting (Meco)
This reverts commit a5f6fdc780d55f2bf2a1624815879e15c51082b5.
2021-12-22add clang-arm support.guozhanxin
2021-11-30[tools][building.py] 修复加入空列表和空字符串的问题Meco Man
2021-07-01[tools] add scons --target=cmake-armclangguozhanxin
2021-05-25dev:[tools] add default project name and project path while --dist-idechenyaxing
2021-05-17【修复】studio 生成工程报错的问题。guozhanxin
2021-05-10[add] auto test ci.guozhanxin
2021-04-10Merge pull request #4479 from mysterywolf/cmakeBernard Xiong
[tools] 增加cmake生成工具
2021-04-05[tools] Python 3 compatibility supporttangyuxin
2021-03-18updateMeco Man
2021-03-18[tools] 增加cmake生成工具Meco Man
2021-03-05bugfix:remove duplicate files in src list before DefineGroupyaxing.chen
2021-02-23remove RT_USING_NOLIBCMeco Man
2020-10-16scons: Add CodeLite targetmx
2020-06-21update tools/building.py.来日方长
添加stackanalysis选项
2020-06-11[tools] fixed python 2.x `cmp`xieyangrun
2020-06-08Optimize project group sort by namexieyangrun
2019-11-28[tools] update eclipse target for refreshScope support.armink
2019-09-16Merge pull request #3072 from liruncong/EnvPathBernard Xiong
[tools]修正外部环境变量未引入Env Path,导致自定义Builder的action参数使用python函数时,无法找到外部程序的问题
2019-09-14[tools]armclang库文件编译支持liruncong
2019-09-14[tools]修正外部环境变量未引入Env ↵liruncong
Path,导致自定义Builder的action参数使用python函数时,无法找到外部程序的问题
2019-07-24[tools] Replace the old pyconfig to guiconfig.armink
2019-07-13[tools] add menuconfig GUI by python.armink