diff options
author | Vasu Penugonda <34339497+sompen@users.noreply.github.com> | 2018-06-21 03:25:39 +0530 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-06-21 00:55:39 +0300 |
commit | 7140afc0a86f2aae0689617fca985ef209a7c097 (patch) | |
tree | 90ea64438db91b8c29b2d70d5d1c5683fe0e86f1 /cross | |
parent | f3c01a3c4f973ad234ead327f696b5e7fb43e4f6 (diff) | |
download | meson-7140afc0a86f2aae0689617fca985ef209a7c097.zip meson-7140afc0a86f2aae0689617fca985ef209a7c097.tar.gz meson-7140afc0a86f2aae0689617fca985ef209a7c097.tar.bz2 |
Added ARMCLANG compiler support for C/C++ (#3717)
Diffstat (limited to 'cross')
-rw-r--r-- | cross/armclang.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cross/armclang.txt b/cross/armclang.txt new file mode 100644 index 0000000..955b7ef --- /dev/null +++ b/cross/armclang.txt @@ -0,0 +1,20 @@ +# This file assumes that path to the arm compiler toolchain is added +# to the environment(PATH) variable, so that Meson can find +# the armclang, armlink and armar while building. +[binaries] +c = 'armclang' +cpp = 'armclang' +ar = 'armar' +strip = 'armar' + +[properties] +# The '--target', '-mcpu' options with the appropriate values should be mentioned +# to cross compile c/c++ code with armclang. +c_args = ['--target=arm-arm-none-eabi', '-mcpu=cortex-m0plus'] +cpp_args = ['--target=arm-arm-none-eabi', '-mcpu=cortex-m0plus'] + +[host_machine] +system = 'bare metal' # Update with your system name - bare metal/OS. +cpu_family = 'arm' +cpu = 'Cortex-M0+' +endian = 'little' |