diff options
| author | Sherman <[email protected]> | 2021-05-15 16:52:49 +0800 |
|---|---|---|
| committer | Sherman <[email protected]> | 2021-05-15 16:52:49 +0800 |
| commit | 21f9e5625357265245968061079e1c72ffa25ee4 (patch) | |
| tree | fe80c5339f4c6fccb3a5c73f860ed102bd5fe815 /components/utilities/rt-link/src/SConscript | |
| parent | 3baad47752c3199486be1d06c9459cad3ae2e294 (diff) | |
[add] add new component: rt-link
Diffstat (limited to 'components/utilities/rt-link/src/SConscript')
| -rw-r--r-- | components/utilities/rt-link/src/SConscript | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/components/utilities/rt-link/src/SConscript b/components/utilities/rt-link/src/SConscript new file mode 100644 index 0000000000..8bbb969b2a --- /dev/null +++ b/components/utilities/rt-link/src/SConscript @@ -0,0 +1,13 @@ +Import('rtconfig') +from building import * + +cwd = GetCurrentDir() +src = Glob('*.c') +CPPPATH = [cwd + '/../inc'] + +group = DefineGroup('rt-link', src, depend = ['RT_USING_RT_LINK'], CPPPATH = CPPPATH) + +if os.path.isfile(os.path.join(cwd, 'hw', 'SConscript')): + group = group + SConscript(os.path.join('hw', 'SConscript')) + +Return('group') |
