summaryrefslogtreecommitdiff
path: root/tools/building.py
AgeCommit message (Collapse)Author
2018-08-03[tools] add scons --dist-strip supportliang yongxiang
2018-07-16[scons] remove check whether exist group library.aozima
2018-06-27[tools] Fix SCons build error when `RTT_EXEC_PATH` not found.armink
2018-06-23[tools] Change the generate cconfig.h code position for fix the 'scons ↵armink
--target=cc' problem.
2018-06-22[tools] Fix the IDE project build error when using 'scons --target=cc'.armink
2018-06-14[tools/building.py]fixed SrcRemovexieyangrun
2018-06-14[tools/building.py]fixed SrcRemove /\ convert issue.xieyangrun
2018-06-11[tools] add target=cdk in building scriptliang yongxiang
2018-06-07[tools][scons] Fix error notice when 'EXEC_PATH' is not exist.armink
2018-06-07[tools][scons] Add error notice when 'EXEC_PATH' is not exist.armink
2018-06-04[tools][building] Add ASFLAGS in DefineGroup.ArdaFu
2018-05-31[Tools] Remove `scons --test` argument.Bernard Xiong
2018-05-30[Tools] Add target=vsc in building script.Bernard Xiong
2018-05-14Add GCC version detection.Bernard Xiong
Add cconfig.h file for different version of GCC, which is automatically detected and generated by scons script.
2018-04-15[tools] Fix the sys.path issue in IARVersion.Bernard Xiong
2018-04-07update scons script: strict SrcRemove() match rule.aozima
2018-03-01[Kernel] include finsh.h file in rtthread.h when RT_USING_FINSH enableBernard Xiong
2018-01-16[Tools] Add _REENT_SMALL definition when enable nano-newlibBernard Xiong
2017-12-29[Tools] Add useconfig option for scons.bernard
2017-12-02[Tools] Add g++ link patch when enble C++.bernard
2017-11-30[Tools] Add menuconfig scriptBernard Xiong
2017-11-25[Tools] Fix the abspath issue of Rtt_Root in building.py.bernard
2017-11-13[tools/building.py][Fix] Add `do_copy_file` function form `mkdist`MurphyZhao
2017-11-06[Tools] Remove menuconfig command in sconsBernard Xiong
2017-11-04[Tools] Add scons --dist command.bernard
2017-11-02[Tools] Add genconfig command in scons.bernard
2017-10-24update SrcRemove(): auto detect string or file object.aozima
2017-01-31[tools] add --menuconfig option for sconsBernard Xiong
2016-10-28[tools] Add LocalOption routines.Bernard Xiong
2016-03-08SCons PreProcessor patch: Stop processing "#define" in false conditiononelife
Example "rtconfig.h" content: ... //#define BOARD_USING_LED #if defined(BOARD_USING_LED) #define RT_USING_RTGUI #endif ... - Before patching, RTGUI module will be built although not intend to do so. - After patching, RTGUI module will not be built.
2015-10-14[Tools] Fix the buildlib with LOCAL_* options groupBernard Xiong
2015-10-11[Tools] Add win32 spawn patch for module building.Bernard Xiong
2015-08-09[BSP] stm32f7-disco cleanupBernard Xiong
2015-08-09[Tools] merge local modificationBernard Xiong
2015-08-04[tools] fix the list in list issue when use LOCAL_* optionsBernard Xiong
2015-07-27[Tools] Add LOCAL_* options for group definitionBernard Xiong
2015-07-25[Tools] Add LOCAL_* options for group definitionBernard Xiong
2015-05-04[tools] Fix ua target issue.Bernard Xiong
2015-04-10[tools] Add package.json as building scriptBernard Xiong
2015-03-18building: PrepareBuilding forgot to declare BuildOptions as globalGrissiom
The global variables in the building.py are totally a pile of shit.
2015-03-14[Tools] Add bsp_directory.Bernard Xiong
Add bsp_directory for PrepareModuleBuilding function and module building environment can parse rtconfig.h too.
2015-01-23[Tools] Add copyright information for scons script filesBernard Xiong
2014-11-19Add mdk5 support in SCons toolsBright Pan
2014-11-19Delete trailing whitespaceBright Pan
2014-11-18SCons: allow set object files in DefineGroupGrissiom
The source files can be the raw file names end with .c or .o. So return the raw file names is more flexible than wrap them with Object.
2014-10-08tools: fix SrcRemove on empty srcGrissiom
If the src is empty list, it will crash at: IndexError: list index out of range: File "/home/xxx/src/SConstruct", line 39: objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=True) ... File "/home/xxx/src/drivers/SConscript", line 12: SrcRemove(src, src_need_remove) File "/home/rt-thread-stable/tools/building.py", line 496: if type(src[0]) == type('str'):
2014-10-08tools: preserve the order of CPPPATH/CPPDEFINES/LIBPATH/LIBSGrissiom
The order of them are important while the uniqueness has nothing to do with the compiling.
2014-09-06Remove unsupport syntex for python 2.6.Xiongfei Guo
Dict Comprehensions is imported in Python 2.7 & 3.0 which is PEP 274 [1]. Some OS like CentOS 6 which is use Python 2.6 cannot support this syntex. [1] http://legacy.python.org/dev/peps/pep-0274/ Signed-off-by: Xiongfei Guo <[email protected]>
2014-09-01tools/building: remove the use of startupinfoGrissiom
The startupinfo does not have any visible effects on the building process and some old Python version does not have it at all. So remove it for the seek of simple. Tested `scons -j4` in a dual core virtual machine.
2014-06-09tools/building.py: more descriptive on errorGrissiom
Print the command that failed to execute and try to tell the reason to fall.