[meta-ti] [PATCH] linux: Inherit new machine_kernel_pr class
Denys Dmytriyenko
denys at ti.com
Tue Sep 24 07:21:38 PDT 2013
Right, I've been meaning to add this too, so I agree with the change.
The only question is - why only those kernels and not others? Are all the
others covered by linux.inc?
--
Denys
On Tue, Sep 24, 2013 at 09:57:01AM -0500, Franklin S. Cooper Jr wrote:
> * 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
>
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
More information about the meta-ti
mailing list