summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2011-11-07 13:20:04 -0600
committerSaul Wold <sgw@linux.intel.com>2011-11-08 11:19:49 -0800
commit49dcb301ab39327554d86d23cf6f8d435d7a7351 (patch)
tree9f9b1e145780ff27f7e2e17c304aed7811023642 /meta/classes
parent1f8b688bf8bddaacf90cc034e65bc95cf4310bcb (diff)
downloadopenembedded-core-49dcb301ab39327554d86d23cf6f8d435d7a7351.tar.gz
openembedded-core-49dcb301ab39327554d86d23cf6f8d435d7a7351.tar.bz2
openembedded-core-49dcb301ab39327554d86d23cf6f8d435d7a7351.zip
Add new IMAGE_CLASSES variable for classes for image generation
Allows us to import classes only for images and not to the global namespace Signed-off-by: Matthew McClintock <msm@freescale.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 48b78da79b..14726d2537 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -109,7 +109,8 @@ def get_devtable_list(d):
str += " %s" % bb.which(bb.data.getVar('BBPATH', d, 1), devtable)
return str
-inherit image_types
+IMAGE_CLASSES ?= "image_types"
+inherit ${IMAGE_CLASSES}
IMAGE_POSTPROCESS_COMMAND ?= ""
MACHINE_POSTPROCESS_COMMAND ?= ""