aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authormiebka <86464051+miebka@users.noreply.github.com>2021-07-23 22:20:31 +0200
committerDylan Baker <dylan@pnwbakers.com>2021-07-25 09:07:12 -0700
commitf8c4752cbc439ad4092daf4c04c762b6a362d850 (patch)
tree5bb20033014233212826503aa2b9aba07a542446 /mesonbuild
parent2e30b5a1e2ca21555bb3aa50f91e87f4d2821bb6 (diff)
downloadmeson-f8c4752cbc439ad4092daf4c04c762b6a362d850.zip
meson-f8c4752cbc439ad4092daf4c04c762b6a362d850.tar.gz
meson-f8c4752cbc439ad4092daf4c04c762b6a362d850.tar.bz2
C2000 compiler also accepts *.cla files
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/compilers/mixins/c2000.py6
1 files changed, 4 insertions, 2 deletions
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,