Browse Source

Support PowerPC in generate-lv2.sh

pull/133/head
taylor.fish Filipe Coelho <falktx@falktx.com> 1 year ago
parent
commit
31afd943cf
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      scripts/generate-lv2.sh

+ 15
- 0
scripts/generate-lv2.sh View File

@@ -44,6 +44,21 @@ if [ -z "${MESON_EXE_WRAPPER}" ]; then
MESON_EXE_WRAPPER="qemu-x86_64-static" MESON_EXE_WRAPPER="qemu-x86_64-static"
fi fi


elif echo "${fileout}" | grep -q "64-bit LSB.*PowerPC"; then
if [ "$(uname -m)" != "ppc64le" ]; then
MESON_EXE_WRAPPER="qemu-ppc64le-static"
fi

elif echo "${fileout}" | grep -q "64-bit MSB.*PowerPC"; then
if [ "$(uname -m)" != "ppc64" ]; then
MESON_EXE_WRAPPER="qemu-ppc64-static"
fi

elif echo "${fileout}" | grep -q "32-bit MSB.*PowerPC"; then
if [ "$(uname -m)" != "ppc" ] && [ "$(uname -m)" != "ppc64" ]; then
MESON_EXE_WRAPPER="qemu-ppc-static"
fi

else else
echo "unrecognized file output: ${fileout}" echo "unrecognized file output: ${fileout}"
exit 1 exit 1


Loading…
Cancel
Save