diff options
| author | Bernard Xiong <[email protected]> | 2020-04-17 13:30:22 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-17 13:30:22 +0800 |
| commit | 33f7124b3644314ca4ce96d9352b4ac973664a29 (patch) | |
| tree | d518f581f34313ea8786fd4d2a0ccf4f8af0b54c /libcpu/aarch64/common/SConscript | |
| parent | 198c0d914cc62e95f97ed2782fb8c37474061bc2 (diff) | |
| parent | 709e0d5799a57e9904d856fd94a935bd1deb153d (diff) | |
Merge pull request #3541 from bigmagic123/add_raspi4
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') |
