diff options
| author | huanghe <[email protected]> | 2023-05-11 10:25:21 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-11 10:25:21 +0800 |
| commit | 50a4e8c6625694eedfc2f4db20951daed754c4a3 (patch) | |
| tree | 433eba3562e6ca6c28ca5b5f781a0f0db191db35 /bsp/phytium/board/SConscript | |
| parent | 23f91e83ab2df736f03e28466b5acf32c803e80e (diff) | |
[bsp][phytium]适配rt-thread5.0.0 版本 (#7441)
Co-authored-by: 朱耿宇 <[email protected]>
Diffstat (limited to 'bsp/phytium/board/SConscript')
| -rw-r--r-- | bsp/phytium/board/SConscript | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/bsp/phytium/board/SConscript b/bsp/phytium/board/SConscript index 0cf8e84721..2742d80f1a 100644 --- a/bsp/phytium/board/SConscript +++ b/bsp/phytium/board/SConscript @@ -2,21 +2,24 @@ from building import * cwd = GetCurrentDir() src = Glob('*.S') -src += Glob('*.c') +src += Glob('*.c') if GetDepend(['TARGET_E2000']): + src += Glob(cwd + '/e2000/memory_map.c') if GetDepend(['TARGET_E2000Q']): - src += Glob(cwd + '/e2000/q/parameters.c') + src += Glob(cwd + '/e2000/q/parameters.c') elif GetDepend(['TARGET_E2000D']): - src += Glob(cwd + '/e2000/d/parameters.c') + src += Glob(cwd + '/e2000/d/parameters.c') elif GetDepend(['TARGET_E2000S']): - src += Glob(cwd + '/e2000/s/parameters.c') + src += Glob(cwd + '/e2000/s/parameters.c') if GetDepend(['TARGET_F2000_4']): - src += Glob(cwd + '/d2000/parameters.c') + src += Glob(cwd + '/ft2004/memory_map.c') + src += Glob(cwd + '/d2000/parameters.c') if GetDepend(['TARGET_D2000']): - src += Glob(cwd + '/ft2004/parameters.c') + src += Glob(cwd + '/d2000/memory_map.c') + src += Glob(cwd + '/ft2004/parameters.c') CPPPATH = [cwd] |
