summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass9
1 files changed, 0 insertions, 9 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index bd6a5b7b81..b095bca7c1 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -144,15 +144,6 @@ inherit ${IMAGE_TYPE_vm}
144IMAGE_TYPE_container = '${@bb.utils.contains("IMAGE_FSTYPES", "container", "image-container", "", d)}' 144IMAGE_TYPE_container = '${@bb.utils.contains("IMAGE_FSTYPES", "container", "image-container", "", d)}'
145inherit ${IMAGE_TYPE_container} 145inherit ${IMAGE_TYPE_container}
146 146
147def build_uboot(d):
148 if 'u-boot' in (d.getVar('IMAGE_FSTYPES') or ''):
149 return "image_types_uboot"
150 else:
151 return ""
152
153IMAGE_TYPE_uboot = "${@build_uboot(d)}"
154inherit ${IMAGE_TYPE_uboot}
155
156IMAGE_TYPE_wic = "image_types_wic" 147IMAGE_TYPE_wic = "image_types_wic"
157inherit ${IMAGE_TYPE_wic} 148inherit ${IMAGE_TYPE_wic}
158 149