[yocto] [PATCH 2/9] [meta-intel] Cedartrail: Update SRCREVS and add EFI Support.

Darren Hart darren.hart at intel.com
Mon Apr 23 10:47:30 PDT 2012


On 04/10/2012 11:55 AM, kishore.k.bodke at intel.com wrote:
> From: Kishore Bodke <kishore.k.bodke at intel.com>
> 
> Add EFI support and update the SRCREVS for pvr
> version of build.
> Add pvr merge scc file to pull in the pvr patches.
> 
> Signed-off-by: Kishore Bodke <kishore.k.bodke at intel.com>
> ---
>  .../linux/linux-yocto-rt_3.0.bbappend              |    8 ++++++++
>  .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |   14 ++++++++++++--
>  2 files changed, 20 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend b/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
> index 5a95d3e..2248c88 100644
> --- a/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
> +++ b/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
> @@ -3,6 +3,14 @@ COMPATIBLE_MACHINE_cedartrail = "cedartrail"
>  KMACHINE_cedartrail  = "cedartrail"
>  
>  KERNEL_FEATURES_append_cedartrail += " cfg/smp.scc"
> +KERNEL_FEATURES_append_cedartrail += " cfg/drm-cdvpvr.scc"
> +KERNEL_FEATURES_append_cedartrail += " bsp/cedartrail/cedartrail-pvr-merge.scc"
> +KERNEL_FEATURES_append_cedartrail += " cfg/efi-ext.scc"


I suggest moving all of this into the cedartrail.scc file in the
linux-yocto meta branch. These are all core bits required for the BSP,
they don't need to be easily changed from recipe-space.

The exception would be the pvr bits. You can make a single
cedartrail.scc that supports both configs (with and without pvr) and
only modify the pvr one here in recipe space - the rest belongs in
linux-yocto/meta

> +COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail"
> +KMACHINE_cedartrail-nopvr  = "cedartrail"
> +KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc"

Same here.

--
Darren


> +
>  
>  # Update the following to use a different BSP branch or meta SRCREV
>  #KBRANCH_cedartrail  = "yocto/standard/preempt-rt/base"
> diff --git a/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend b/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
> index ca59e72..dc15a5e 100644
> --- a/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
> +++ b/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
> @@ -3,6 +3,16 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>  COMPATIBLE_MACHINE_cedartrail = "cedartrail"
>  KMACHINE_cedartrail  = "yocto/standard/cedartrail"
>  KERNEL_FEATURES_append_cedartrail += " cfg/smp.scc"
> +KERNEL_FEATURES_append_cedartrail += "cfg/drm-cdvpvr.scc"
> +KERNEL_FEATURES_append_cedartrail += "bsp/cedartrail/cedartrail-pvr-merge.scc"
> +KERNEL_FEATURES_append_cedartrail += "cfg/efi-ext.scc"
>  
> -SRCREV_machine_pn-linux-yocto_cedartrail ?= "f389d310965a56091f688b28ea8be6d9cbb7fbbe"
> -SRCREV_meta_pn-linux-yocto_cedartrail ?= "04a52a32cbdf0972033b97b83eaa83eb275dfdc9"
> +COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail"
> +KMACHINE_cedartrail-nopvr  = "yocto/standard/cedartrail"
> +KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc"
> +
> +SRCREV_machine_pn-linux-yocto_cedartrail ?= "81fd8c307997aff37916828dc8b4ef72f5d35a94"
> +SRCREV_meta_pn-linux-yocto_cedartrail ?= "a4ac64fe873f08ef718e2849b88914725dc99c1c"
> +
> +SRCREV_machine_pn-linux-yocto_cedartrail-nopvr ?= "81fd8c307997aff37916828dc8b4ef72f5d35a94"
> +SRCREV_meta_pn-linux-yocto_cedartrail-nopvr ?= "a4ac64fe873f08ef718e2849b88914725dc99c1c"


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



More information about the yocto mailing list