summaryrefslogtreecommitdiffstats
path: root/cross/ubuntu-armhf.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cross/ubuntu-armhf.txt')
-rw-r--r--cross/ubuntu-armhf.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/cross/ubuntu-armhf.txt b/cross/ubuntu-armhf.txt
new file mode 100644
index 0000000..69e0c86
--- /dev/null
+++ b/cross/ubuntu-armhf.txt
@@ -0,0 +1,29 @@
+[binaries]
+# we could set exe_wrapper = qemu-arm-static but to test the case
+# when cross compiled binaries can't be run we don't do that
+c = '/usr/bin/arm-linux-gnueabihf-gcc'
+cpp = '/usr/bin/arm-linux-gnueabihf-g++'
+rust = ['rustc', '--target', 'arm-unknown-linux-gnueabihf', '-C', 'linker=/usr/bin/arm-linux-gnueabihf-gcc-7']
+ar = '/usr/arm-linux-gnueabihf/bin/ar'
+strip = '/usr/arm-linux-gnueabihf/bin/strip'
+pkgconfig = '/usr/bin/arm-linux-gnueabihf-pkg-config'
+ld = '/usr/bin/arm-linux/gnueabihf-ld'
+
+[built-in options]
+# Used in unit test '140 get define'
+c_args = ['-DMESON_TEST_ISSUE_1665=1']
+cpp_args = '-DMESON_TEST_ISSUE_1665=1'
+
+[properties]
+root = '/usr/arm-linux-gnueabihf'
+
+has_function_printf = true
+has_function_hfkerhisadf = false
+
+skip_sanity_check = true
+
+[host_machine]
+system = 'linux'
+cpu_family = 'arm'
+cpu = 'armv7' # Not sure if correct.
+endian = 'little'