mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
u-boot-xlnx-scr.bbappend: Fix xen boot script comparison
Some versions of python/bitbake appear to allow 'true' and 'false', but this is incorrect, True and False are the correct boolean variables. Fixes: ERROR: ExpansionError during parsing .../meta-xilinx/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
8138d9cc7e
commit
0aa6e9fc7b
|
@ -1,4 +1,4 @@
|
|||
# Include xen-boot-cmd.inc only if ENABLE_XEN_UBOOT_SCR is set from configuration
|
||||
# file and xen enabled in DISTRO_FEATURES.
|
||||
ENABLE_XEN_UBOOT_SCR ?= ""
|
||||
include ${@'xen-boot-cmd.inc' if d.getVar('ENABLE_XEN_UBOOT_SCR') == '1' and bb.utils.contains('DISTRO_FEATURES', 'xen', true, false, d) else ''}
|
||||
include ${@'xen-boot-cmd.inc' if d.getVar('ENABLE_XEN_UBOOT_SCR') == '1' and bb.utils.contains('DISTRO_FEATURES', 'xen', True, False, d) else ''}
|
||||
|
|
Loading…
Reference in New Issue
Block a user