mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
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. (From OE-Core rev: e41aa22d7938c200f4150155589f5e23ed0331ce) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
26b65aa90d
commit
abe417e22b
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user