aboutsummaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorSomasekhar Penugonda <somashekar.penugonda@cirrus.com>2018-03-15 18:33:11 +0530
committerBedarkar, Malhar <malhar.bedarkar@cirrus.com>2018-03-27 17:04:26 -0500
commite62b8109ebfef437a380f2d8cedd1565095a5574 (patch)
tree2e353dba15707166c005125930dee6be90751193 /cross
parent831d1e4c2e7b0ce8dfd0b2471bf2dab499181d66 (diff)
downloadmeson-e62b8109ebfef437a380f2d8cedd1565095a5574.zip
meson-e62b8109ebfef437a380f2d8cedd1565095a5574.tar.gz
meson-e62b8109ebfef437a380f2d8cedd1565095a5574.tar.bz2
Updates to CPP support and update review changes
Diffstat (limited to 'cross')
-rw-r--r--cross/armcc.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/cross/armcc.txt b/cross/armcc.txt
index 2597738..c884ffa 100644
--- a/cross/armcc.txt
+++ b/cross/armcc.txt
@@ -1,11 +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 = 'WINDOWS'
+system = 'bare metal' # Update with your system name - bare metal/OS.
cpu_family = 'arm'
cpu = 'Cortex-M0+'
endian = 'little'