[OE-core] [PATCH 3/6] Add new IMAGE_CLASSES variable for classes for image generation

Matthew McClintock msm at freescale.com
Tue Oct 4 22:03:04 UTC 2011


Allows us to import classes only for images and not to the global
namespace

Signed-off-by: Matthew McClintock <msm at freescale.com>
---
Work around to solve issue from this thread:

https://lists.yoctoproject.org/pipermail/yocto/2011-September/005059.html

 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 f17e989..f03df5b 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -111,7 +111,8 @@ def get_devtable_list(d):
         str += " %s" % bb.which(bb.data.getVar('BBPATH', d, 1), devtable)
     return str
 
-inherit image_types
+IMAGE_CLASESS ??= ""
+inherit image_types ${IMAGE_CLASSES}
 
 IMAGE_POSTPROCESS_COMMAND ?= ""
 MACHINE_POSTPROCESS_COMMAND ?= ""
-- 
1.7.6.1






More information about the Openembedded-core mailing list