summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2025-02-07 16:30:22 -0700
committerMark Hatle <mark.hatle@amd.com>2025-03-30 14:16:15 -0600
commit6c9a6f67f2b801990fe0892cc104c5fdf6279c8e (patch)
treed54221deafa1989b3f0ee63e141a32f6f375bd2c
parentfdf8c93946a2eed4e964ec58717cc403ab621cca (diff)
downloadmeta-xilinx-6c9a6f67f2b801990fe0892cc104c5fdf6279c8e.tar.gz
meta-xilinx-core: xilinx-bootbin: Generate qemuboot.conf file
In the same way that an image recipe would generate a qemuboot.conf, also generate one for the boot.bin. This will allow us to use runqemu with just the boot.bin, as well as merge boot.bin specific items with common (non-machine specific) filesystem qemuboot.conf. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb
index 36e5fa4e..637ee1b1 100644
--- a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb
+++ b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb
@@ -282,3 +282,11 @@ FILES:${PN} += "/boot/BOOT.bin"
282SYSROOT_DIRS += "/boot" 282SYSROOT_DIRS += "/boot"
283 283
284addtask do_deploy before do_build after do_compile 284addtask do_deploy before do_build after do_compile
285
286# We want to deploy this into the build directory and copy it later
287IMGDEPLOYDIR ??= "${DEPLOYDIR}"
288IMAGE_LINK_NAME = "${BOOTBIN_LINK_NAME}"
289IMAGE_NAME = "${BOOTBIN_BASE_NAME}"
290
291inherit ${@bb.utils.contains('IMAGE_CLASSES', 'qemuboot-xilinx', 'qemuboot-xilinx', '', d)}
292do_deploy[postfuncs] += "${@bb.utils.contains('IMAGE_CLASSES', 'qemuboot-xilinx', 'do_write_qemuboot_conf', '', d)}"