summarylogtreecommitdiffstats
path: root/meson.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meson.sh')
-rw-r--r--meson.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/meson.sh b/meson.sh
new file mode 100644
index 000000000000..92da828d1adb
--- /dev/null
+++ b/meson.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env sh
+
+TARGET=aarch64-linux-gnu
+
+CROSS_FILE=/usr/share/aarch64/toolchain.meson
+
+source $TARGET-environment
+
+exec meson setup \
+ --buildtype release \
+ --wrap-mode nofallback \
+ -D strip=true \
+ --cross-file $CROSS_FILE \
+ --default-library shared \
+ "$@"