diff options
Diffstat (limited to 'bsp/phytium/board/SConscript')
| -rw-r--r-- | bsp/phytium/board/SConscript | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bsp/phytium/board/SConscript b/bsp/phytium/board/SConscript new file mode 100644 index 0000000000..c86f3413fb --- /dev/null +++ b/bsp/phytium/board/SConscript @@ -0,0 +1,25 @@ +from building import * + +cwd = GetCurrentDir() +src = Glob('*.S') +src += Glob('*.c') + +if GetDepend(['TARGET_E2000']): + if GetDepend(['TARGET_E2000Q']): + src += Glob(cwd + '/e2000/q/parameters.c') + elif GetDepend(['TARGET_E2000D']): + src += Glob(cwd + '/e2000/d/parameters.c') + elif GetDepend(['TARGET_E2000S']): + src += Glob(cwd + '/e2000/s/parameters.c') + +if GetDepend(['TARGET_F2000_4']): + src += Glob(cwd + '/d2000/parameters.c') + +if GetDepend(['TARGET_D2000']): + src += Glob(cwd + '/ft2004/parameters.c') + +CPPPATH = [cwd] + +group = DefineGroup('Board', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') |
