From 9ba06214639ce55f11bcce682f14c51b3275f510 Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Wed, 21 Oct 2009 23:50:25 +0000 Subject: update on scons script git-svn-id: https://rt-thread.googlecode.com/svn/trunk@118 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- libcpu/SConscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libcpu/SConscript') diff --git a/libcpu/SConscript b/libcpu/SConscript index 4fea918603..a9b1eca794 100644 --- a/libcpu/SConscript +++ b/libcpu/SConscript @@ -1,5 +1,6 @@ Import('env') Import('rtconfig') +Import('RTT_ROOT') comm = rtconfig.ARCH + '/common' path = rtconfig.ARCH + '/' + rtconfig.CPU @@ -14,5 +15,7 @@ if rtconfig.CC == 'gcc': if rtconfig.CC == 'iar': src_local = Glob(path + '/*.c') + Glob(path + '/*_iar.s') + Glob(comm + '/*.c') +env.Append(CPPPATH = [RTT_ROOT + '/libcpu/' + rtconfig.ARCH + '/' + rtconfig.CPU]) obj = env.Object(src_local) + Return('obj') -- cgit v1.3.1