summaryrefslogtreecommitdiffstats
path: root/rules/post/ptxd_make_meson_toolchain.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/post/ptxd_make_meson_toolchain.make')
-rw-r--r--rules/post/ptxd_make_meson_toolchain.make17
1 files changed, 17 insertions, 0 deletions
diff --git a/rules/post/ptxd_make_meson_toolchain.make b/rules/post/ptxd_make_meson_toolchain.make
new file mode 100644
index 000000000..d9c2aabca
--- /dev/null
+++ b/rules/post/ptxd_make_meson_toolchain.make
@@ -0,0 +1,17 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+$(PTXDIST_MESON_CROSS_FILE):
+ @$(CROSS_ENV) \
+ PTXCONF_ARCH_STRING=${PTXCONF_ARCH_STRING} \
+ ENDIAN=$(call ptx/ifdef, PTXCONF_ENDIAN_LITTLE, little, big) \
+ ptxd_make_meson_cross_file "${@}"
+
+# vim: syntax=make