适配 arm 架构

This commit is contained in:
rcitach
2026-04-30 06:19:58 +08:00
committed by Bernard Xiong
parent 6e4c9dc264
commit 3b8c9fcdca
8 changed files with 102 additions and 7 deletions
+4 -1
View File
@@ -12,7 +12,10 @@ src = Glob('kernel/*.c') + Glob('kernel/*.S')
if not GetDepend(['RT_USING_VDSO']):
Return('group')
if rtconfig.ARCH != "aarch64" and rtconfig.ARCH != "risc-v":
if rtconfig.ARCH != "aarch64" and rtconfig.ARCH != "risc-v" and rtconfig.ARCH != "arm":
# not supported arch
src = []
elif rtconfig.ARCH == "arm" and rtconfig.CPU != "cortex-a":
# not supported arch
src = []
else: