aboutsummaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-04-16 23:02:09 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2018-04-16 23:02:09 +0300
commitc58dd64f8e947f4659bcbc47d75e86e65043e714 (patch)
tree28be176b2646b02ae6cc006a00608a1152db35be /cross
parentfa6ca160548d7e8df9c4c724e6c96f5e004e5316 (diff)
parent7f8908336362cccd45516f48b5320380cec0e817 (diff)
downloadmeson-c58dd64f8e947f4659bcbc47d75e86e65043e714.zip
meson-c58dd64f8e947f4659bcbc47d75e86e65043e714.tar.gz
meson-c58dd64f8e947f4659bcbc47d75e86e65043e714.tar.bz2
Merged Arm CC support.
Diffstat (limited to 'cross')
-rw-r--r--cross/armcc.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/cross/armcc.txt b/cross/armcc.txt
new file mode 100644
index 0000000..c884ffa
--- /dev/null
+++ b/cross/armcc.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 armcc, armlink and armar while building.
+[binaries]
+c = 'armcc'
+cpp = 'armcc'
+ar = 'armar'
+strip = 'armar'
+
+[properties]
+# The '--cpu' option with the appropriate target type should be mentioned
+# to cross compile c/c++ code with armcc,.
+c_args = ['--cpu=Cortex-M0plus']
+cpp_args = ['--cpu=Cortex-M0plus']
+
+[host_machine]
+system = 'bare metal' # Update with your system name - bare metal/OS.
+cpu_family = 'arm'
+cpu = 'Cortex-M0+'
+endian = 'little'