From c92480894c97378cecb492086404b2a0c2bebc07 Mon Sep 17 00:00:00 2001 From: rcitach Date: Tue, 21 Apr 2026 09:51:56 +0000 Subject: 更新 vdso 框架 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/lwp/SConscript | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'components/lwp/SConscript') 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'): -- cgit v1.3.1