diff options
author | Matthew McClintock <msm@freescale.com> | 2011-11-07 13:20:04 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-08 21:48:18 +0000 |
commit | 4115f94f221a8b88493a6a4b99262b83016496f5 (patch) | |
tree | 75a47dce4c4d0c4032a9ed952559f76a1c7407a4 /meta/classes | |
parent | 261d611cbef1c2542fc03eed442e8a2238c3841b (diff) | |
download | poky-4115f94f221a8b88493a6a4b99262b83016496f5.tar.gz |
Add new IMAGE_CLASSES variable for classes for image generation
Allows us to import classes only for images and not to the global
namespace
(From OE-Core rev: 49dcb301ab39327554d86d23cf6f8d435d7a7351)
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 3 |
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): | |||
109 | str += " %s" % bb.which(bb.data.getVar('BBPATH', d, 1), devtable) | 109 | str += " %s" % bb.which(bb.data.getVar('BBPATH', d, 1), devtable) |
110 | return str | 110 | return str |
111 | 111 | ||
112 | inherit image_types | 112 | IMAGE_CLASSES ?= "image_types" |
113 | inherit ${IMAGE_CLASSES} | ||
113 | 114 | ||
114 | IMAGE_POSTPROCESS_COMMAND ?= "" | 115 | IMAGE_POSTPROCESS_COMMAND ?= "" |
115 | MACHINE_POSTPROCESS_COMMAND ?= "" | 116 | MACHINE_POSTPROCESS_COMMAND ?= "" |