[meta-ti] [PATCH] linux: Inherit new machine_kernel_pr class

Cooper Jr., Franklin fcooper at ti.com
Tue Sep 24 07:15:50 PDT 2013


Forgot to mention in the header but this is meant for both master and dylan.

> -----Original Message-----
> From: Cooper Jr., Franklin
> Sent: Tuesday, September 24, 2013 9:57 AM
> To: meta-ti at yoctoproject.org
> Cc: Cooper Jr., Franklin
> Subject: [PATCH] linux: Inherit new machine_kernel_pr class
> 
> * MACHINE_KERNEL_PR was originally defined in the kernel class located in
>   meta-oe which overrode the version of the class in oe-core.
> * Some time ago kernel.bbclass was removed from meta-oe and a separate class
>   machine_kernel_pr was created to add support for MACHINE_KERNEL_PR.
> * Since this variable is used significantly in both meta-ti and meta-arago make
>   sure all the kernel recipes directly or indirectly inherit this new class.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper at ti.com>
> ---
>  recipes-kernel/linux/linux-am335x-psp_3.2.bb |    2 +-
>  recipes-kernel/linux/linux-ti-glsdk_3.8.bb   |    2 +-
>  recipes-kernel/linux/linux-ti-staging_3.8.bb |    2 +-
>  recipes-kernel/linux/linux-ti-staging_git.bb |    2 +-
>  recipes-kernel/linux/linux.inc               |    2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/recipes-kernel/linux/linux-am335x-psp_3.2.bb b/recipes-
> kernel/linux/linux-am335x-psp_3.2.bb
> index eaf788f..cf1b2dd 100644
> --- a/recipes-kernel/linux/linux-am335x-psp_3.2.bb
> +++ b/recipes-kernel/linux/linux-am335x-psp_3.2.bb
> @@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "ti33x"
> 
>  DEFAULT_PREFERENCE = "-1"
> 
> -inherit kernel
> +inherit kernel machine_kernel_pr
>  require setup-defconfig.inc
> 
>  # Stage the power management firmware before building the kernel diff --git
> a/recipes-kernel/linux/linux-ti-glsdk_3.8.bb b/recipes-kernel/linux/linux-ti-
> glsdk_3.8.bb
> index 5fd17f8..d7aebea 100644
> --- a/recipes-kernel/linux/linux-ti-glsdk_3.8.bb
> +++ b/recipes-kernel/linux/linux-ti-glsdk_3.8.bb
> @@ -4,7 +4,7 @@ LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM =
> "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
>  KERNEL_IMAGETYPE = "uImage"
> 
> -inherit kernel
> +inherit kernel machine_kernel_pr
> 
>  require recipes-kernel/linux/linux-dtb.inc
>  require recipes-kernel/linux/setup-defconfig.inc
> diff --git a/recipes-kernel/linux/linux-ti-staging_3.8.bb b/recipes-
> kernel/linux/linux-ti-staging_3.8.bb
> index fd7b671..f832b54 100644
> --- a/recipes-kernel/linux/linux-ti-staging_3.8.bb
> +++ b/recipes-kernel/linux/linux-ti-staging_3.8.bb
> @@ -4,7 +4,7 @@ LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM =
> "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
>  KERNEL_IMAGETYPE = "uImage"
> 
> -inherit kernel
> +inherit kernel machine_kernel_pr
> 
>  require recipes-kernel/linux/linux-dtb.inc
>  require recipes-kernel/linux/setup-defconfig.inc
> diff --git a/recipes-kernel/linux/linux-ti-staging_git.bb b/recipes-
> kernel/linux/linux-ti-staging_git.bb
> index 694a164..50253ea 100644
> --- a/recipes-kernel/linux/linux-ti-staging_git.bb
> +++ b/recipes-kernel/linux/linux-ti-staging_git.bb
> @@ -4,7 +4,7 @@ LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM =
> "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
>  KERNEL_IMAGETYPE = "uImage"
> 
> -inherit kernel
> +inherit kernel machine_kernel_pr
> 
>  require recipes-kernel/linux/linux-dtb.inc
>  require recipes-kernel/linux/setup-defconfig.inc
> diff --git a/recipes-kernel/linux/linux.inc b/recipes-kernel/linux/linux.inc index
> ac51dae..e0d414c 100644
> --- a/recipes-kernel/linux/linux.inc
> +++ b/recipes-kernel/linux/linux.inc
> @@ -4,7 +4,7 @@ LICENSE = "GPLv2"
> 
>  LIC_FILES_CHKSUM =
> "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
> 
> -inherit kernel siteinfo
> +inherit kernel siteinfo machine_kernel_pr
> 
>  # Enable OABI compat for people stuck with obsolete userspace
> ARM_KEEP_OABI ?= "1"
> --
> 1.7.0.4




More information about the meta-ti mailing list