diff options
| author | Bernard Xiong <[email protected]> | 2020-09-22 22:03:26 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-22 22:03:26 +0800 |
| commit | d92fbba3c1dfd304b377da2d6d48e317c10fc3c4 (patch) | |
| tree | 3a6f0539b28286f5721c4b5d7d482fd4a7fea4b4 /libcpu/risc-v/SConscript | |
| parent | 8302a7224302c0624b9918855a25e12f3a3ede59 (diff) | |
| parent | 60287b69fdff377ea9fdfd2f06b4ea3f6f34e32a (diff) | |
Merge pull request #3919 from wormsX/T-head_Smart-v1.0.0
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') |
