diff options
| author | Bernard Xiong <[email protected]> | 2021-05-16 08:57:51 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-16 08:57:51 +0800 |
| commit | 6dc38962a995ced0093622669b2dc99e378e7f69 (patch) | |
| tree | 75b8bb4ba4404ec9c076c44dcd0bda6ba57e3510 /components/utilities/rt-link/src/SConscript | |
| parent | 53cfba8725f23d626904e701b1009aa110d75376 (diff) | |
| parent | ce0c36422c87318ba2750b78f997722e6a17f17a (diff) | |
Merge pull request #4691 from ShermanShao/master
[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') |
