diff options
author | John Vicky Vykuntapu <johnvicky.vykuntapu@amd.com> | 2024-09-11 12:20:44 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-09-11 18:20:33 +0000 |
commit | c2d3d5001aa061a5f419af461a4c7350ac216176 (patch) | |
tree | 03ea07ad2a538b9106e375817854bd7d1362b82e | |
parent | 30e5cb1ae837019abb23dbbbc82fb6813df1c805 (diff) | |
download | meta-virtualization-c2d3d5001aa061a5f419af461a4c7350ac216176.tar.gz |
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>
-rw-r--r-- | dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend b/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend index ae847cbc..819a0c62 100644 --- a/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend +++ b/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend | |||
@@ -1,2 +1,4 @@ | |||
1 | # Include xen-boot-cmd.inc only if xen distro features is enabled. | 1 | # Include xen-boot-cmd.inc only if ENABLE_XEN_UBOOT_SCR is set from configuration |
2 | include ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'xen-boot-cmd.inc', '', d)} | 2 | # file and xen enabled in DISTRO_FEATURES. |
3 | ENABLE_XEN_UBOOT_SCR ?= "" | ||
4 | include ${@'xen-boot-cmd.inc' if d.getVar('ENABLE_XEN_UBOOT_SCR') == '1' and bb.utils.contains('DISTRO_FEATURES', 'xen', true, false, d) else ''} | ||