diff options
| author | rcitach <[email protected]> | 2026-04-21 09:51:56 +0000 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2026-04-30 06:19:58 +0800 |
| commit | c92480894c97378cecb492086404b2a0c2bebc07 (patch) | |
| tree | 66a1652cefcf02b2c7f75828c187d7b6862a1886 /components/lwp/SConscript | |
| parent | cf937c78961237eb5c356a74f56261f69e7bd1b8 (diff) | |
更新 vdso 框架
Diffstat (limited to 'components/lwp/SConscript')
| -rw-r--r-- | components/lwp/SConscript | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/components/lwp/SConscript b/components/lwp/SConscript index c53b3f483c..56279cb998 100644 --- a/components/lwp/SConscript +++ b/components/lwp/SConscript @@ -26,11 +26,13 @@ if platform in platform_file.keys(): # support platforms asm_path = 'arch/' + arch + '/' + cpu + '/*_' + platform_file[platform] arch_common = 'arch/' + arch + '/' + 'common/*.c' common = 'arch/common/*.c' + common_excluded = [] if not GetDepend('RT_USING_VDSO'): - vdso_files = ['vdso_data.c', 'vdso.c'] - src += [f for f in Glob(arch_common) if os.path.basename(str(f)) not in vdso_files] - src += [f for f in Glob(common) if os.path.basename(str(f)) not in vdso_files] + common_excluded.append('vdso_kernel.c') + src += Glob(arch_common) + src += [f for f in Glob(common) if os.path.basename(str(f)) not in common_excluded] else: + CPPPATH += [cwd + '/vdso', cwd + '/vdso/kernel'] src += Glob(arch_common) src += Glob(common) if not GetDepend('ARCH_MM_MMU'): |
