mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
u-boot-xlnx-scr.bbappend: Enable xen boot script using variable
Xen related boot script offset was override from meta-virtualization for non xen builds. ERROR: RD image overlaps OS image (OS=0xe00000..0x2610000) Add to include xen boot script only if ENABLE_XEN_UBOOT_SCR variable set from the configuration file and xen enabled in DISTRO_FEATURES to avoid override. Signed-off-by: John Vicky Vykuntapu <johnvicky.vykuntapu@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
30e5cb1ae8
commit
c2d3d5001a
|
@ -1,2 +1,4 @@
|
|||
# Include xen-boot-cmd.inc only if xen distro features is enabled.
|
||||
include ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'xen-boot-cmd.inc', '', d)}
|
||||
# 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 ''}
|
||||
|
|
Loading…
Reference in New Issue
Block a user