]> code.ossystems Code Review - openembedded-core.git/commitdiff
Add new IMAGE_CLASSES variable for classes for image generation
authorMatthew McClintock <msm@freescale.com>
Mon, 7 Nov 2011 19:20:04 +0000 (13:20 -0600)
committerSaul Wold <sgw@linux.intel.com>
Tue, 8 Nov 2011 19:19:49 +0000 (11:19 -0800)
Allows us to import classes only for images and not to the global
namespace

Signed-off-by: Matthew McClintock <msm@freescale.com>
meta/classes/image.bbclass
meta/conf/local.conf.sample.extended

index 48b78da79bf509d068341384fd8f87fce528d6f8..14726d253743ac0c4042a5272a853c58c75cdc56 100644 (file)
@@ -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 ?= ""
index 0c3197d7f7befcb60c07d807a83c885d582534fa..e9935ce95807f804c6dca8d3ca656dcc612e005b 100644 (file)
 # The network based PR service host and port
 #PRSERV_HOST = "localhost"
 #PRSERV_PORT = "8585"
+
+# Additional image generation features
+#
+# The following is a list of classes to import to use in the generation of images
+# currently an example class is image_types_uboot
+# IMAGE_CLASSES = " image_types_uboot"