summaryrefslogtreecommitdiff
path: root/libcpu/arm/am335x
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2022-05-30 18:04:05 -0400
committerguo <[email protected]>2022-06-09 07:01:59 +0800
commit50f041f5c2fb69b06283f54ce4619a08751d9367 (patch)
tree7e21367cb788808018dd4ccf5eee70a8ac2c8d0f /libcpu/arm/am335x
parente622ef3aec4fe36d6348a3e746823dadc213979b (diff)
[Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链
Diffstat (limited to 'libcpu/arm/am335x')
-rw-r--r--libcpu/arm/am335x/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/am335x/SConscript b/libcpu/arm/am335x/SConscript
index 05f46f3c76..43fb7647be 100644
--- a/libcpu/arm/am335x/SConscript
+++ b/libcpu/arm/am335x/SConscript
@@ -11,7 +11,7 @@ CPPPATH = [cwd]
if rtconfig.PLATFORM in ['armcc', 'armclang']:
src += Glob('*_rvds.S')
-if rtconfig.PLATFORM == 'gcc':
+if rtconfig.PLATFORM in ['gcc']:
src += Glob('*_init.S')
src += Glob('*_gcc.S')