diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2025-02-07 16:30:22 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2025-03-30 14:16:15 -0600 |
| commit | 6c9a6f67f2b801990fe0892cc104c5fdf6279c8e (patch) | |
| tree | d54221deafa1989b3f0ee63e141a32f6f375bd2c | |
| parent | fdf8c93946a2eed4e964ec58717cc403ab621cca (diff) | |
| download | meta-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.bb | 8 |
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" | |||
| 282 | SYSROOT_DIRS += "/boot" | 282 | SYSROOT_DIRS += "/boot" |
| 283 | 283 | ||
| 284 | addtask do_deploy before do_build after do_compile | 284 | addtask do_deploy before do_build after do_compile |
| 285 | |||
| 286 | # We want to deploy this into the build directory and copy it later | ||
| 287 | IMGDEPLOYDIR ??= "${DEPLOYDIR}" | ||
| 288 | IMAGE_LINK_NAME = "${BOOTBIN_LINK_NAME}" | ||
| 289 | IMAGE_NAME = "${BOOTBIN_BASE_NAME}" | ||
| 290 | |||
| 291 | inherit ${@bb.utils.contains('IMAGE_CLASSES', 'qemuboot-xilinx', 'qemuboot-xilinx', '', d)} | ||
| 292 | do_deploy[postfuncs] += "${@bb.utils.contains('IMAGE_CLASSES', 'qemuboot-xilinx', 'do_write_qemuboot_conf', '', d)}" | ||
