diff options
Diffstat (limited to 'libcpu/SConscript')
| -rw-r--r-- | libcpu/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
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')
|
