From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: yocto@yoctoproject.org, poky@yoctoproject.org, saul.wold@intel.com
Subject: Re: [PATCH 1/1] linux-yocto: streamline BSP bootstrapping
Date: Wed, 09 Feb 2011 11:14:16 +0000 [thread overview]
Message-ID: <1297250056.1395.6333.camel@rex> (raw)
In-Reply-To: <eaec388c5c2bfcfde022835e359bd9a8f73e9137.1297232160.git.bruce.ashfield@windriver.com>
On Wed, 2011-02-09 at 01:22 -0500, Bruce Ashfield wrote:
> In order to build BSPs that were not already integrated into
> the upstream linux yocto kernel AND keep the git fetcher happy,
> some fairly complex anonymous python sections were required.
>
> These sections cause problems with variable expansion and SRCREV
> processing.
>
> With the updated git fetcher code, we can streamline the BSP
> boostrapping process and drop 99% of the anonymous python code.
>
> This commit has the following changes to support BSP boot strapping
> and simplication for existing BSPs.
>
> - KMETA is set per-recipe rather than in python code
> - undefined machines are no longer used, but instead common
> branch names are set per-recipe
> - fallback machine SRCREVs are present in the default revisions
> file
> - A new variable YOCTO_KERNEL_EXTERNAL_BRANCH should be set in
> the local.conf for new BSPs instead of being programatically
> determined in the anonymous python.
> - No more explicity KMACHINE variable expansion and manipulation,
> since the tools and build phases no longer require it due
> to the per-recipe fallbacks.
>
> Integrated/merged BSPs are unaffected by the changes and have been
> regression tested.
>
> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
>
> diff --git a/meta/conf/distro/include/poky-default-revisions.inc b/meta/conf/distro/include/poky-default-revisions.inc
> index 9abc4a5..a04fa9e 100644
> --- a/meta/conf/distro/include/poky-default-revisions.inc
> +++ b/meta/conf/distro/include/poky-default-revisions.inc
> @@ -59,7 +59,7 @@ SRCREV_pn-gypsy ??= "147"
> SRCREV_pn-inputproto ??= "7203036522ba9d4b224d282d6afc2d0b947711ee"
> SRCREV_pn-inputproto-native ??= "7203036522ba9d4b224d282d6afc2d0b947711ee"
> SRCREV_pn-inputproto-nativesdk ??= "7203036522ba9d4b224d282d6afc2d0b947711ee"
> -SRCREV_pn-kern-tools-native ??= "fde7ef8fa8043607752563b9b7908f487eb2f7dd"
> +SRCREV_pn-kern-tools-native ??= "4f13a46499261ea181fdc13db5459067df08aca7"
> SRCREV_pn-libdrm ??= "3f3c5be6f908272199ccf53f108b1124bfe0a00e"
> SRCREV_pn-libfakekey ??= "e8c2e412ea4a417afc1f30e32cb7bdc508b1dccc"
> SRCREV_pn-libgdbus ??= "aeab6e3c0185b271ca343b439470491b99cc587f"
> @@ -110,6 +110,7 @@ SRCREV_machine_pn-linux-yocto_mpc8315e-rdb ?= "68fb0b8d73bbb336ffa4a47bc70ec1eab
> SRCREV_machine_pn-linux-yocto_beagleboard ?= "343c06b25b221aa7f7019aee83b2d976041fddce"
> SRCREV_machine_pn-linux-yocto ?= "cb4faf3af527e25feee584f39c3956ca0c9448c8"
> SRCREV_meta_pn-linux-yocto ?= "5a32d7fe3b817868ebb697d2d883d743903685ae"
> +SRCREV_machine_pn-linux-yocto ?= "cb4faf3af527e25feee584f39c3956ca0c9448c8"
> SRCREV_pn-linux-libc-headers-yocto ??= "343c06b25b221aa7f7019aee83b2d976041fddce"
> SRCREV_pn-matchbox-config-gtk ??= "3ed74dfb7c57be088a5ab36e446c0ccde9fa1028"
> SRCREV_pn-matchbox-desktop-sato ??= "76"
> diff --git a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb b/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
> index d4bee77..3c1e669 100644
> --- a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
I merged this with the exception of the second hunk above since it just
adds a duplicate line.
Cheers,
Richard
next prev parent reply other threads:[~2011-02-09 11:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-09 6:22 [PATCH 0/1] linux-yocto/stable: streamline BSP processing Bruce Ashfield
2011-02-09 6:22 ` [PATCH 1/1] linux-yocto: streamline BSP bootstrapping Bruce Ashfield
2011-02-09 11:14 ` Richard Purdie [this message]
2011-02-09 14:00 ` Bruce Ashfield
2011-02-09 14:00 ` [poky] " Bruce Ashfield
2011-02-09 11:12 ` [PATCH 0/1] linux-yocto/stable: streamline BSP processing Richard Purdie
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=1297250056.1395.6333.camel@rex \
--to=richard.purdie@linuxfoundation.org \
--cc=bruce.ashfield@windriver.com \
--cc=poky@yoctoproject.org \
--cc=saul.wold@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.