From patchwork Mon Dec 27 11:59:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: =?koi8-r?b?cW1ha2VfYmFzZS5iYmNsYXNzIHBhdGNoIHRvIGxvb2t1cCBm?= =?koi8-r?b?b3IgKi5wcm8gd2l0aGluICR7U30gaW5zdGVhZCBvZiAke0J9?= Date: Mon, 27 Dec 2010 11:59:21 -0000 From: Denis Dydychkin X-Patchwork-Id: 133 Message-Id: To: openembedded-devel 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: --- 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