diff options
| author | Jiaxun Yang <[email protected]> | 2019-12-07 00:54:03 +0800 |
|---|---|---|
| committer | Jiaxun Yang <[email protected]> | 2019-12-11 15:24:04 +0800 |
| commit | 7c6650186100add61ef16c13fb120ad1161f6f1d (patch) | |
| tree | 0310de18e6132aedca4bd77ea891e03f79ab5159 /libcpu/mips/SConscript | |
| parent | 44123368a9469e550f7870203177540f162bda1d (diff) | |
[libcpu] Refine MIPS common code
MIPS common code was highly duplicated, This commit
is a attempt to clean-up and refine these code.
The context and exception handle flow is mostly identical
with Linux, but a notable difference is that when FPU enabled,
we save FP registers in stackframe unconditionally.
Signed-off-by: Jiaxun Yang <[email protected]>
Diffstat (limited to 'libcpu/mips/SConscript')
| -rw-r--r-- | libcpu/mips/SConscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcpu/mips/SConscript b/libcpu/mips/SConscript index 640e46a4fb..5fca2b473b 100644 --- a/libcpu/mips/SConscript +++ b/libcpu/mips/SConscript @@ -13,6 +13,7 @@ list = os.listdir(cwd) group = group + SConscript(os.path.join('common', 'SConscript')) # cpu porting code files -group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) +if rtconfig.CPU != 'common': + group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') |
