diff options
-rw-r--r-- | meta/classes-recipe/baremetal-image.bbclass | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes-recipe/baremetal-image.bbclass b/meta/classes-recipe/baremetal-image.bbclass index 3a979f2ed1..d3377a92fa 100644 --- a/meta/classes-recipe/baremetal-image.bbclass +++ b/meta/classes-recipe/baremetal-image.bbclass | |||
@@ -15,6 +15,15 @@ | |||
15 | # | 15 | # |
16 | # See meta-skeleton for a working example. | 16 | # See meta-skeleton for a working example. |
17 | 17 | ||
18 | ## Emulate image.bbclass | ||
19 | # Handle inherits of any of the image classes we need | ||
20 | IMAGE_CLASSES ??= "" | ||
21 | IMGCLASSES = " ${IMAGE_CLASSES}" | ||
22 | inherit ${IMGCLASSES} | ||
23 | # Set defaults to satisfy IMAGE_FEATURES check | ||
24 | IMAGE_FEATURES ?= "" | ||
25 | IMAGE_FEATURES[type] = "list" | ||
26 | IMAGE_FEATURES[validitems] += "" | ||
18 | 27 | ||
19 | # Toolchain should be baremetal or newlib based. | 28 | # Toolchain should be baremetal or newlib based. |
20 | # TCLIBC="baremetal" or TCLIBC="newlib" | 29 | # TCLIBC="baremetal" or TCLIBC="newlib" |