diff options
| author | Grissiom <[email protected]> | 2014-04-10 15:09:20 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2014-04-10 15:09:20 +0800 |
| commit | 81b284b316c27e8c39e8a1deabbeef31a13612bc (patch) | |
| tree | ef21d2db405df8284e9b9f8c22e4904ab040ec20 /examples/kernel | |
| parent | a03816ef9aa583bb16ad1282dacaad9c02b87cd7 (diff) | |
scons: no need to set RTT_ROOT as Repository
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.
Diffstat (limited to 'examples/kernel')
0 files changed, 0 insertions, 0 deletions
