1#!/bin/sh 2set -e 3 4if [ -z "$QNX_HOST" ]; then 5 echo "QNX_HOST not set" 6 exit 1 7fi 8 9if [ -z "$QNX_TARGET" ]; then 10 echo "QNX_TARGET not set" 11 exit 1 12fi 13 14export PKG_CONFIG_LIBDIR=../../pkgconfig 15 16meson setup ../../.. gfxstream/ \ 17 --cross-file ./meson.cross.ini \ 18 -Ddefault_library=shared \ 19 -Ddecoders=gles,vulkan,composer \ 20 -Dqnx_target=$QNX_TARGET 21 22ninja -v -C gfxstream 23