From 480c1d4b13a98f2de6b4013cfc460a19fd7b1d3e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 25 Dec 2017 08:49:22 +0100 Subject: add meson/ninja host tools --- package/meson/src/cross-compilation.conf.in | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/meson/src/cross-compilation.conf.in (limited to 'package/meson/src') diff --git a/package/meson/src/cross-compilation.conf.in b/package/meson/src/cross-compilation.conf.in new file mode 100644 index 000000000..a636ca329 --- /dev/null +++ b/package/meson/src/cross-compilation.conf.in @@ -0,0 +1,22 @@ +# Note: OpenADK's and Meson's terminologies differ about the meaning +# of 'build', 'host' and 'target': +# - OpenADK's 'host' is Meson's 'build' +# - OpenADK's 'target' is Meson's 'host' + +[binaries] +c = '@TARGET_CROSS@gcc' +cpp = '@TARGET_CROSS@g++' +ar = '@TARGET_CROSS@ar' +strip = '@TARGET_CROSS@strip' +pkgconfig = '@STAGING_HOST_DIR@/usr/bin/pkg-config' +[properties] +c_args = [@TARGET_CFLAGS@] +c_link_args = [@TARGET_LDFLAGS@] +cpp_args = [@TARGET_CXXFLAGS@] +cpp_link_args = [@TARGET_LDFLAGS@] + +[host_machine] +system = 'linux' +cpu_family ='@TARGET_ARCH@' +cpu = '@TARGET_CPU@' +endian = '@TARGET_ENDIAN@' -- cgit v1.2.3