All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] classes/uboot-config: ignore doc varflag
@ 2014-03-07 14:48 Paul Eggleton
  2014-03-07 21:46 ` Otavio Salvador
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggleton @ 2014-03-07 14:48 UTC (permalink / raw)
  To: openembedded-core

The doc varflag on UBOOT_CONFIG should be ignored by this code; without
this the recent addition of the UBOOT_CONFIG[doc] to documentation.conf
causes errors when UBOOT_MACHINE is used.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/classes/uboot-config.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/uboot-config.bbclass b/meta/classes/uboot-config.bbclass
index 3e09f17..8ac1b71 100644
--- a/meta/classes/uboot-config.bbclass
+++ b/meta/classes/uboot-config.bbclass
@@ -14,6 +14,8 @@
 python () {
     ubootmachine = d.getVar("UBOOT_MACHINE", True)
     ubootconfigflags = d.getVarFlags('UBOOT_CONFIG')
+    # The "doc" varflag is special, we don't want to see it here
+    ubootconfigflags.pop('doc', None)
 
     if not ubootmachine and not ubootconfigflags:
         PN = d.getVar("PN", True)
-- 
1.8.5.3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] classes/uboot-config: ignore doc varflag
  2014-03-07 14:48 [PATCH] classes/uboot-config: ignore doc varflag Paul Eggleton
@ 2014-03-07 21:46 ` Otavio Salvador
  0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2014-03-07 21:46 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: Patches and discussions about the oe-core layer

On Fri, Mar 7, 2014 at 11:48 AM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> The doc varflag on UBOOT_CONFIG should be ignored by this code; without
> this the recent addition of the UBOOT_CONFIG[doc] to documentation.conf
> causes errors when UBOOT_MACHINE is used.
>
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-07 21:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-07 14:48 [PATCH] classes/uboot-config: ignore doc varflag Paul Eggleton
2014-03-07 21:46 ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.