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

Bruce Ashfield bruce.ashfield at gmail.com
Tue Jun 12 22:44:31 UTC 2012


On Tue, Jun 12, 2012 at 6:19 PM, Saul Wold <saul.wold at intel.com> wrote:
> 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? ^^^^^^^^

Good eye! My script that creates the SRCREVs apparently doesn't like
the new repo.
Fixed on my branch (it's not required for the build, only for new
machines .. so things
built).

Cheers,

Bruce

>
>
> 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"
>>
>
>
> _______________________________________________
> 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