aboutsummaryrefslogtreecommitdiffstats
path: root/meson/cross/ubuntu-armhf.txt
diff options
context:
space:
mode:
Diffstat (limited to 'meson/cross/ubuntu-armhf.txt')
-rw-r--r--meson/cross/ubuntu-armhf.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/meson/cross/ubuntu-armhf.txt b/meson/cross/ubuntu-armhf.txt
new file mode 100644
index 000000000..69e0c8611
--- /dev/null
+++ b/meson/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'