From: Paul Eggleton Date: Fri, 7 Mar 2014 14:48:48 +0000 (+0000) Subject: classes/uboot-config: ignore doc varflag X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~34223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e41aa22d7938c200f4150155589f5e23ed0331ce;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git classes/uboot-config: ignore doc varflag 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/uboot-config.bbclass b/meta/classes/uboot-config.bbclass index 3e09f17bbed..8ac1b71bc2e 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)