diff options
-rw-r--r-- | meta/classes/bootimg.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/dummy.bbclass | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index 11a29cdf2b..17c329a142 100644 --- a/meta/classes/bootimg.bbclass +++ b/meta/classes/bootimg.bbclass | |||
@@ -36,7 +36,7 @@ BOOTIMG_VOLUME_ID ?= "boot" | |||
36 | BOOTIMG_EXTRA_SPACE ?= "512" | 36 | BOOTIMG_EXTRA_SPACE ?= "512" |
37 | 37 | ||
38 | EFI = "${@base_contains("MACHINE_FEATURES", "efi", "1", "0", d)}" | 38 | EFI = "${@base_contains("MACHINE_FEATURES", "efi", "1", "0", d)}" |
39 | EFI_CLASS = "${@base_contains("MACHINE_FEATURES", "efi", "grub-efi", "dummy", d)}" | 39 | EFI_CLASS = "${@base_contains("MACHINE_FEATURES", "efi", "grub-efi", "", 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 |
@@ -50,7 +50,7 @@ def pcbios(d): | |||
50 | def pcbios_class(d): | 50 | def pcbios_class(d): |
51 | if d.getVar("PCBIOS", True) == "1": | 51 | if d.getVar("PCBIOS", True) == "1": |
52 | return "syslinux" | 52 | return "syslinux" |
53 | return "dummy" | 53 | return "" |
54 | 54 | ||
55 | PCBIOS = "${@pcbios(d)}" | 55 | PCBIOS = "${@pcbios(d)}" |
56 | PCBIOS_CLASS = "${@pcbios_class(d)}" | 56 | PCBIOS_CLASS = "${@pcbios_class(d)}" |
diff --git a/meta/classes/dummy.bbclass b/meta/classes/dummy.bbclass deleted file mode 100644 index 8c300717d0..0000000000 --- a/meta/classes/dummy.bbclass +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | # An empty bbclass to facilitate dynamic inherit, include, | ||
2 | # and require statements. | ||