Patchwork =?koi8-r?b?cW1ha2VfYmFzZS5iYmNsYXNzIHBhdGNoIHRvIGxvb2t1cCBm?= =?koi8-r?b?b3IgKi5wcm8gd2l0aGluICR7U30gaW5zdGVhZCBvZiAke0J9?=

login
register
mail settings
Submitter Denis Dydychkin
Date Dec. 27, 2010, 11:59 a.m.
Message ID <E1PXBjV-00008M-00.nyrl-mail-ru@f68.mail.ru>
Download mbox | patch
Permalink /patch/133/
State Accepted
Headers show

Comments

Denis Dydychkin - Dec. 27, 2010, 11:59 a.m.
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:
Khem Raj - Dec. 27, 2010, 5:14 p.m.
On 12/27/2010 3:59 AM, Denis Dydychkin wrote:
>
> 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.
>

seems ok to me.Wait for qmake expert to comment.

> 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
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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