diff options
| author | bigmagic <[email protected]> | 2020-04-16 16:10:57 +0800 |
|---|---|---|
| committer | bigmagic <[email protected]> | 2020-04-16 16:44:14 +0800 |
| commit | fb8c7829a8a861f9837912ecf926899f48349967 (patch) | |
| tree | ac03e24c90345ebba9e2e20ea057372265a86cb5 /libcpu/aarch64/common/SConscript | |
| parent | 4054c97a96b54a53323216dd6d318b1eda4b59fd (diff) | |
add raspi4 bsp
Diffstat (limited to 'libcpu/aarch64/common/SConscript')
| -rw-r--r-- | libcpu/aarch64/common/SConscript | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libcpu/aarch64/common/SConscript b/libcpu/aarch64/common/SConscript new file mode 100644 index 0000000000..72fb8e26c3 --- /dev/null +++ b/libcpu/aarch64/common/SConscript @@ -0,0 +1,24 @@ +# RT-Thread building script for component + +from building import * + +Import('rtconfig') + +cwd = GetCurrentDir() +src = Glob('*.c') + Glob('*.cpp') + Glob('*.S') +CPPPATH = [cwd] + +group = DefineGroup('common', src, depend = [''], CPPPATH = CPPPATH) + +# build for sub-directory +list = os.listdir(cwd) +objs = [] + +for d in list: + path = os.path.join(cwd, d) + if os.path.isfile(os.path.join(path, 'SConscript')): + objs = objs + SConscript(os.path.join(d, 'SConscript')) +group = group + objs + + +Return('group') |
