5 *linux-oe-g++|*linux-uclibc-oe-g++)
8 die Unsupported target ${TARGET_OS} for oe-g++ qmake spec
11 oenote Searching for qmake spec file
12 paths="${QMAKE_MKSPEC_PATH}/qws/${TARGET_OS}-${TARGET_ARCH}-g++"
13 paths="${QMAKE_MKSPEC_PATH}/${TARGET_OS}-g++ $paths"
15 if (echo "${TARGET_ARCH}"|grep -q 'i.86'); then
16 paths="${QMAKE_MKSPEC_PATH}/qws/${TARGET_OS}-x86-g++ $paths"
27 oenote "using qmake spec in ${QMAKESPEC}, using profiles '${QMAKE_PROFILES}'"
29 if [ -z "${QMAKE_PROFILES}" ]; then
32 PROFILES="${QMAKE_PROFILES}"
35 if [ -z "$PROFILES" ]; then
36 die "QMAKE_PROFILES not set and no profiles found in $PWD"
39 if [ ! -z "${EXTRA_QMAKEVARS_POST}" ]; then
41 QMAKE_VARSUBST_POST="${EXTRA_QMAKEVARS_POST}"
42 oenote "qmake postvar substitution: ${EXTRA_QMAKEVARS_POST}"
45 if [ ! -z "${EXTRA_QMAKEVARS_PRE}" ]; then
46 QMAKE_VARSUBST_PRE="${EXTRA_QMAKEVARS_PRE}"
47 oenote "qmake prevar substitution: ${EXTRA_QMAKEVARS_PRE}"
50 #oenote "Calling 'qmake -makefile -spec ${QMAKESPEC} -o Makefile $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST'"
51 unset QMAKESPEC || true
52 qmake -makefile -spec ${QMAKESPEC} -o Makefile $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST || die "Error calling qmake on $PROFILES"
55 EXPORT_FUNCTIONS do_configure
57 addtask configure after do_unpack do_patch before do_compile