#!/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="ar"
export AS="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/x86_64-linux/qtbase-native/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/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include"
export BUILD_CXX="g++ "
export BUILD_CXXFLAGS="-isystem/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/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/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -L/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib                         -Wl,-rpath,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/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="gcc "
export CCLD="gcc "
export CFLAGS="-isystem/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include -O2 -pipe"
export CONFIG_SITE="/home/sim/yocto/scarthgap/poky/meta/site/native"
export CPP="gcc  -E"
export CPPFLAGS="-isystem/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include"
export CXX="g++ "
export CXXFLAGS="-isystem/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include -O2 -pipe"
export FC="gfortran "
export GIT_CEILING_DIRECTORIES="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git:/home/sim/yocto/scarthgap/build/tmp"
export HOME="/home/sim"
export LC_ALL="en_US.UTF-8"
export LD="ld "
export LDFLAGS="-L/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -L/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib                         -Wl,-rpath,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/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 LOGNAME="sim"
export MAKE="make"
export NM="nm"
export OBJCOPY="objcopy"
export OBJDUMP="objdump"
export OE_QMAKE_AR="ar"
export OE_QMAKE_CC="gcc "
export OE_QMAKE_CFLAGS="-isystem/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include -O2 -pipe"
export OE_QMAKE_CXX="g++ "
export OE_QMAKE_CXXFLAGS="-isystem/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include -O2 -pipe"
export OE_QMAKE_LDFLAGS="-L/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -L/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib                         -Wl,-rpath,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/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 OE_QMAKE_LINK="g++ "
export OE_QMAKE_OBJCOPY="objcopy"
export OE_QMAKE_QTCONF_PATH="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/qt.conf"
export OE_QMAKE_STRIP="echo"
export OMP_NUM_THREADS="8"
export PATH="/home/sim/yocto/scarthgap/poky/scripts/native-intercept:/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/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/bin/x86_64-linux:/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/bin:/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/sbin:/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/bin:/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/sbin:/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/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/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib/pkgconfig"
export PKG_CONFIG_DISABLE_UNINSTALLED="yes"
export PKG_CONFIG_LIBDIR="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib/pkgconfig"
export PKG_CONFIG_PATH="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib/pkgconfig:/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/share/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR=""
unset PKG_CONFIG_SYSTEM_INCLUDE_PATH
unset PKG_CONFIG_SYSTEM_LIBRARY_PATH
export PSEUDO_DISABLED="1"
export PSEUDO_UNLOAD="1"
export PYTHONHASHSEED="0"
export RANLIB="ranlib -D"
export READELF="readelf"
unset SHELL
export SOURCE_DATE_EPOCH="1704396103"
export STRINGS="strings"
export STRIP="strip"
export TZ="UTC"
export USER="sim"
export base_bindir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/bin"
export base_libdir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib"
export base_prefix="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native"
export base_sbindir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/sbin"
export bindir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/bin"
export datadir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/share"
export docdir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/share/doc"
export exec_prefix="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr"
export includedir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include"
export infodir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/share/info"
export libdir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib"
export libexecdir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/libexec"
export localstatedir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/var"
export lt_cv_sys_lib_dlsearch_path_spec="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib /lib /lib64 /usr/lib /usr/lib64"
export mandir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/share/man"
export nonarch_base_libdir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib"
export nonarch_libdir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib"
export prefix="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr"
export sbindir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/sbin"
export servicedir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/srv"
export sharedstatedir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/com"
export sysconfdir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/etc"
export systemd_system_unitdir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib/systemd/system"
export systemd_unitdir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib/systemd"
export systemd_user_unitdir="/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib/systemd/user"

# line: 1, file: autogenerated
do_configure() {
    # Regenerate header files when they are included in source tarball
    # Otherwise cmake files don't set PRIVATE_HEADERS correctly
    rm -rf /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/git/include
    mkdir -p /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/git/.git || true

    # 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/x86_64-linux/qtbase-native/5.15.13+git/git/mkspecs/oe-device-extra.pri

    MAKEFLAGS="-j 8" /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/git/configure -opensource -confirm-license      -sysroot /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native     -L/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib     -no-gcc-sysroot     -system-zlib     -qt-pcre     -qt-doubleconversion     -no-accessibility     -no-cups     -no-sql-mysql     -no-sql-sqlite     -no-sql-psql     -no-opengl     -no-vulkan     -no-xcb     -no-icu     -verbose     -release     -prefix /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr     -hostprefix /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr     -bindir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/bin     -hostbindir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/bin     -libdir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib     -hostlibdir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib     -headerdir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include     -archdatadir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib     -datadir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/share     -hostdatadir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib     -docdir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/share/doc     -sysconfdir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/etc     -no-glib     -no-iconv     -silent     -nomake examples     -nomake tests     -no-rpath     -no-feature-linkat     -platform linux-oe-g++      -no-gui  -no-libpng -no-libjpeg -no-ico -no-gif -no-openssl  || die "Configuring qt failed. QT_CONFIG_FLAGS was      -sysroot /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native     -L/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib     -no-gcc-sysroot     -system-zlib     -qt-pcre     -qt-doubleconversion     -no-accessibility     -no-cups     -no-sql-mysql     -no-sql-sqlite     -no-sql-psql     -no-opengl     -no-vulkan     -no-xcb     -no-icu     -verbose     -release     -prefix /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr     -hostprefix /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr     -bindir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/bin     -hostbindir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/bin     -libdir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib     -hostlibdir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib     -headerdir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include     -archdatadir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib     -datadir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/share     -hostdatadir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib     -docdir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/share/doc     -sysconfdir /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/etc     -no-glib     -no-iconv     -silent     -nomake examples     -nomake tests     -no-rpath     -no-feature-linkat     -platform linux-oe-g++      -no-gui  -no-libpng -no-libjpeg -no-ico -no-gif -no-openssl "
    # Export function set
    base_do_configure
}

# line: 335, file: /home/sim/yocto/scarthgap/poky/meta/classes-global/base.bbclass
base_do_configure() {
	if [ -n "/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/qmake5_base_configure.sstate" -a -e "/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/qmake5_base_configure.sstate" ]; then
		if [ "`cat /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/qmake5_base_configure.sstate`" != "1c6e33acef49197533a79310b9cddc810b1c01ee75bf878f9ff7c1e41f440579" ]; then
			cd /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/build
			if [ "1" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then
				oe_runmake clean
			fi
			# -ignore_readdir_race does not work correctly with -delete;
			# use xargs to avoid spurious build failures
			find /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/build -ignore_readdir_race -name \*.la -type f -print0 | xargs -0 rm -f
		fi
	fi
	if [ -n "/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/qmake5_base_configure.sstate" ]; then
		mkdir -p `dirname /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/qmake5_base_configure.sstate`
		echo 1c6e33acef49197533a79310b9cddc810b1c01ee75bf878f9ff7c1e41f440579 > /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/qmake5_base_configure.sstate
	fi
}

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

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

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

# line: 36, file: /home/sim/yocto/scarthgap/poky/meta/classes-global/base.bbclass
oe_runmake_call() {
	bbnote make      MAKEFLAGS='-j 8'     OE_QMAKE_CC='gcc '     OE_QMAKE_CXX='g++ '     OE_QMAKE_CFLAGS='-isystem/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include -O2 -pipe'     OE_QMAKE_CXXFLAGS='-isystem/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include -O2 -pipe'     OE_QMAKE_LINK='g++ '     OE_QMAKE_LDFLAGS='-L/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -L/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib                         -Wl,-rpath,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/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'     OE_QMAKE_AR='ar'     OE_QMAKE_OBJCOPY='objcopy'     OE_QMAKE_STRIP='echo'     OE_QMAKE_INCDIR_QT='//home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include'  "$@"
	make      MAKEFLAGS='-j 8'     OE_QMAKE_CC='gcc '     OE_QMAKE_CXX='g++ '     OE_QMAKE_CFLAGS='-isystem/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include -O2 -pipe'     OE_QMAKE_CXXFLAGS='-isystem/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include -O2 -pipe'     OE_QMAKE_LINK='g++ '     OE_QMAKE_LDFLAGS='-L/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -L/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/lib                         -Wl,-rpath,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/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'     OE_QMAKE_AR='ar'     OE_QMAKE_OBJCOPY='objcopy'     OE_QMAKE_STRIP='echo'     OE_QMAKE_INCDIR_QT='//home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/recipe-sysroot-native/usr/include'  "$@"
}

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

cd '/home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/qtbase-native/5.15.13+git/build'
do_configure

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