summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2009-10-20 09:18:45 +0000
committerbernard.xiong <[email protected]>2009-10-20 09:18:45 +0000
commit9a7ae650851ee482a21062f1dfff08caf619bcc2 (patch)
treeb79749abfacf416b8570f96937d685dfa58837a1 /libcpu
parent830a235b47194254717fbbdbfd4ed0cd076907c3 (diff)
move include path options to each component.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@113 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcpu/SConscript b/libcpu/SConscript
index 1ea8ff784c..4fea918603 100644
--- a/libcpu/SConscript
+++ b/libcpu/SConscript
@@ -11,5 +11,8 @@ if rtconfig.CC == 'armcc':
if rtconfig.CC == 'gcc':
src_local = Glob(path + '/*.c') + Glob(path + '/*_gcc.s') + Glob(comm + '/*.c')
+if rtconfig.CC == 'iar':
+ src_local = Glob(path + '/*.c') + Glob(path + '/*_iar.s') + Glob(comm + '/*.c')
+
obj = env.Object(src_local)
Return('obj')