From: Robert Yang <liezhi.yang@windriver.com>
To: Otavio Salvador <otavio.salvador@ossystems.com.br>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/2] base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags()
Date: Wed, 12 Aug 2015 10:13:22 +0800 [thread overview]
Message-ID: <55CAABC2.50008@windriver.com> (raw)
In-Reply-To: <CAP9ODKqzs9VF7C6YFcgdu1tPuFq_ftOyS6HQZda9qvv=i23e4w@mail.gmail.com>
On 08/11/2015 08:45 PM, Otavio Salvador wrote:
> On Thu, Jul 30, 2015 at 12:18 PM, Robert Yang <liezhi.yang@windriver.com> wrote:
>> The FOO[doc] is set in meta/conf/documentation.conf, we need remove it
>> from d.getVarFlags()'s return dict when it causes many loops.
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>
> It seems your commit log is incomplete or so as I couldn't understand
> why this is need.
>
> Also as Andre says, we ought to not break existing layer without a
> very strong reason and if needed, changing documentation.conf instead
> of this seems more adequate.
>
The code in base.bbclass is: (no remove PACKAGECONFIG[doc])
pkgconfigflags = d.getVarFlags("PACKAGECONFIG") or {}
if pkgconfigflags:
<foo>
And documentation.conf:
PACKAGECONFIG[doc] = "This variable provides a means of enabling or disabling
features of a recipe on a per-recipe basis."
This will make "if pkgconfigflags:" always be true and cause many unneeded
loops since there is always PACKAGECONFIG[doc].
Remove PACKAGECONFIG[doc] or comment it sounds good to me.
// Robert
next prev parent reply other threads:[~2015-08-12 2:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-30 15:18 [PATCH 0/2] fixes for PACKAGECONFIG Robert Yang
2015-07-30 15:18 ` [PATCH 1/2] base.bbclass: move invalid PACKAGECONFIG checking to insane.bbclass Robert Yang
2015-07-30 15:18 ` [PATCH 2/2] base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags() Robert Yang
2015-08-11 2:00 ` Andre McCurdy
2015-08-11 2:17 ` Robert Yang
2015-08-11 14:36 ` Burton, Ross
2015-08-11 12:45 ` Otavio Salvador
2015-08-12 2:13 ` Robert Yang [this message]
2015-08-12 13:45 ` Otavio Salvador
2015-08-12 14:04 ` Paul Eggleton
2015-08-12 14:08 ` Otavio Salvador
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=55CAABC2.50008@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=otavio.salvador@ossystems.com.br \
/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