summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2014-11-01Prepare RT-Thread 1.2.3 release.bernard
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'): Commit d33df46f1921f241199e7520e384e851840571ef in master.
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. commit 2c5eea4c21ea66f711974ab6ce1048337f7b9efc in upstream.
2014-08-01[building] fix command too long issue under win32.bernard
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
2014-02-23[scons] Add the library to the group when used buildlib buildingbernard
2014-02-16[scons] Change attribution for wizard.py (ci build)Bernard Xiong
2014-02-16[scons] Use a single path for group (ci build)Bernard Xiong
2014-02-15[scons] fix library suffix issue.bernard
2014-02-07Add more feature on buildlibbernard
2013-10-01scons script: support to generate vs2012 project xmlprife
rename template.vcproj to template_vs2005.vcproj add template_vs2012.vcxproj NOTE: the vs2012.py is ugly, just can work.
2013-09-07travis: add scan-build in PATHGrissiom
2013-09-07Scons: add a custom tool to do clang static analyzeGrissiom
Bsps can use the clang analyzer as a tool: env = Environment(toolpath=[os.path.join(RTT_ROOT, 'tools', 'tools')], tools = ['clang-analyze']) When building the project, the static analyzer will be called to check all the C code. The warnings are print to stderr.
2013-09-07Scons: run `clang -Wall -fsyntax-only` in clang-analyzeGrissiom
The `clang -fsyntax-only` will give us additional warning messages in the console.
2013-08-09add buildlib for Keil MDKbernard
2013-07-09building.py: add clang static analyzer supportGrissiom
It adds the '--clang-analyzer' option that could invoke clang as the static code checker. It is recommanded to work with 'scan-build' shipped with Clang. For example, `scan-build scons --clang-analyzer`.
2013-06-22update iar.py: fixed bug when path is absolute.aozima
2013-06-19tools: add an option to generate cscope databaseGrissiom
When --cscope option is given to Scons, it will generate a cscope cross-reference database in current directory, which is useful in Vim(and other cscope-aware text editors). For example, `scons -s --cscope` will do nothing except generating the database. You can use this option with other options together. It is inspired by the `make cscope` of Linux.
2013-06-16add a default codeblocks template.aozima
2013-06-16fixed bug: scons: don't throw excptions when CPPDEFINES is not defined.aozima
2013-06-03Keep flash setting when generate Keil MDK project.Bernard Xiong
2013-05-17add library file for Keil MDK project generationBernard Xiong
2013-04-25remove project.uvopt file when generate keil mdk project fileBernard Xiong
2013-03-31add more command string for sconsRogerz Zhang
2013-03-01tools script: fix up mdk460 link errorprife
2013-02-24building.py: append messed up objs list, use extend to avoid thatGrissiom
The return type of SConscript is a subclass of UserList. We should use extend to keep the depth of the list is always 1 when concatenate SConscript return values. Thanks prife for making me realize that this is really a problem. Reported-and-Tested-by: prife
2013-02-21update scons: support C::Baozima
2013-02-02Add detail build resultRogerz Zhang
2013-01-29Rename `--default-comstr` to `--verbose`Rogerz Zhang
2013-01-19Use customized command string in sconsRogerz Zhang
2013-01-08convert end of lineBernard Xiong
2013-01-04Add support for auto ciRogerz Zhang
2012-12-19Update UI.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2499 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-18Add RT-Thread Root folder detection.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2495 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-18Add SConsUI tool.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2494 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-13add compability with MDK 4.6 which changes directory of armcc.exe[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2479 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-01support header files addition for vs script[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2461 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16fix bug in vs.py(use the env not the group to get information)[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2419 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-07Add Visual Studio project generation script.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2398 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-05Fix LIBS and LIBPATH merge in building script.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2393 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-15building.py: add RegisterPreBuildingAction[email protected]
One could register a callable object(normally a function) via RegisterPreBuildingAction in SConscript. It will be called when PreBuilding get invoked. PreBuilding should be called before the building procedure. It is currently used by RTGUI to generate the minimal perfect hash code when all the source files are scanned(i.e. just before building). Maybe we should invoke PreBuilding in DoBuilding. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2353 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-06Update GlobSubDir() function.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2321 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-06Add GlobSubDir() function in building.py; Fix the import issue in wizard.py.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2320 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-05Add buildlib option; Add wizard script.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2316 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-09add GetConfigValue() by Grissiom.wuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2284 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-22add --copy-header option to copy header of RT-Thread to local.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2257 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-11Add MakeCopy function on the building script. [email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2252 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-01fix the win32 path issue.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2244 bbd45198-f89e-11dd-88c7-29a3b14d5316