[OE-core] [PATCH 1/2] linux-yocto/3.4: create linux-yocto-rt recipe

Saul Wold saul.wold at intel.com
Tue Jun 12 22:19:52 UTC 2012


On 06/12/2012 10:22 AM, Bruce Ashfield wrote:
> Adding the 3.4 variant of the linux-yocto-rt recipe. This updates
> to 3.4.1-rt9, and builds and boots on the supported targets.
>
> Signed-off-by: Bruce Ashfield<bruce.ashfield at windriver.com>
> ---
>   meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb |   32 +++++++++++++++++++++++
>   meta/recipes-kernel/linux/linux-yocto_3.4.bb    |    2 +-
>   2 files changed, 33 insertions(+), 1 deletions(-)
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb
>
> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb
> new file mode 100644
> index 0000000..d7de4b6
> --- /dev/null
> +++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb
> @@ -0,0 +1,32 @@
> +inherit kernel
> +require recipes-kernel/linux/linux-yocto.inc
> +
> +KBRANCH = "standard/preempt-rt/base"
> +KBRANCH_qemuppc = "standard/preempt-rt/qemu-ppc32"
> +
> +LINUX_VERSION ?= "3.4.1"
> +LINUX_KERNEL_TYPE = "preempt-rt"
> +
> +KMETA = "meta"
> +
> +SRCREV_machine_machine ?= "9dc5e97d144abb03deec411acb9c64883602cff9"

Is this correct? ^^^^^^^^


Sau!

> +SRCREV_machine_qemuppc ?= "241a41d6104df6916280f1273894bbd7fa7cdd71"
> +SRCREV_meta ?= "aa226dcc5a1351fae49da40d77b718c4c3a76e7c"
> +
> +PR = "r0"
> +PV = "${LINUX_VERSION}+git${SRCPV}"
> +
> +SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
> +
> +# Omit broken machines from COMPATIBLE_MACHINE
> +#   qemuppc hangs at boot
> +#   qemumips panics at boot
> +COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm)"
> +
> +# Functionality flags
> +KERNEL_FEATURES = "features/netfilter"
> +KERNEL_FEATURES_append = " features/taskstats"
> +KERNEL_FEATURES_append_qemux86 = " cfg/sound"
> +KERNEL_FEATURES_append_qemux86-64 = " cfg/sound"
> +
> +require recipes-kernel/linux/linux-tools.inc
> diff --git a/meta/recipes-kernel/linux/linux-yocto_3.4.bb b/meta/recipes-kernel/linux/linux-yocto_3.4.bb
> index 9205901..af6130d 100644
> --- a/meta/recipes-kernel/linux/linux-yocto_3.4.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto_3.4.bb
> @@ -16,7 +16,7 @@ SRCREV_machine_qemuppc ?= "4988a7e34bccd531b511c57f93358de9fcc672a0"
>   SRCREV_machine_qemux86 ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"
>   SRCREV_machine_qemux86-64 ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"
>   SRCREV_machine ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"
> -SRCREV_meta ?= "978f876e4368cdd0ef781e74ea28a6771bf69b79"
> +SRCREV_meta ?= "aa226dcc5a1351fae49da40d77b718c4c3a76e7c"
>
>   SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
>





More information about the Openembedded-core mailing list