[OE-core] [PATCH 02/10] linux-yocto: process the existing branch for configuration

Bruce Ashfield bruce.ashfield at gmail.com
Fri Aug 5 04:11:27 UTC 2011


On Thu, Aug 4, 2011 at 11:01 AM,  <nitin.a.kamble at intel.com> wrote:
> From: Bruce Ashfield <bruce.ashfield at windriver.com>
>
> When building an external tree or bootstrapping a BSP the
> external branch may not have been checked out. The tools now ensure
> that the tree is ready for configuration, so we no longer need to
> force the checkout of the external branch.

This broke one use case, which may be fine, but I'll include this in my
pull request once all testing is complete.

Bruce

>
> Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
> ---
>  meta/classes/kernel-yocto.bbclass |    9 +--------
>  1 files changed, 1 insertions(+), 8 deletions(-)
>
> diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
> index a374df1..8df5f31 100644
> --- a/meta/classes/kernel-yocto.bbclass
> +++ b/meta/classes/kernel-yocto.bbclass
> @@ -87,14 +87,7 @@ do_kernel_configme() {
>        echo "[INFO] doing kernel configme"
>
>        kbranch=${KBRANCH}
> -       if [ -n "${YOCTO_KERNEL_EXTERNAL_BRANCH}" ]; then
> -           # switch from a generic to a specific branch
> -           kbranch=${YOCTO_KERNEL_EXTERNAL_BRANCH}
> -           cd ${S}
> -           git checkout ${kbranch}
> -       else
> -          cd ${S}
> -       fi
> +       cd ${S}
>
>        configme --reconfig --output ${B} ${kbranch} ${MACHINE}
>        if [ $? -ne 0 ]; then
> --
> 1.7.6
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"




More information about the Openembedded-core mailing list