diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-12-25 08:49:22 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-12-25 08:53:39 +0100 |
commit | 480c1d4b13a98f2de6b4013cfc460a19fd7b1d3e (patch) | |
tree | b849c78786c83ec90a5729c2812f5426d55f842d /package/meson/src | |
parent | 15b5d38385d8261339eed833b85a339505f4105c (diff) |
add meson/ninja host tools
Diffstat (limited to 'package/meson/src')
-rw-r--r-- | package/meson/src/cross-compilation.conf.in | 22 |
1 files changed, 22 insertions, 0 deletions
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@' |