Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: qmake_base.bbclass patch to lookup for *.pro within ${S} instead of ${B}
Date: Mon, 27 Dec 2010 09:14:48 -0800	[thread overview]
Message-ID: <4D18C988.5030701@gmail.com> (raw)
In-Reply-To: <E1PXBjV-00008M-00.nyrl-mail-ru@f68.mail.ru>

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




      reply	other threads:[~2010-12-27 17:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-27 11:59 qmake_base.bbclass patch to lookup for *.pro within ${S} instead of ${B} Denis Dydychkin
2010-12-27 17:14 ` Khem Raj [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D18C988.5030701@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox