mirror of
https://gitlab.com/es-de/emulationstation-de.git
synced 2025-04-02 10:51:45 -04:00
14 lines
317 B
Bash
Executable file
14 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/
|