summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/bootimg.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 1d1a3d04af..f4981d8e37 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -35,8 +35,8 @@ ISODIR = "${S}/iso"
35BOOTIMG_VOLUME_ID ?= "boot" 35BOOTIMG_VOLUME_ID ?= "boot"
36BOOTIMG_EXTRA_SPACE ?= "512" 36BOOTIMG_EXTRA_SPACE ?= "512"
37 37
38EFI = ${@base_contains("MACHINE_FEATURES", "efi", "1", "0", d)} 38EFI = "${@base_contains("MACHINE_FEATURES", "efi", "1", "0", d)}"
39EFI_CLASS = ${@base_contains("MACHINE_FEATURES", "efi", "grub-efi", "dummy", d)} 39EFI_CLASS = "${@base_contains("MACHINE_FEATURES", "efi", "grub-efi", "dummy", d)}"
40 40
41# Include legacy boot if MACHINE_FEATURES includes "pcbios" or if it does not 41# Include legacy boot if MACHINE_FEATURES includes "pcbios" or if it does not
42# contain "efi". This way legacy is supported by default if neither is 42# contain "efi". This way legacy is supported by default if neither is
@@ -52,8 +52,8 @@ def pcbios_class(d):
52 return "syslinux" 52 return "syslinux"
53 return "dummy" 53 return "dummy"
54 54
55PCBIOS = ${@pcbios(d)} 55PCBIOS = "${@pcbios(d)}"
56PCBIOS_CLASS = ${@pcbios_class(d)} 56PCBIOS_CLASS = "${@pcbios_class(d)}"
57 57
58inherit ${PCBIOS_CLASS} 58inherit ${PCBIOS_CLASS}
59inherit ${EFI_CLASS} 59inherit ${EFI_CLASS}