ES-DE/arm_build.sh
Leon Styhre 73411266c1 Squashed 'external/rlottie/' content from commit bf3d272df
git-subtree-dir: external/rlottie
git-subtree-split: bf3d272df3916a0c34575ac8286cb0fe672fd0d4
2022-01-06 22:59:15 +01:00

15 lines
317 B
Bash
Executable file

#!/bin/bash
if [ -z "$1" ]; then
echo "Sysroot PATH is not provided"
echo "Usage: arm_build SYSROOT_PATH"
exit 1;
fi
if [ ! -d "./builddir_wasm" ]; then
sed "s|SYSROOT:|$1|g" arm_cross.txt > /tmp/.arm_cross.txt
meson builddir_arm --cross-file /tmp/.arm_cross.txt
fi
sudo ninja -C builddir_arm/