diff options
author | alanNz <alangrimmer@gmail.com> | 2020-03-21 09:13:42 +1300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-03-21 00:47:24 +0200 |
commit | 74602928100394f6129e064f8e0bfe6c9e08c9d2 (patch) | |
tree | e3ae62b782a91ade9d68210a52cea35f18211d8e /mesonbuild/build.py | |
parent | 24227a95531b21a04bf2514a5b8f61ae29d47043 (diff) | |
download | meson-74602928100394f6129e064f8e0bfe6c9e08c9d2.zip meson-74602928100394f6129e064f8e0bfe6c9e08c9d2.tar.gz meson-74602928100394f6129e064f8e0bfe6c9e08c9d2.tar.bz2 |
-Add xc16 and c2000 C,Cpp toolchain support
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 60bcf81..616a183 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1489,6 +1489,11 @@ class Executable(BuildTarget): elif ('c' in self.compilers and self.compilers['c'].get_id().startswith('ccrx') or 'cpp' in self.compilers and self.compilers['cpp'].get_id().startswith('ccrx')): self.suffix = 'abs' + elif ('c' in self.compilers and self.compilers['c'].get_id().startswith('xc16')): + self.suffix = 'elf' + elif ('c' in self.compilers and self.compilers['c'].get_id().startswith('c2000') or + 'cpp' in self.compilers and self.compilers['cpp'].get_id().startswith('c2000')): + self.suffix = 'out' else: self.suffix = environment.machines[for_machine].get_exe_suffix() self.filename = self.name |