diff options
| author | Wayne Lin <[email protected]> | 2021-05-12 18:39:35 +0800 |
|---|---|---|
| committer | Wayne Lin <[email protected]> | 2021-05-12 18:39:35 +0800 |
| commit | f068908728afbcf2ab69b5949c286891150f3aca (patch) | |
| tree | ad931747ed4df603de13176697daf6cdfbbd2e98 /components/libc/compilers/common/SConscript | |
| parent | 0e9054f7952d5e521268df3919067f62f0e2724d (diff) | |
| parent | 1c823b3fc07111e3ce46d09574ff9bcda87a4d7f (diff) | |
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton
Diffstat (limited to 'components/libc/compilers/common/SConscript')
| -rw-r--r-- | components/libc/compilers/common/SConscript | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/components/libc/compilers/common/SConscript b/components/libc/compilers/common/SConscript index 319e1a3555..d9de1cf17f 100644 --- a/components/libc/compilers/common/SConscript +++ b/components/libc/compilers/common/SConscript @@ -23,5 +23,9 @@ else: if GetDepend('RT_USING_LIBC') or GetDepend('RT_LIBC_USING_TIME'): group = DefineGroup('libc', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES) - + list = os.listdir(cwd) + for d in list: + path = os.path.join(cwd, d) + if os.path.isfile(os.path.join(path, 'SConscript')): + group = group + SConscript(os.path.join(d, 'SConscript')) Return('group') |
