summaryrefslogtreecommitdiff
path: root/components/gdb/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/gdb/SConscript')
-rw-r--r--components/gdb/SConscript23
1 files changed, 0 insertions, 23 deletions
diff --git a/components/gdb/SConscript b/components/gdb/SConscript
deleted file mode 100644
index 8893d238bc..0000000000
--- a/components/gdb/SConscript
+++ /dev/null
@@ -1,23 +0,0 @@
-Import('rtconfig')
-from building import *
-
-src = Glob('*.c')
-comm = 'libcpu/' + rtconfig.ARCH
-if (rtconfig.CPU == 'cortex-m4') or (rtconfig.CPU == 'cortex-m3'):
- comm = 'libcpu/cortexm'
-
-cwd = GetCurrentDir()
-if rtconfig.PLATFORM == 'armcc':
- src = src + Glob(comm + '/*.c') + Glob(comm + '/*_rvds.S')
-
-if rtconfig.PLATFORM == 'gcc':
- src = src + Glob(comm + '/*.c') + Glob(comm + '/*_gcc.S')
-
-if rtconfig.PLATFORM == 'iar':
- src = src + Glob(comm + '/*.c') + Glob(comm + '/*_iar.S')
-
-CPPPATH = [cwd, cwd + '/' + comm]
-
-group = DefineGroup('gdb', src, depend = ['RT_USING_GDB'], CPPPATH = CPPPATH)
-
-Return('group')