aboutsummaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-07-26 23:50:04 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-07-27 00:55:28 +0300
commit30d0c2292fee831d74f080e62c1c74990ea76abb (patch)
tree7f704fc6be20119e95ccf083066d00f619993bc0 /cross
parent37b2a195bd24d71044474129cdf4af3540770618 (diff)
downloadmeson-30d0c2292fee831d74f080e62c1c74990ea76abb.zip
meson-30d0c2292fee831d74f080e62c1c74990ea76abb.tar.gz
meson-30d0c2292fee831d74f080e62c1c74990ea76abb.tar.bz2
Support target-only cross compilation properly.
Diffstat (limited to 'cross')
-rw-r--r--cross/ubuntu-faketarget.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/cross/ubuntu-faketarget.txt b/cross/ubuntu-faketarget.txt
new file mode 100644
index 0000000..5d7ba0d
--- /dev/null
+++ b/cross/ubuntu-faketarget.txt
@@ -0,0 +1,12 @@
+# This is a setup for compiling a program that runs natively
+# but produces output that runs on a different platform.
+# That is either a cross compiler or something like binutils.
+
+# We don't need to specify any properties or compilers,
+# for we use the native ones and can run the resulting
+# binaries directly.
+
+[target_machine]
+name='linux'
+cpu='mips'
+endian='little'