summaryrefslogtreecommitdiff
path: root/meta/classes/qmake.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-09-21 15:17:23 +0000
committerRichard Purdie <richard@openedhand.com>2006-09-21 15:17:23 +0000
commit5cacd3ea7efd69e57979d962616bf87c521c6f8b (patch)
treea379a06824d2194bf5d684f80394c587e5394795 /meta/classes/qmake.bbclass
parent4471ca5bf7e65c8dfd315e7a0ad532ee598fe4d7 (diff)
downloadopenembedded-core-5cacd3ea7efd69e57979d962616bf87c521c6f8b.tar.gz
openembedded-core-5cacd3ea7efd69e57979d962616bf87c521c6f8b.tar.bz2
openembedded-core-5cacd3ea7efd69e57979d962616bf87c521c6f8b.tar.xz
openembedded-core-5cacd3ea7efd69e57979d962616bf87c521c6f8b.zip
Remove unneeded classes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@742 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/qmake.bbclass')
-rw-r--r--meta/classes/qmake.bbclass57
1 files changed, 0 insertions, 57 deletions
diff --git a/meta/classes/qmake.bbclass b/meta/classes/qmake.bbclass
deleted file mode 100644
index 4f2fceff3..000000000
--- a/meta/classes/qmake.bbclass
+++ /dev/null
@@ -1,57 +0,0 @@
-inherit qmake-base
-
-qmake_do_configure() {
- case ${QMAKESPEC} in
- *linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++)
- ;;
- *-oe-g++)
- die Unsupported target ${TARGET_OS} for oe-g++ qmake spec
- ;;
- *)
- oenote Searching for qmake spec file
- paths="${QMAKE_MKSPEC_PATH}/qws/${TARGET_OS}-${TARGET_ARCH}-g++"
- paths="${QMAKE_MKSPEC_PATH}/${TARGET_OS}-g++ $paths"
-
- if (echo "${TARGET_ARCH}"|grep -q 'i.86'); then
- paths="${QMAKE_MKSPEC_PATH}/qws/${TARGET_OS}-x86-g++ $paths"
- fi
- for i in $paths; do
- if test -e $i; then
- export QMAKESPEC=$i
- break
- fi
- done
- ;;
- esac
-
- oenote "using qmake spec in ${QMAKESPEC}, using profiles '${QMAKE_PROFILES}'"
-
- if [ -z "${QMAKE_PROFILES}" ]; then
- PROFILES="`ls *.pro`"
- else
- PROFILES="${QMAKE_PROFILES}"
- fi
-
- if [ -z "$PROFILES" ]; then
- die "QMAKE_PROFILES not set and no profiles found in $PWD"
- fi
-
- if [ ! -z "${EXTRA_QMAKEVARS_POST}" ]; then
- AFTER="-after"
- QMAKE_VARSUBST_POST="${EXTRA_QMAKEVARS_POST}"
- oenote "qmake postvar substitution: ${EXTRA_QMAKEVARS_POST}"
- fi
-
- if [ ! -z "${EXTRA_QMAKEVARS_PRE}" ]; then
- QMAKE_VARSUBST_PRE="${EXTRA_QMAKEVARS_PRE}"
- oenote "qmake prevar substitution: ${EXTRA_QMAKEVARS_PRE}"
- fi
-
-#oenote "Calling '${OE_QMAKE_QMAKE} -makefile -spec ${QMAKESPEC} -o Makefile $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST'"
- unset QMAKESPEC || true
- ${OE_QMAKE_QMAKE} -makefile -spec ${QMAKESPEC} -o Makefile $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST || die "Error calling ${OE_QMAKE_QMAKE} on $PROFILES"
-}
-
-EXPORT_FUNCTIONS do_configure
-
-addtask configure after do_unpack do_patch before do_compile