All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Matthew McClintock <msm@freescale.com>
Subject: Re: [PATCH v3] Add new IMAGE_CLASSES variable for classes for image generation
Date: Tue, 08 Nov 2011 15:01:59 -0800	[thread overview]
Message-ID: <4EB9B4E7.7070503@linux.intel.com> (raw)
In-Reply-To: <1320693604-24998-1-git-send-email-msm@freescale.com>

On 11/07/2011 11:20 AM, Matthew McClintock wrote:
> Allows us to import classes only for images and not to the global
> namespace
>
> Signed-off-by: Matthew McClintock<msm@freescale.com>
> ---
>
> v2: Change IMAGE_CLASSES definition to use ?= instead of =
> so it's clear we want to override this variable. This worked
> before because the value in my distro.conf file overwrote
> this value regardless of the fact it was set with =
>
> v3: Move documentation to local.conf.sample.extended
>
>   meta-yocto/conf/local.conf.sample.extended |    6 ++++++
>   meta/classes/image.bbclass                 |    3 ++-
>   2 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended
> index 0c3197d..e9935ce 100644
> --- a/meta-yocto/conf/local.conf.sample.extended
> +++ b/meta-yocto/conf/local.conf.sample.extended
> @@ -114,3 +114,9 @@
>   # 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"
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index 05f4331..a2770a4 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_CLASSES ?= "image_types"
> +inherit ${IMAGE_CLASSES}
>
>   IMAGE_POSTPROCESS_COMMAND ?= ""
>   MACHINE_POSTPROCESS_COMMAND ?= ""

Merged to OE-Core

Thanks
	Sau!



      reply	other threads:[~2011-11-08 23:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-28  7:26 [PATCH] Add new IMAGE_CLASSES variable for classes for image generation Matthew McClintock
2011-11-02  0:31 ` Saul Wold
2011-11-02  0:50   ` McClintock Matthew-B29882
2011-11-02  0:54     ` McClintock Matthew-B29882
2011-11-02  0:56     ` Saul Wold
2011-11-02 15:03       ` McClintock Matthew-B29882
2011-11-02 16:25         ` [PATCH v2] " Matthew McClintock
2011-11-07 19:07           ` Saul Wold
2011-11-07 19:20             ` [PATCH v3] " Matthew McClintock
2011-11-08 23:01               ` Saul Wold [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EB9B4E7.7070503@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=msm@freescale.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.