#!/bin/sh

__BITBAKE_LAST_LINE=0

# Emit a useful diagnostic if something fails:
bb_sh_exit_handler() {
    ret=$?
    if [ "$ret" != 0 ]; then
        echo "WARNING: exit code $ret from a shell command."
    fi
    exit $ret
}

bb_bash_exit_handler() {
    ret=$?
    { set +x; } > /dev/null
    trap "" DEBUG
    if [ "$ret" != 0 ]; then
        echo "WARNING: ${BASH_SOURCE[0]}:${__BITBAKE_LAST_LINE} exit $ret from '$1'"

        echo "WARNING: Backtrace (BB generated script): "
        for i in $(seq 1 $((${#FUNCNAME[@]} - 1))); do
            if [ "$i" -eq 1 ]; then
                echo -e "	#$((i)): ${FUNCNAME[$i]}, ${BASH_SOURCE[$((i-1))]}, line ${__BITBAKE_LAST_LINE}"
            else
                echo -e "	#$((i)): ${FUNCNAME[$i]}, ${BASH_SOURCE[$((i-1))]}, line ${BASH_LINENO[$((i-1))]}"
            fi
        done
    fi
    exit $ret
}

bb_bash_debug_handler() {
    local line=${BASH_LINENO[0]}
    # For some reason the DEBUG trap trips with lineno=1 when scripts exit; ignore it
    if [ "$line" -eq 1 ]; then
        return
    fi

    # Track the line number of commands as they execute. This is so we can have access to the failing line number
    # in the EXIT trap. See http://gnu-bash.2382.n7.nabble.com/trap-echo-quot-trap-exit-on-LINENO-quot-EXIT-gt-wrong-linenumber-td3666.html
    if [ "${FUNCNAME[1]}" != "bb_bash_exit_handler" ]; then
        __BITBAKE_LAST_LINE=$line
    fi
}

case $BASH_VERSION in
"") trap 'bb_sh_exit_handler' 0
    set -e
    ;;
*)  trap 'bb_bash_exit_handler "$BASH_COMMAND"' 0
    trap '{ bb_bash_debug_handler; } 2>/dev/null' DEBUG
    set -e
    shopt -s extdebug
    ;;
esac
export AR="aarch64-poky-linux-gcc-ar"
export AS="aarch64-poky-linux-as "
export BUILD_AR="ar"
export BUILD_AS="as "
export BUILD_CC="gcc "
export BUILD_CCLD="gcc "
export BUILD_CFLAGS="-isystem/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/include -O2 -pipe"
export BUILD_CPP="gcc  -E"
export BUILD_CPPFLAGS="-isystem/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/include"
export BUILD_CXX="g++ "
export BUILD_CXXFLAGS="-isystem/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/include -O2 -pipe"
export BUILD_FC="gfortran "
export BUILD_LD="ld "
export BUILD_LDFLAGS="-L/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/lib                         -L/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/lib                         -Wl,-rpath,/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/sim/yocto/scarthgap/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread"
export BUILD_NM="nm"
export BUILD_RANLIB="ranlib -D"
export BUILD_STRIP="strip"
export CC="aarch64-poky-linux-gcc  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot"
export CCLD="aarch64-poky-linux-gcc  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot"
export CC_host="gcc"
export CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image= "
export CPP="aarch64-poky-linux-gcc -E --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security"
export CPPFLAGS=""
export CXX="aarch64-poky-linux-g++  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot"
export CXXFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image=  -fvisibility-inlines-hidden"
export CXX_host="g++"
export FC="aarch64-poky-linux-gfortran  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot"
export GIT_CEILING_DIRECTORIES="/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git:/home/sim/yocto/scarthgap/build/tmp"
export HOME="/home/sim"
export LC_ALL="en_US.UTF-8"
export LD="aarch64-poky-linux-ld --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot "
export LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image=  -Wl,-z,relro,-z,now"
export LD_host="g++"
export LOGNAME="sim"
export MAKE="make"
export NM="aarch64-poky-linux-gcc-nm"
export OBJCOPY="aarch64-poky-linux-objcopy"
export OBJDUMP="aarch64-poky-linux-objdump"
export OE_QMAKE_AR="aarch64-poky-linux-gcc-ar"
export OE_QMAKE_CC="aarch64-poky-linux-gcc  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot"
export OE_QMAKE_CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image= "
export OE_QMAKE_CXX="aarch64-poky-linux-g++  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot"
export OE_QMAKE_CXXFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image=  -fvisibility-inlines-hidden"
export OE_QMAKE_LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image=  -Wl,-z,relro,-z,now"
export OE_QMAKE_LINK="aarch64-poky-linux-g++  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot"
export OE_QMAKE_OBJCOPY="aarch64-poky-linux-objcopy"
export OE_QMAKE_QTCONF_PATH="/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/qt.conf"
export OE_QMAKE_STRIP="echo"
export OMP_NUM_THREADS="8"
export PATH="/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/bin:/home/sim/yocto/scarthgap/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/sim/yocto/scarthgap/poky/scripts:/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot/usr/bin/crossscripts:/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/sbin:/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/bin:/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/sbin:/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/bin:/home/sim/yocto/scarthgap/poky/bitbake/bin:/home/sim/yocto/scarthgap/build/tmp/hosttools"
export PERL_HASH_SEED="0"
export PKG_CONFIG_DIR="/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot/usr/lib/pkgconfig"
export PKG_CONFIG_DISABLE_UNINSTALLED="yes"
export PKG_CONFIG_LIBDIR="/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot/usr/lib/pkgconfig"
export PKG_CONFIG_PATH="/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot/usr/lib/pkgconfig:/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot/usr/share/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR="/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot"
export PKG_CONFIG_SYSTEM_INCLUDE_PATH="/usr/include"
export PKG_CONFIG_SYSTEM_LIBRARY_PATH="/usr/lib:/usr/lib"
export PSEUDO_DISABLED="0"
export PSEUDO_IGNORE_PATHS="/usr/,/etc/,/usr/lib,/dev/,/run/,/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/temp,/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot,/home/sim/yocto/scarthgap/sstate-cache,/home/sim/yocto/scarthgap/build/tmp/stamps,/home/sim/yocto/scarthgap/build/tmp/sstate-control,/home/sim/yocto/scarthgap/build/tmp/buildstats,/home/sim/yocto/scarthgap/build/tmp/sysroots-components,/home/sim/yocto/scarthgap/build/tmp/pkgdata,/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/deploy-,/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/sstate-build-package_,/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/sstate-install-package_,/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/pkgdata-sysroot,/home/sim/yocto/scarthgap/build/tmp/deploy,/home/sim/yocto/scarthgap/build/cache,/home/sim/yocto/scarthgap/poky/scripts,/home/sim/yocto/scarthgap/poky/meta/files/common-licenses,/home/sim/yocto/scarthgap/poky/meta-openembedded/meta-multimedia/licenses,/home/sim/yocto/scarthgap/poky/meta-openembedded/meta-networking/licenses,/home/sim/yocto/scarthgap/poky/meta-openembedded/meta-oe/licenses,/home/sim/yocto/scarthgap/poky/meta-openembedded/meta-python/licenses,/home/sim/yocto/scarthgap/poky/meta-openembedded/meta-webserver/licenses,/home/sim/yocto/scarthgap/poky/meta-raspberrypi/files/custom-licenses,/home/sim/yocto/scarthgap/poky/meta-qt5/licenses,/home/sim/yocto/scarthgap/poky/meta-python2/licenses,/home/sim/yocto/scarthgap/poky/meta/COPYING,/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git,/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build"
export PSEUDO_LOCALSTATEDIR="/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/pseudo/"
export PSEUDO_NOSYMLINKEXP="1"
export PSEUDO_PASSWD="/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot:/home/sim/yocto/scarthgap/build/tmp/sysroots-components/x86_64/pseudo-native"
export PSEUDO_PREFIX="/home/sim/yocto/scarthgap/build/tmp/sysroots-components/x86_64/pseudo-native/usr"
export PYTHONHASHSEED="0"
export RANLIB="aarch64-poky-linux-gcc-ranlib"
export READELF="aarch64-poky-linux-readelf"
unset SHELL
export SOURCE_DATE_EPOCH="1704396103"
export STRINGS="aarch64-poky-linux-strings"
export STRIP="aarch64-poky-linux-strip"
export TZ="UTC"
export USER="sim"
export base_bindir="/usr/bin"
export base_libdir="/usr/lib"
export base_prefix=""
export base_sbindir="/usr/sbin"
export bindir="/usr/bin"
export datadir="/usr/share"
export docdir="/usr/share/doc"
export exec_prefix="/usr"
export includedir="/usr/include"
export infodir="/usr/share/info"
export libdir="/usr/lib"
export libexecdir="/usr/libexec"
export localstatedir="/var"
export mandir="/usr/share/man"
export nonarch_base_libdir="/usr/lib"
export nonarch_libdir="/usr/lib"
export prefix="/usr"
export sbindir="/usr/sbin"
export servicedir="/srv"
export sharedstatedir="/com"
export sysconfdir="/etc"
export systemd_system_unitdir="/usr/lib/systemd/system"
export systemd_unitdir="/usr/lib/systemd"
export systemd_user_unitdir="/usr/lib/systemd/user"

# line: 1, file: autogenerated
do_install() {
    # Export function set
    qmake5_do_install
    # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory"
    touch /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image//usr/lib/mkspecs/oe-device-extra.pri

    # Update the mkspecs to include the default OE toolchain config for the target
    conf=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image//usr/lib/mkspecs/linux-oe-g++/qmake.conf

    # qmake already knows the sysroot, see above $$[QT_SYSROOT], so remove the hardcoded sysroot
    OE_QMAKE_CC_NO_SYSROOT=$(echo aarch64-poky-linux-gcc  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot | sed -e 's!--sysroot=[^ ]*!!g')
    OE_QMAKE_CXX_NO_SYSROOT=$(echo aarch64-poky-linux-g++  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot | sed -e 's!--sysroot=[^ ]*!!g')
    OE_QMAKE_LINK_NO_SYSROOT=$(echo aarch64-poky-linux-g++  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot | sed -e 's!--sysroot=[^ ]*!!g')

    echo "" >> $conf
    echo "# default compiler options which can be overwritten from the environment" >> $conf
    echo "count(QMAKE_AR, 1): QMAKE_AR = aarch64-poky-linux-gcc-ar cqs" >> $conf
    echo "isEmpty(QMAKE_CC): QMAKE_CC = $OE_QMAKE_CC_NO_SYSROOT" >> $conf
    echo "isEmpty(QMAKE_CXX): QMAKE_CXX = $OE_QMAKE_CXX_NO_SYSROOT" >> $conf
    # OE_QMAKE_CFLAGS and OE_QMAKE_CXXFLAGS contain path of the build host, which is not useful for the target.
    echo "isEmpty(QMAKE_CFLAGS): QMAKE_CFLAGS =  -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image= " | sed -e 's/-fdebug-prefix-map=[^ ]*//g' | sed -e 's/-fmacro-prefix-map=[^ ]*//g' >> $conf
    echo "isEmpty(QMAKE_CXXFLAGS): QMAKE_CXXFLAGS =  -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image=  -fvisibility-inlines-hidden" | sed -e 's/-fdebug-prefix-map=[^ ]*//g' | sed -e 's/-fmacro-prefix-map=[^ ]*//g' >> $conf
    echo "isEmpty(QMAKE_LINK): QMAKE_LINK = $OE_QMAKE_LINK_NO_SYSROOT" >> $conf
    echo "isEmpty(QMAKE_LINK_SHLIB): QMAKE_LINK_SHLIB = $OE_QMAKE_LINK_NO_SYSROOT" >> $conf
    echo "isEmpty(QMAKE_LINK_C): QMAKE_LINK_C = $OE_QMAKE_LINK_NO_SYSROOT" >> $conf
    echo "isEmpty(QMAKE_LINK_C_SHLIB): QMAKE_LINK_C_SHLIB = $OE_QMAKE_LINK_NO_SYSROOT" >> $conf
    # OE_QMAKE_LFLAGS contains path of the build host, which is not useful for the target.
    echo "isEmpty(QMAKE_LFLAGS): QMAKE_LFLAGS = -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image=  -Wl,-z,relro,-z,now" | sed -e 's/-fdebug-prefix-map=[^ ]*//g' | sed -e 's/-fmacro-prefix-map=[^ ]*//g' >> $conf
    echo "isEmpty(QMAKE_OBJCOPY): QMAKE_OBJCOPY = aarch64-poky-linux-objcopy" >> $conf
    echo "isEmpty(QMAKE_STRIP): QMAKE_STRIP = aarch64-poky-linux-strip" >> $conf
    echo "isEmpty(CC_host): CC_host = gcc" >> $conf
    echo "isEmpty(CXX_host): CXX_host = g++" >> $conf
    echo "isEmpty(LD_host): LD_host = g++" >> $conf

    generate_target_qt_config_file /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image/usr/bin/qt.conf

    # Fix up absolute paths in scripts and use python3 instead of python
    sed -i -e '1s,#!/usr/bin/python$,#! /usr/bin/env python3,' \
        /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image/usr/lib/mkspecs/features/uikit/devices.py
}

# line: 51, file: /home/sim/yocto/scarthgap/poky/meta-qt5/classes/qmake5_base.bbclass
generate_target_qt_config_file() {
    qtconf="$1"
    cat > "$qtconf" <<EOF
[Paths]
Prefix = /usr
Headers = /usr/include
Libraries = /usr/lib
ArchData = /usr/lib
Data = /usr/share
Binaries = /usr/bin
LibraryExecutables = /usr/lib/libexec
Plugins = /usr/lib/plugins
Qml2Imports = /usr/lib/qml
Translations = /usr/share/translations
Documentation = /usr/share/doc
Settings = /etc
Examples = /usr/share/examples
Tests = /usr/share/tests
HostBinaries = /usr/bin
HostData = /usr/lib
HostLibraries = /usr/lib
HostSpec = linux-oe-g++
TargetSpec = linux-oe-g++
ExternalHostBinaries = /usr/bin
Sysroot =
EOF
}

# line: 13, file: /home/sim/yocto/scarthgap/poky/meta-qt5/classes/qmake5.bbclass
qmake5_do_install() {
    qmake5_base_do_install
}

# line: 230, file: /home/sim/yocto/scarthgap/poky/meta-qt5/classes/qmake5_base.bbclass
qmake5_base_do_install() {
    # Fix install paths for all
    find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot,(INSTALL_ROOT),g"
    find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot,(INSTALL_ROOT),g"
    find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native,(INSTALL_ROOT),g"

    oe_runmake install INSTALL_ROOT=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image

    # everything except HostData and HostBinaries is prefixed with sysroot value,
    # but we cannot remove sysroot override, because that's useful for pkg-config etc
    # concurrent builds may cause qmake to regenerate Makefiles and override the above
    # sed changes. If that happens, move files manually to correct location.
    qmake5_base_fix_install /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot
    qmake5_base_fix_install /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot
    qmake5_base_fix_install /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native

    # Replace host paths with qmake built-in properties
    find /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image \( -name "*.pri" -or -name "*.prl" \) -exec \
        sed -i -e 's|/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native|$$[QT_HOST_PREFIX/get]|g' \
            -e 's|/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot|$$[QT_SYSROOT]|g' {} \
            -e '/QMAKE_PRL_BUILD_DIR/d' {} \;

    # Replace host paths with pkg-config built-in variable
    find /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image -name "*.pc" -exec \
        sed -i -e 's|prefix=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot|prefix=|g' \
            -e 's|/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot|${pc_sysrootdir}|g' {} \;

    # Replace resolved lib path with the lib name
    find /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image -name "*.cmake" -exec \
        sed -i -e 's@/[^;]*/lib\([^;]*\)\.\(so\|a\)@\1@g' {} \;
}

# line: 41, file: /home/sim/yocto/scarthgap/poky/meta/classes-global/base.bbclass
oe_runmake() {
	oe_runmake_call "$@" || die "oe_runmake failed"
}

# line: 215, file: /home/sim/yocto/scarthgap/poky/meta-qt5/classes/qmake5_base.bbclass
qmake5_base_fix_install() {
    STAGING_PATH=$1
    if [ -d /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image${STAGING_PATH} ] ; then
        echo "Some files are installed in wrong directory /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image${STAGING_PATH}"
        cp -ra /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image${STAGING_PATH}/* /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image
        rm -rf /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image${STAGING_PATH}
        # remove empty dirs
        TMP=`dirname /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image${STAGING_PATH}`
        while test $TMP != /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image; do
            rmdir $TMP
            TMP=`dirname $TMP`;
        done
    fi
}

# line: 32, file: /home/sim/yocto/scarthgap/poky/meta/classes-global/base.bbclass
die() {
	bbfatal_log "$*"
}

# line: 36, file: /home/sim/yocto/scarthgap/poky/meta/classes-global/base.bbclass
oe_runmake_call() {
	bbnote make -j 8      MAKEFLAGS='-j 8'     OE_QMAKE_CC='aarch64-poky-linux-gcc  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot'     OE_QMAKE_CXX='aarch64-poky-linux-g++  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot'     OE_QMAKE_CFLAGS=' -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image= '     OE_QMAKE_CXXFLAGS=' -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image=  -fvisibility-inlines-hidden'     OE_QMAKE_LINK='aarch64-poky-linux-g++  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot'     OE_QMAKE_LDFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image=  -Wl,-z,relro,-z,now'     OE_QMAKE_AR='aarch64-poky-linux-gcc-ar'     OE_QMAKE_OBJCOPY='aarch64-poky-linux-objcopy'     OE_QMAKE_STRIP='echo'     OE_QMAKE_INCDIR_QT='/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot//usr/include'  "$@"
	make -j 8      MAKEFLAGS='-j 8'     OE_QMAKE_CC='aarch64-poky-linux-gcc  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot'     OE_QMAKE_CXX='aarch64-poky-linux-g++  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot'     OE_QMAKE_CFLAGS=' -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image= '     OE_QMAKE_CXXFLAGS=' -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image=  -fvisibility-inlines-hidden'     OE_QMAKE_LINK='aarch64-poky-linux-g++  -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot'     OE_QMAKE_LDFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/git=/usr/src/debug/qtbase/5.15.13+git  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build=/usr/src/debug/qtbase/5.15.13+git  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot=  -fdebug-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native=   -fmacro-prefix-map=/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/image=  -Wl,-z,relro,-z,now'     OE_QMAKE_AR='aarch64-poky-linux-gcc-ar'     OE_QMAKE_OBJCOPY='aarch64-poky-linux-objcopy'     OE_QMAKE_STRIP='echo'     OE_QMAKE_INCDIR_QT='/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/recipe-sysroot//usr/include'  "$@"
}

# line: 72, file: /home/sim/yocto/scarthgap/poky/meta/classes-global/logging.bbclass
bbfatal_log() {
	if [ -p /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/temp/fifo.3045869 ] ; then
		printf "%b\0" "bbfatal_log $*" > /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/temp/fifo.3045869
	else
		echo "ERROR: $*"
	fi
	exit 1
}

# line: 27, file: /home/sim/yocto/scarthgap/poky/meta/classes-global/logging.bbclass
bbnote() {
	if [ -p /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/temp/fifo.3045869 ] ; then
		printf "%b\0" "bbnote $*" > /home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/temp/fifo.3045869
	else
		echo "NOTE: $*"
	fi
}

cd '/home/sim/yocto/scarthgap/build/tmp/work/cortexa72-poky-linux/qtbase/5.15.13+git/build'
do_install

# cleanup
ret=$?
trap '' 0
exit $ret
