aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Dydychkin <nyrl@mail.ru>2010-12-27 19:59:21 +0000
committerKhem Raj <raj.khem@gmail.com>2011-01-07 14:42:33 -0800
commitd81a0f0623776e2d2de44863cd6869f829834046 (patch)
treea1b0d72cbe1b8ded88e59910b6505be7040b7de1
parentd470cfde5bd1d4c9ab23a37d286456726711229f (diff)
downloadopenembedded-d81a0f0623776e2d2de44863cd6869f829834046.tar.gz
openembedded-d81a0f0623776e2d2de44863cd6869f829834046.tar.bz2
openembedded-d81a0f0623776e2d2de44863cd6869f829834046.zip
qmake_base.bbclass patch to lookup for *.pro within ${S} instead of ${B}
qmake_base.bbclass from release-2010.12 has ability to lookup for QMAKE_PROFILES if none specified by recipe. Unfortunately it does that in ${B} directory instead of ${S}, thus it does not work if they differ. Here is suggested patch: Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--classes/qmake_base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/qmake_base.bbclass b/classes/qmake_base.bbclass
index 577c0fab3b..3715cec0df 100644
--- a/classes/qmake_base.bbclass
+++ b/classes/qmake_base.bbclass
@@ -61,7 +61,7 @@ qmake_base_do_configure() {
oenote "using qmake spec in ${QMAKESPEC}, using profiles '${QMAKE_PROFILES}'"
if [ -z "${QMAKE_PROFILES}" ]; then
- PROFILES="`ls *.pro`"
+ PROFILES="`ls ${S}/*.pro`"
else
PROFILES="${QMAKE_PROFILES}"
fi