summaryrefslogtreecommitdiff
path: root/bsp/mini2440/rtconfig.py
diff options
context:
space:
mode:
author[email protected] <[email protected]>2011-05-16 00:29:28 +0000
committer[email protected] <[email protected]>2011-05-16 00:29:28 +0000
commitc99ca774a1fc441cf4f24a48a565ccd564d55cf0 (patch)
treeb1449d661531e472297745ac1fbacdd7085f9d2a /bsp/mini2440/rtconfig.py
parent7a6949f248d3f1139825451a672bc41d9efc6d52 (diff)
Modify the link mode, compile each component to static library first and then link them
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1405 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/mini2440/rtconfig.py')
-rw-r--r--bsp/mini2440/rtconfig.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bsp/mini2440/rtconfig.py b/bsp/mini2440/rtconfig.py
index dce03130e1..cf6637b481 100644
--- a/bsp/mini2440/rtconfig.py
+++ b/bsp/mini2440/rtconfig.py
@@ -11,16 +11,17 @@ CROSS_TOOL = 'gcc'
if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'
- EXEC_PATH = 'E:/Program Files/CodeSourcery/Sourcery G++ Lite/bin'
+ EXEC_PATH = 'C:/Program Files/CodeSourcery/Sourcery G++ Lite/bin'
elif CROSS_TOOL == 'keil':
PLATFORM = 'armcc'
- EXEC_PATH = 'E:/Keil'
+ EXEC_PATH = 'C:/Keil'
BUILD = 'debug'
if PLATFORM == 'gcc':
# toolchains
PREFIX = 'arm-none-eabi-'
CC = PREFIX + 'gcc'
+ CXX = PREFIX + 'g++'
AS = PREFIX + 'gcc'
AR = PREFIX + 'ar'
LINK = PREFIX + 'gcc'
@@ -48,6 +49,7 @@ if PLATFORM == 'gcc':
elif PLATFORM == 'armcc':
# toolchains
CC = 'armcc'
+ CXX = 'armcc'
AS = 'armasm'
AR = 'armar'
LINK = 'armlink'