summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/baremetal-image.bbclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/classes/baremetal-image.bbclass b/meta/classes/baremetal-image.bbclass
index cb9e250350..3a96df1f2d 100644
--- a/meta/classes/baremetal-image.bbclass
+++ b/meta/classes/baremetal-image.bbclass
@@ -95,6 +95,17 @@ QB_OPT_APPEND:append:qemuriscv32 = " -bios none"
95CFLAGS:append:qemuriscv64 = " -mcmodel=medany" 95CFLAGS:append:qemuriscv64 = " -mcmodel=medany"
96 96
97 97
98## Emulate image.bbclass
99# Handle inherits of any of the image classes we need
100IMAGE_CLASSES ??= ""
101IMGCLASSES = " ${IMAGE_CLASSES}"
102inherit ${IMGCLASSES}
103# Set defaults to satisfy IMAGE_FEATURES check
104IMAGE_FEATURES ?= ""
105IMAGE_FEATURES[type] = "list"
106IMAGE_FEATURES[validitems] += ""
107
108
98# This next part is necessary to trick the build system into thinking 109# This next part is necessary to trick the build system into thinking
99# its building an image recipe so it generates the qemuboot.conf 110# its building an image recipe so it generates the qemuboot.conf
100addtask do_rootfs before do_image after do_install 111addtask do_rootfs before do_image after do_install