All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: tom.zanussi@intel.com
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH 2/2] yocto-bsp: clarify help with reference to meta-intel
Date: Fri, 27 Apr 2012 17:01:17 -0700	[thread overview]
Message-ID: <4F9B334D.9060508@linux.intel.com> (raw)
In-Reply-To: <266faf71ffdb15e1f6777b520fbe4acaeb26457d.1334784305.git.tom.zanussi@intel.com>



On 04/27/2012 12:00 PM, tom.zanussi@intel.com wrote:
> From: Tom Zanussi <tom.zanussi@intel.com>
> 
> The current yocto-bsp help assumes knowledge that the meta-intel layer
> needs to be cloned before it's put into the BBLAYERS.  Avoid the
> guesswork and state the details explicitly in the help.
> 
> Also, the shorter 'usage' string doesn't mention it at all; it would
> help to at minimum mention it and refer the user to the detailed help.
> 
> Fixes [YOCTO #2330].
> 
> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>

Some minor nits below:

> ---
>  scripts/lib/bsp/help.py |   40 ++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 40 insertions(+), 0 deletions(-)
> 
> diff --git a/scripts/lib/bsp/help.py b/scripts/lib/bsp/help.py
> index f78b09b..f849833 100644
> --- a/scripts/lib/bsp/help.py
> +++ b/scripts/lib/bsp/help.py
> @@ -115,6 +115,18 @@ yocto_bsp_create_usage = """
>   'properties' that will be used to fill out the BSP-specific portions
>   of the BSP.  The possible values for the 'karch' paramter can be
>   listed via 'yocto-bsp list karch'.
> +
> + NOTE: Once created, you should add your new layer to your
> + bblayers.conf file in order for it to be subsquently seen and
> + modified by the yocto-kernel tool.
> +
> + See 'yocto bsp help create' for more detailed instructions.
> +
> + NOTE for x86- and x86_64-based BSPs: The generated BSP assumes the
> + presence of the of the meta-intel layer, so you should also have a
> + meta-intel layer present and added to your bblayers.conf as well.

Consider:

+ NOTE: For x86- and x86_64-based BSPs, the generated BSP assumes the
+ presence of the of the meta-intel layer. Ensure the meta-intel layer
+ is present and added to bblayers.conf.


> +
> + See 'yocto bsp help create' for more detailed instructions.
>  """
>  
>  yocto_bsp_create_help = """
> @@ -159,9 +171,37 @@ DESCRIPTION
>      bblayers.conf file in order for it to be subsquently seen and
>      modified by the yocto-kernel tool.
>  
> +    For example, assuming your poky repo is at /path/to/poky, your
> +    your new BSP layer is at /path/to/poky/meta-mybsp, and your build


The word "your" appears twice in a row.


> +    directory is /path/to/build:
> +
> +    $ gedit /path/to/build/conf/bblayers.conf
> +
> +    BBLAYERS ?= " \\
> +      /path/to/poky/meta \\
> +      /path/to/poky/meta-yocto \\
> +      /path/to/poky/meta-mybsp \\
> +      "
> +
>      NOTE for x86- and x86_64-based BSPs: The generated BSP assumes the
>      presence of the of the meta-intel layer, so you should also have a
>      meta-intel layer present and added to your bblayers.conf as well.

OK, this is just context, but same comment as above.

> +
> +    For example, assuming your poky repo is at /path/to/poky, your
> +    your new BSP layer is at /path/to/poky/meta-mybsp, and your build

Same double "your" here as well.

> +    directory is /path/to/build:
> +
> +    $ cd /path/to/poky
> +    $ git clone git://git.yoctoproject.org/meta-intel.git
> +
> +    $ gedit /path/to/build/conf/bblayers.conf
> +
> +    BBLAYERS ?= " \\
> +      /path/to/poky/meta \\
> +      /path/to/poky/meta-yocto \\
> +      /path/to/poky/meta-intel \\
> +      /path/to/poky/meta-mybsp \\
> +      "
>  """
>  
>  yocto_bsp_list_usage = """

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


  reply	other threads:[~2012-04-28  0:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18 21:26 [PATCH 0/2] A couple yocto-bsp fixes tom.zanussi
2012-04-18 21:26 ` [PATCH 1/2] yocto-kernel: use BUILDDIR to find bblayers.conf tom.zanussi
2012-04-27 23:56   ` Darren Hart
2012-04-18 21:26 ` [PATCH 2/2] yocto-bsp: clarify help with reference to meta-intel tom.zanussi
2012-04-28  0:01   ` Darren Hart [this message]
2012-04-28  0:26     ` Tom Zanussi
2012-04-30 17:31     ` William Mills
2012-04-30 17:36       ` Darren Hart
2012-04-30 18:33         ` Autif Khan
2012-04-30 19:13       ` Tom Zanussi
  -- strict thread matches above, loose matches on Subject: below --
2012-04-28  0:25 [PATCH 1/2] yocto-kernel: use BUILDDIR to find bblayers.conf tom.zanussi
2012-04-28  0:25 ` [PATCH 0/2] A couple yocto-bsp fixes, v2 tom.zanussi
2012-04-28  0:25   ` [PATCH 2/2] yocto-bsp: clarify help with reference to meta-intel tom.zanussi
2012-04-28  5:44     ` Darren Hart
2012-04-28  5:51       ` Tom Zanussi
2012-04-30 19:12 [PATCH 1/2] yocto-kernel: use BUILDDIR to find bblayers.conf tom.zanussi
2012-04-30 19:12 ` [PATCH 0/2] A couple yocto-bsp fixes, v3 tom.zanussi
2012-04-30 19:12   ` [PATCH 2/2] yocto-bsp: clarify help with reference to meta-intel tom.zanussi
2012-04-30 23:49     ` Darren Hart

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=4F9B334D.9060508@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=tom.zanussi@intel.com \
    --cc=yocto@yoctoproject.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.