diff options
| author | Rogerz Zhang <[email protected]> | 2013-03-31 22:23:48 +0800 |
|---|---|---|
| committer | Rogerz Zhang <[email protected]> | 2013-03-31 22:30:39 +0800 |
| commit | 1019f52bb7573a58da700cb5d291316ffa6c0630 (patch) | |
| tree | fee29df54e2818c154a38d01aa20be9e67ffd886 /bsp | |
| parent | 17e5f804fff19cffbf956f242fd210d54ec3b35e (diff) | |
add powerpc bsp to travis-ci
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/taihu/rtconfig.py | 6 | ||||
| -rw-r--r-- | bsp/taihu/taihu.lds | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bsp/taihu/rtconfig.py b/bsp/taihu/rtconfig.py index ecaa2ee93a..c20f594570 100644 --- a/bsp/taihu/rtconfig.py +++ b/bsp/taihu/rtconfig.py @@ -1,4 +1,7 @@ +import os + # toolchains options + ARCH='ppc' CPU='ppc405' CROSS_TOOL='gcc' @@ -8,6 +11,9 @@ PLATFORM = 'gcc' EXEC_PATH = 'C:/Program Files/CodeSourcery/Sourcery G++ Lite/bin' BUILD = 'debug' +if os.getenv('RTT_EXEC_PATH'): + EXEC_PATH = os.getenv('RTT_EXEC_PATH') + if PLATFORM == 'gcc': # toolchains PREFIX = 'powerpc-eabi-' diff --git a/bsp/taihu/taihu.lds b/bsp/taihu/taihu.lds index 3a4f339982..7b4eae28bd 100644 --- a/bsp/taihu/taihu.lds +++ b/bsp/taihu/taihu.lds @@ -36,7 +36,7 @@ SECTIONS .text : { - KEEP(build\libcpu\ppc\ppc405\start_gcc.o (.text)) + KEEP(build/libcpu/ppc/ppc405/start_gcc.o (.text)) *(.text) *(.fixup) |
