Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Kang Kai <Kai.Kang@windriver.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: question about meta/class/qmake-base.bbclass
Date: Wed, 24 Aug 2011 09:48:15 +0800	[thread overview]
Message-ID: <4E54585F.7070306@windriver.com> (raw)
In-Reply-To: <201108221946.26036.paul.eggleton@linux.intel.com>

On 2011年08月23日 02:46, Paul Eggleton wrote:
> On Monday 22 August 2011 10:42:42 Kang Kai wrote:
>> When I read the file  meta/class/qmake-base.bbclass, I find that that
>> are 2 lines:
>>       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"
>>
>> I am confused that why unset QMAKESPEC first and then use it a argument
>> for qmake?
> It's not obvious, but think that the difference here is between $QMAKESPEC and
> ${QMAKESPEC} - the first one is a reference to an environment variable, the
> second is a reference to an OE/BitBake variable. So "unset QMAKESPEC" is just
> clearing out the environment variable; ${QMAKESPEC} would still have a value.
>
> Cheers,
> Paul
>
Hi Paul,

Thanks for your detailed answer.

Regards,
Kai



  reply	other threads:[~2011-08-24  1:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-22  9:42 question about meta/class/qmake-base.bbclass Kang Kai
2011-08-22 18:46 ` Paul Eggleton
2011-08-24  1:48   ` Kang Kai [this message]
     [not found] ` <4E523DE7.8060609@selfish.org>
2011-08-24  1:47   ` Kang Kai

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=4E54585F.7070306@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul.eggleton@linux.intel.com \
    /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