[yocto] [OE-core] [PATCH 1/1] linux-yocto: move non-core machines to meta-yocto

Bruce Ashfield bruce.ashfield at gmail.com
Fri May 6 18:44:22 PDT 2011


On Fri, May 6, 2011 at 6:26 PM, Saul Wold <sgw at linux.intel.com> wrote:
> On 05/06/2011 11:44 AM, Bruce Ashfield wrote:
>>
>> The machine configuration of the non-core (non-qemu) machines
>> has moved to meta-yocto. Moving the branch mappings, compatibility
>> and SRCREVs of these machines to meta-yocto should also be
>> done.
>>
>> Anyone using meta-yocto to build these machines will see no impact
>> from this change.
>>
>> Signed-off-by: Bruce Ashfield<bruce.ashfield at windriver.com>
>> ---
>>  meta-yocto/conf/layer.conf                         |    3 ++-
>>  .../linux/linux-yocto-stable_git.bbappend          |   12 ++++++++++++
>>  .../recipes-kernel/linux/linux-yocto_git.bbappend  |   12 ++++++++++++
>>  .../recipes-kernel/linux/linux-yocto-stable_git.bb |   10 +---------
>>  meta/recipes-kernel/linux/linux-yocto_git.bb       |   11 +----------
>
> Bruce,
>
> This need to be 2 pull requests, since the first 4 files are actually in
> meta-yotco, part of poky.git and the linux-yocto_git.bb is in OE-core

My clone for meta-yocto is a bit old then, I checked this
explicitly and it isn't a separate repo for me at all, hence
why it's a single patch .. but wait. When I clone again from
poky.git, it's still one repo for me.

So here's the thing. I clone from yocto/poky for this patch, not
from oe-core + some other repos. So asking for splits like this
doesn't make sense (to me), since the repository divisions aren't
clear.

Before I do this, can someone enlighten me about what exactly
I should be cloning to construct the build environment that you
are using (I can guess/figure it out, but that's not the point), since
I work by .git separated repos, so if you want it split, I need that
same split here.

>
> Please split this into 2 requests, one for oe-core, just the
> linux-yocto_git.bb file
>
> and a second one to poky with the reset.
>
> I also noted that you list the emenlow in one of the .bbappend files, but
> only as SRCREV_machine_emenlow, should that be there with Paul's moving
> emenlow to meta-intel?

Nope. That's on purpose, I can't have SRCREVs in 13 different
locations and actually maintain them. meta-intel can have it's
own SRCREV, but for any BSP in the main tree, I'll have a copy
in meta-yocto as well.

Bruuce

>
> Sau!
>
>>  5 files changed, 28 insertions(+), 20 deletions(-)
>>  create mode 100644
>> meta-yocto/recipes-kernel/linux/linux-yocto-stable_git.bbappend
>>  create mode 100644
>> meta-yocto/recipes-kernel/linux/linux-yocto_git.bbappend
>>
>> diff --git a/meta-yocto/conf/layer.conf b/meta-yocto/conf/layer.conf
>> index f11d8ed..68786b2 100644
>> --- a/meta-yocto/conf/layer.conf
>> +++ b/meta-yocto/conf/layer.conf
>> @@ -2,7 +2,8 @@
>>  BBPATH := "${BBPATH}:${LAYERDIR}"
>>
>>  # We have a packages directory, add to BBFILES
>> -BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb"
>> +BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
>> +            ${LAYERDIR}/recipes-*/*/*.bbappend"
>>
>>  BBFILE_COLLECTIONS += "yocto"
>>  BBFILE_PATTERN_yocto := "^${LAYERDIR}/"
>> diff --git
>> a/meta-yocto/recipes-kernel/linux/linux-yocto-stable_git.bbappend
>> b/meta-yocto/recipes-kernel/linux/linux-yocto-stable_git.bbappend
>> new file mode 100644
>> index 0000000..ea0287d
>> --- /dev/null
>> +++ b/meta-yocto/recipes-kernel/linux/linux-yocto-stable_git.bbappend
>> @@ -0,0 +1,12 @@
>> +KMACHINE_atom-pc  = "atom-pc"
>> +KMACHINE_routerstationpro = "routerstationpro"
>> +KMACHINE_mpc8315e-rdb = "fsl-mpc8315e-rdb"
>> +KMACHINE_beagleboard = "beagleboard"
>> +
>> +SRCREV_machine_atom-pc = "72ca49ab08b8eb475cec82a10049503602325791"
>> +SRCREV_machine_routerstationpro =
>> "49745cd45c92a89e70c6e2334caa80818c134562"
>> +SRCREV_machine_mpc8315e-rdb = "a1c0ed6bf4060c10874b2a8547d81b3169dcf16a"
>> +SRCREV_machine_beagleboard = "ef7f944e773950d4016b7643f9ecf052bbe250cd"
>> +
>> +COMPATIBLE_MACHINE +=
>> "(atom-pc|routerstationpro|mpc8315e-rdb|beagleboard)"
>> +
>> diff --git a/meta-yocto/recipes-kernel/linux/linux-yocto_git.bbappend
>> b/meta-yocto/recipes-kernel/linux/linux-yocto_git.bbappend
>> new file mode 100644
>> index 0000000..e4aa7fd
>> --- /dev/null
>> +++ b/meta-yocto/recipes-kernel/linux/linux-yocto_git.bbappend
>> @@ -0,0 +1,12 @@
>> +KMACHINE_atom-pc  = "yocto/standard/common-pc/atom-pc"
>> +KMACHINE_routerstationpro = "yocto/standard/routerstationpro"
>> +KMACHINE_mpc8315e-rdb = "yocto/standard/fsl-mpc8315e-rdb"
>> +KMACHINE_beagleboard = "yocto/standard/beagleboard"
>> +
>> +SRCREV_machine_emenlow = "c3bbcb676f929c4fc0511a6e66494b8770d015a1"
>> +SRCREV_machine_atom-pc = "b906f358fd404a1e74a961f25079274e0d933ee1"
>> +SRCREV_machine_routerstationpro =
>> "95ca94d2e71ca2db6822a37a7f575fa79c3d05d0"
>> +SRCREV_machine_mpc8315e-rdb = "53c800c244e73d81d2832f6da306eeae3b09e5dc"
>> +SRCREV_machine_beagleboard = "b906f358fd404a1e74a961f25079274e0d933ee1"
>> +
>> +COMPATIBLE_MACHINE = "(mpc8315e-rdb|routerstationpro|beagleboard)"
>> diff --git a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
>> b/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
>> index 93b06fd..66991ae 100644
>> --- a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
>> +++ b/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
>> @@ -7,10 +7,6 @@ KMACHINE_qemux86-64  = "common_pc_64"
>>  KMACHINE_qemuppc  = "qemu_ppc32"
>>  KMACHINE_qemumips = "mti_malta32_be"
>>  KMACHINE_qemuarm  = "arm_versatile_926ejs"
>> -KMACHINE_atom-pc  = "atom-pc"
>> -KMACHINE_routerstationpro = "routerstationpro"
>> -KMACHINE_mpc8315e-rdb = "fsl-mpc8315e-rdb"
>> -KMACHINE_beagleboard = "beagleboard"
>>
>>  LINUX_VERSION ?= "2.6.34"
>>  LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE_EXTENSION}"
>> @@ -23,10 +19,6 @@ SRCREV_machine_qemumips =
>> "c32d40f960e3c89d07f079bec4c96dcbfc749f0b"
>>  SRCREV_machine_qemuppc = "96d6bc31d3caaf62a966255479cc5cee0e76b1e9"
>>  SRCREV_machine_qemux86 = "72ca49ab08b8eb475cec82a10049503602325791"
>>  SRCREV_machine_qemux86-64 = "72ca49ab08b8eb475cec82a10049503602325791"
>> -SRCREV_machine_atom-pc = "72ca49ab08b8eb475cec82a10049503602325791"
>> -SRCREV_machine_routerstationpro =
>> "49745cd45c92a89e70c6e2334caa80818c134562"
>> -SRCREV_machine_mpc8315e-rdb = "a1c0ed6bf4060c10874b2a8547d81b3169dcf16a"
>> -SRCREV_machine_beagleboard = "ef7f944e773950d4016b7643f9ecf052bbe250cd"
>>  SRCREV_machine = "72ca49ab08b8eb475cec82a10049503602325791"
>>  SRCREV_meta = "ec26387cb168e9e0976999b528b5a9dd62e3157a"
>>
>> @@ -34,7 +26,7 @@ PR = "r1"
>>  PV = "${LINUX_VERSION}+git${SRCPV}"
>>  SRCREV_FORMAT = "meta_machine"
>>
>> -COMPATIBLE_MACHINE =
>> "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|atom-pc|routerstationpro|mpc8315e-rdb|beagleboard)"
>> +COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)"
>>
>>  # this performs a fixup on historical kernel types with embedded _'s
>>  python __anonymous () {
>> diff --git a/meta/recipes-kernel/linux/linux-yocto_git.bb
>> b/meta/recipes-kernel/linux/linux-yocto_git.bb
>> index 3b4e77e..d4f2ece 100644
>> --- a/meta/recipes-kernel/linux/linux-yocto_git.bb
>> +++ b/meta/recipes-kernel/linux/linux-yocto_git.bb
>> @@ -7,10 +7,6 @@ KMACHINE_qemux86-64  = "yocto/standard/common-pc-64/base"
>>  KMACHINE_qemuppc  = "yocto/standard/qemu-ppc32"
>>  KMACHINE_qemumips = "yocto/standard/mti-malta32-be"
>>  KMACHINE_qemuarm  = "yocto/standard/arm-versatile-926ejs"
>> -KMACHINE_atom-pc  = "yocto/standard/common-pc/atom-pc"
>> -KMACHINE_routerstationpro = "yocto/standard/routerstationpro"
>> -KMACHINE_mpc8315e-rdb = "yocto/standard/fsl-mpc8315e-rdb"
>> -KMACHINE_beagleboard = "yocto/standard/beagleboard"
>>
>>  KBRANCH = ${KMACHINE}
>>  KMETA = meta
>> @@ -23,11 +19,6 @@ SRCREV_machine_qemumips =
>> "f5d26f2eda2be8b942172cda8f27de33ebf38ec3"
>>  SRCREV_machine_qemuppc = "7eb6c68d977d9039a2b5a734172b064a9d19cdc1"
>>  SRCREV_machine_qemux86 = "ad62d1aab734513cd96c8f4517f816420a218e77"
>>  SRCREV_machine_qemux86-64 = "b906f358fd404a1e74a961f25079274e0d933ee1"
>> -SRCREV_machine_emenlow = "c3bbcb676f929c4fc0511a6e66494b8770d015a1"
>> -SRCREV_machine_atom-pc = "b906f358fd404a1e74a961f25079274e0d933ee1"
>> -SRCREV_machine_routerstationpro =
>> "95ca94d2e71ca2db6822a37a7f575fa79c3d05d0"
>> -SRCREV_machine_mpc8315e-rdb = "53c800c244e73d81d2832f6da306eeae3b09e5dc"
>> -SRCREV_machine_beagleboard = "b906f358fd404a1e74a961f25079274e0d933ee1"
>>  SRCREV_machine = "b906f358fd404a1e74a961f25079274e0d933ee1"
>>  SRCREV_meta = "ecab1e2bc12a8b0c4d064a00acc3260f6e8528c5"
>>
>> @@ -37,7 +28,7 @@ SRCREV_FORMAT = "meta_machine"
>>
>>  SRC_URI =
>> "git://git.yoctoproject.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
>>
>> -COMPATIBLE_MACHINE =
>> "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|mpc8315e-rdb|routerstationpro|beagleboard)"
>> +COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)"
>>
>>  # Functionality flags
>>  KERNEL_REVISION_CHECKING ?= "t"
>
>
> _______________________________________________
> 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 yocto mailing list