aboutsummaryrefslogtreecommitdiff
path: root/cross/ccrx.txt
diff options
context:
space:
mode:
authorPhillip Cao <ftechz@gmail.com>2018-10-25 15:24:05 +1300
committerPhillip Cao <ftechz@gmail.com>2018-11-08 00:02:22 +1300
commit68c83cb213ab3f17593699020313535d5de1e92f (patch)
treea7d1e78ca6d0f8fe1b1ad0e19bbac5e1d10039ec /cross/ccrx.txt
parent996f07c546d6e82b0648a1d9f81d7474b1bec76e (diff)
downloadmeson-68c83cb213ab3f17593699020313535d5de1e92f.zip
meson-68c83cb213ab3f17593699020313535d5de1e92f.tar.gz
meson-68c83cb213ab3f17593699020313535d5de1e92f.tar.bz2
Add support for Renesas CC-RX toolchain
Diffstat (limited to 'cross/ccrx.txt')
-rw-r--r--cross/ccrx.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/cross/ccrx.txt b/cross/ccrx.txt
new file mode 100644
index 0000000..5474bb0
--- /dev/null
+++ b/cross/ccrx.txt
@@ -0,0 +1,20 @@
+# This file assumes that path to the Renesas CC-RX toolchain is added
+# to the environment(PATH) variable, so that Meson can find
+# ccrx and rlink while building.
+[binaries]
+c = 'ccrx'
+cpp = 'ccrx'
+ar = 'rlink'
+strip = 'rlink'
+
+[properties]
+# The '--cpu' option with the appropriate target type should be mentioned
+# to cross compile c/c++ code with ccrx,.
+c_args = ['--cpu=rx600']
+cpp_args = ['--cpu=rx600']
+
+[host_machine]
+system = 'bare metal' # Update with your system name - bare metal/OS.
+cpu_family = 'rx'
+cpu = 'rx600'
+endian = 'little'