<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/tools/building.py, branch v2.0.0_rc</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/tools/building.py?h=v2.0.0_rc</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/tools/building.py?h=v2.0.0_rc'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2014-10-08T10:03:12Z</updated>
<entry>
<title>tools: fix SrcRemove on empty src</title>
<updated>2014-10-08T10:03:12Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2014-10-08T09:53:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d33df46f1921f241199e7520e384e851840571ef'/>
<id>urn:sha1:d33df46f1921f241199e7520e384e851840571ef</id>
<content type='text'>
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'):
</content>
</entry>
<entry>
<title>tools: preserve the order of CPPPATH/CPPDEFINES/LIBPATH/LIBS</title>
<updated>2014-10-08T04:22:30Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2014-10-08T04:18:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2c5eea4c21ea66f711974ab6ce1048337f7b9efc'/>
<id>urn:sha1:2c5eea4c21ea66f711974ab6ce1048337f7b9efc</id>
<content type='text'>
The order of them are important while the uniqueness has nothing to do
with the compiling.
</content>
</entry>
<entry>
<title>Remove unsupport syntex for python 2.6.</title>
<updated>2014-09-06T06:33:46Z</updated>
<author>
<name>Xiongfei Guo</name>
<email>xfguo@credosemi.com</email>
</author>
<published>2014-09-06T06:33:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=a1beec4ad3976367905b9f5f8bb1309a0dae42b8'/>
<id>urn:sha1:a1beec4ad3976367905b9f5f8bb1309a0dae42b8</id>
<content type='text'>
Dict Comprehensions is imported in Python 2.7 &amp; 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 &lt;xfguo@credosemi.com&gt;
</content>
</entry>
<entry>
<title>tools/building: remove the use of startupinfo</title>
<updated>2014-09-01T02:11:10Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2014-08-28T04:27:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=51c4a3aeaea9947701e03abd085afc3eb07df6a8'/>
<id>urn:sha1:51c4a3aeaea9947701e03abd085afc3eb07df6a8</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>tools/building.py: more descriptive on error</title>
<updated>2014-06-09T03:35:36Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2014-06-07T08:46:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=af3dc0e63efa6ed6f7feae926065a68542090f80'/>
<id>urn:sha1:af3dc0e63efa6ed6f7feae926065a68542090f80</id>
<content type='text'>
Print the command that failed to execute and try to tell the reason to
fall.
</content>
</entry>
<entry>
<title>Scons: fix the Win32Spawn</title>
<updated>2014-05-24T05:04:49Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2014-05-24T05:04:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=66ac9821de92f0015ba070b4285e8df1fa822bb6'/>
<id>urn:sha1:66ac9821de92f0015ba070b4285e8df1fa822bb6</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>scons: no need to set RTT_ROOT as Repository</title>
<updated>2014-04-10T07:09:20Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2014-04-10T07:09:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=81b284b316c27e8c39e8a1deabbeef31a13612bc'/>
<id>urn:sha1:81b284b316c27e8c39e8a1deabbeef31a13612bc</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>scons: seperate the BSP build with the kernel build</title>
<updated>2014-04-10T07:03:11Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2014-04-10T07:03:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=a03816ef9aa583bb16ad1282dacaad9c02b87cd7'/>
<id>urn:sha1:a03816ef9aa583bb16ad1282dacaad9c02b87cd7</id>
<content type='text'>
BSPs could have their own components/ etc. If they point to the same
folder, SCons would find the wrong source code to compile.
</content>
</entry>
<entry>
<title>Add UA building script.</title>
<updated>2014-03-24T06:50:47Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2014-03-24T06:50:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6289a1aa25ebe292cad744fa614ef85438842bc1'/>
<id>urn:sha1:6289a1aa25ebe292cad744fa614ef85438842bc1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[JS] fix the include path issue</title>
<updated>2014-02-25T05:43:59Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2014-02-25T05:43:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3d80e414ff6c03ff04fecb914e7aa9b3fb535e03'/>
<id>urn:sha1:3d80e414ff6c03ff04fecb914e7aa9b3fb535e03</id>
<content type='text'>
</content>
</entry>
</feed>
