summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2012-08-28 10:47:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-07 11:52:16 +0100
commitfe0973df7c72b1acec7feae03a4e13c1f49c8b1f (patch)
tree215f6258ceb13d5211baa3a465c9ef85c594b820 /meta
parent1016edcadb22c1655e1a902601118ec3c7332fea (diff)
downloadopenembedded-core-fe0973df7c72b1acec7feae03a4e13c1f49c8b1f.tar.gz
openembedded-core-fe0973df7c72b1acec7feae03a4e13c1f49c8b1f.tar.bz2
openembedded-core-fe0973df7c72b1acec7feae03a4e13c1f49c8b1f.zip
image_types.bbclass: add variable for Hob
Add a new variable "IMAGE_EXTENSION_live" for Hob to map image type "live" with real image file extension names. This is for Hob to remove the hard-coded maps. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/image_types.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index d286eeaea9..6f8514ff5b 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -247,3 +247,6 @@ RUNNABLE_IMAGE_TYPES ?= "ext2 ext3"
RUNNABLE_MACHINE_PATTERNS ?= "qemu"
DEPLOYABLE_IMAGE_TYPES ?= "hddimg iso"
+
+# Use IMAGE_EXTENSION_xxx to map image type 'xxx' with real image file extension name(s) for Hob
+IMAGE_EXTENSION_live = "hddimg iso"