diff options
| author | chenzx <[email protected]> | 2020-09-11 10:11:25 +0800 |
|---|---|---|
| committer | chenzx <[email protected]> | 2020-09-11 10:18:24 +0800 |
| commit | 60287b69fdff377ea9fdfd2f06b4ea3f6f34e32a (patch) | |
| tree | aee13ea5d32938c39ef669160d8be6e008fb75cc /libcpu/risc-v/SConscript | |
| parent | 5a6a7e391ea4ec01d9f33ca5302e71196261bcaf (diff) | |
add t-head smart-evb bsp, and risc-v cpu e906
Diffstat (limited to 'libcpu/risc-v/SConscript')
| -rw-r--r-- | libcpu/risc-v/SConscript | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/libcpu/risc-v/SConscript b/libcpu/risc-v/SConscript index 024cc5ba44..5055b533e6 100644 --- a/libcpu/risc-v/SConscript +++ b/libcpu/risc-v/SConscript @@ -10,10 +10,17 @@ group = [] list = os.listdir(cwd) # add common code files -if rtconfig.CPU != "nuclei": - group = group + SConscript(os.path.join('common', 'SConscript')) +if rtconfig.VENDOR == "t-head" : + group = group +elif rtconfig.CPU == "nuclei" : + group = group +else : + group = group + SConscript(os.path.join(cwd, 'common', 'SConscript')) # cpu porting code files -group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) +if rtconfig.VENDOR == "t-head" : + group = group + SConscript(os.path.join(cwd, rtconfig.VENDOR, rtconfig.CPU, 'SConscript')) +else : + group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) Return('group') |
