From f8c4752cbc439ad4092daf4c04c762b6a362d850 Mon Sep 17 00:00:00 2001 From: miebka <86464051+miebka@users.noreply.github.com> Date: Fri, 23 Jul 2021 22:20:31 +0200 Subject: C2000 compiler also accepts *.cla files --- mesonbuild/compilers/mixins/c2000.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mesonbuild/compilers') diff --git a/mesonbuild/compilers/mixins/c2000.py b/mesonbuild/compilers/mixins/c2000.py index 287aaa8..79f31cc 100644 --- a/mesonbuild/compilers/mixins/c2000.py +++ b/mesonbuild/compilers/mixins/c2000.py @@ -59,8 +59,10 @@ class C2000Compiler(Compiler): if not self.is_cross: raise EnvironmentException('c2000 supports only cross-compilation.') self.id = 'c2000' - # Assembly - self.can_compile_suffixes.add('asm') + + self.can_compile_suffixes.add('asm') # Assembly + self.can_compile_suffixes.add('cla') # Control Law Accelerator (CLA) + default_warn_args = [] # type: T.List[str] self.warn_args = {'0': [], '1': default_warn_args, -- cgit v1.1