summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2017-01-31[tools] add --menuconfig option for sconsBernard Xiong
2017-01-31[tools] rename KConfig menu nameBernard Xiong
2017-01-31[tools] Add KConfig files.bernard
2017-01-19[Tools] Add group libs support in vs project.Bernard Xiong
2017-01-08[Tools] fix CPPDEFINES issue in vsBernard Xiong
2016-10-28[tools] Add LocalOption routines.Bernard Xiong
2016-04-09[Tools] Fix the CPP file type in Keil.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] Update Keil MDK project generation.Bernard Xiong
Add C++ files support; Fix the two same group issue if to add a library into an exist group.
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-06-25update scons MDK5 project script: clean old groups.aozima
2015-05-22fixed scons building error when use LIB.aozima
2015-05-11[tools] Add better way to generate MDK project file.v2.1.0_alphaBernardXiong
2015-05-04[tools] Fix ua target issue.Bernard Xiong
2015-04-24[tools] Using object name to decide whether use alias name in Keil MDK.Bernard Xiong
2015-04-24[tools] Using object name to decide whether use alias name in Keil MDK.Bernard Xiong
2015-04-10[tools] Add package.json as building scriptBernard Xiong
2015-04-10Merge remote-tracking branch 'upstream/master'Bernard Xiong
2015-04-08修正rtt-root位于其他目录时计算目录错误的bug[email protected]
2015-04-07在vs2010中将编译文件分组[email protected]
2015-03-31Merge remote-tracking branch 'coding/master'Bernard Xiong
2015-03-22Add copyright informationBernard.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
2015-01-19add AStyle shell script fileBernard Xiong
2015-01-04If there is no CPPDEFINES, generate an empty GetCPPDEFINES function.bernard
2014-12-24clang-analyze: force 32bit compileGrissiom
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-08-27tools/keil: preserve the order of CPPPATHGrissiom
The order of CPPPATH is important: some project would use the order of CPPPATH to override the default configuration headers. This commit also refine the this piece of code in a more Pythonic way.
2014-08-05Update keil.pyaozima
clear old groups in template.uvproj.
2014-06-09tools/building.py: more descriptive on errorGrissiom
Print the command that failed to execute and try to tell the reason to fall.
2014-05-24Scons: fix the Win32SpawnGrissiom
Windows(tm) CreateProcess does not use the env passed to it to find the executables. So we have to modify our own PATH to make Popen work. Also, detect the cmd build-in commands and execute it directly. Tested on MDK toolchain on RB4088 and the MSVS toolchain on simulator BSP.
2014-04-10scons: no need to set RTT_ROOT as RepositoryGrissiom
In SCons manual: ================= In order to inform the C compiler about the repositories, SCons will add appropriate -I flags to the compilation commands for each directory in the $CPPPATH list. So if we add the current directory to the construction environment $CPPPATH like so: env = Environment(CPPPATH = ['.']) env.Program('hello.c') Repository('/usr/repository1') Then re-executing SCons yields: % scons -Q cc -o hello.o -c -I. -I/usr/repository1 hello.c cc -o hello hello.o ================= The additional include directory is definitely not what we want. Just remove the additional Repository line.
2014-04-10scons: seperate the BSP build with the kernel buildGrissiom
BSPs could have their own components/ etc. If they point to the same folder, SCons would find the wrong source code to compile.
2014-03-25[scons] fix the BSP_ROOT issue in ua.py.bernard
2014-03-24Add UA building script.bernard
2014-02-25[JS] fix the include path issueBernard Xiong