diff options
author | Daniel Schultz <d.schultz@phytec.de> | 2023-05-04 05:37:35 -0700 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-05-08 08:58:29 -0500 |
commit | 5c5ca8205b83838fe859b2ccf89f7f7c90fcdea0 (patch) | |
tree | e2b982d5ba50066996e449d851d63087531a6b48 | |
parent | 8ad82f5e69c3ed739bbdd5d1a0afd75ab7608ec8 (diff) | |
download | meta-ti-5c5ca8205b83838fe859b2ccf89f7f7c90fcdea0.tar.gz |
conf: machine: include: k3: Select correct WKS file
Select the correct WKS file according to the MACHINE_FEATURE efi.
Right now, the sdimage-2part-efi.wks is set by default. Switch to the
sdimage-2part.wks file, if efi was removed from MACHINE_FEATURES to allow
non-efi boot methods.
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index 31da2ca9..fff15505 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
@@ -50,7 +50,8 @@ IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}" | |||
50 | EFI_PROVIDER ?= "grub-efi" | 50 | EFI_PROVIDER ?= "grub-efi" |
51 | MACHINE_FEATURES += "efi" | 51 | MACHINE_FEATURES += "efi" |
52 | 52 | ||
53 | WKS_FILE ?= "sdimage-2part-efi.wks" | 53 | WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks", "sdimage-2part.wks", d)}" |
54 | |||
54 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | 55 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |
55 | do_image_complete[mcdepends] += "mc::k3r5:ti-sci-fw:do_deploy" | 56 | do_image_complete[mcdepends] += "mc::k3r5:ti-sci-fw:do_deploy" |
56 | 57 | ||