- 14 3月, 2015 1 次提交
-
-
由 Bernard Xiong 提交于
Add bsp_directory for PrepareModuleBuilding function and module building environment can parse rtconfig.h too.
-
- 23 1月, 2015 1 次提交
-
-
由 Bernard Xiong 提交于
-
- 19 11月, 2014 2 次提交
-
-
由 Bright Pan 提交于
-
由 Bright Pan 提交于
-
- 18 11月, 2014 1 次提交
-
-
由 Grissiom 提交于
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.
-
- 08 10月, 2014 2 次提交
-
-
由 Grissiom 提交于
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'):
-
由 Grissiom 提交于
The order of them are important while the uniqueness has nothing to do with the compiling.
-
- 06 9月, 2014 1 次提交
-
-
由 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: NXiongfei Guo <xfguo@credosemi.com>
-
- 01 9月, 2014 1 次提交
-
-
由 Grissiom 提交于
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.
-
- 09 6月, 2014 1 次提交
-
-
由 Grissiom 提交于
Print the command that failed to execute and try to tell the reason to fall.
-
- 24 5月, 2014 1 次提交
-
-
由 Grissiom 提交于
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.
-
- 10 4月, 2014 2 次提交
-
-
由 Grissiom 提交于
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.
-
由 Grissiom 提交于
BSPs could have their own components/ etc. If they point to the same folder, SCons would find the wrong source code to compile.
-
- 24 3月, 2014 1 次提交
-
-
由 bernard 提交于
-
- 25 2月, 2014 1 次提交
-
-
由 Bernard Xiong 提交于
-
- 23 2月, 2014 1 次提交
-
-
由 bernard 提交于
-
- 16 2月, 2014 1 次提交
-
-
由 Bernard Xiong 提交于
-
- 15 2月, 2014 1 次提交
-
-
由 bernard 提交于
-
- 07 2月, 2014 1 次提交
-
-
由 bernard 提交于
-
- 01 10月, 2013 1 次提交
-
-
由 prife 提交于
rename template.vcproj to template_vs2005.vcproj add template_vs2012.vcxproj NOTE: the vs2012.py is ugly, just can work.
-
- 07 9月, 2013 1 次提交
-
-
由 Grissiom 提交于
The `clang -fsyntax-only` will give us additional warning messages in the console.
-
- 09 8月, 2013 1 次提交
-
-
由 bernard 提交于
-
- 09 7月, 2013 1 次提交
-
-
由 Grissiom 提交于
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`.
-
- 19 6月, 2013 1 次提交
-
-
由 Grissiom 提交于
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.
-
- 31 3月, 2013 1 次提交
-
-
由 Rogerz Zhang 提交于
-
- 01 3月, 2013 1 次提交
-
-
由 prife 提交于
-
- 24 2月, 2013 1 次提交
-
-
由 Grissiom 提交于
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
-
- 21 2月, 2013 1 次提交
-
-
由 wuyangyong 提交于
-
- 29 1月, 2013 1 次提交
-
-
由 Rogerz Zhang 提交于
-
- 19 1月, 2013 1 次提交
-
-
由 Rogerz Zhang 提交于
-
- 13 12月, 2012 1 次提交
-
-
由 xiongyihui3@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2479 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 01 12月, 2012 1 次提交
-
-
由 goprife@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2461 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 08 11月, 2012 1 次提交
-
-
由 bernard.xiong 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2398 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 05 11月, 2012 1 次提交
-
-
由 bernard.xiong@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2393 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 15 10月, 2012 1 次提交
-
-
由 chaos.proton@gmail.com 提交于
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
-
- 06 10月, 2012 2 次提交
-
-
由 bernard.xiong@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2321 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
由 bernard.xiong 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2320 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 05 10月, 2012 1 次提交
-
-
由 bernard.xiong@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2316 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 09 9月, 2012 1 次提交
-
-
由 wuyangyong 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2284 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 22 8月, 2012 1 次提交
-
-
由 bernard.xiong@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2257 bbd45198-f89e-11dd-88c7-29a3b14d5316
-