linux-yocto: put COMPATIBLE_MACHINE first
PATCH 1/2 linux-yocto: put COMPATIBLE_MACHINE first
From: Ross Burton <[email protected]>
Move the COMPATIBLE_MACHINE assignments to the top of the file as they effectively control what machines this bbappend is for.
--- .../recipes-kernel/linux/linux-yocto_6.6.bbappend | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend +5 -5
@@ -1,3 +1,8 @@ +COMPATIBLE_MACHINE:genericarm64 = "genericarm64" +COMPATIBLE_MACHINE:genericx86 = "genericx86" +COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" +COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" + KBRANCH:genericarm64 = "v6.6/standard/base" KBRANCH:genericx86 = "v6.6/standard/base" KBRANCH:genericx86-64 = "v6.6/standard/base"
@@ -13,11 +18,6 @@ SRCREV_machine:genericx86 ?= "332d4668fcc32826907d4f3c4938845206006089" SRCREV_machine:genericx86-64 ?= "332d4668fcc32826907d4f3c4938845206006089" SRCREV_machine:beaglebone-yocto ?= "332d4668fcc32826907d4f3c4938845206006089" -COMPATIBLE_MACHINE:genericarm64 = "genericarm64" -COMPATIBLE_MACHINE:genericx86 = "genericx86" -COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" -COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" - LINUX_VERSION:genericarm64 = "6.6.18" LINUX_VERSION:genericx86 = "6.6.15" LINUX_VERSION:genericx86-64 = "6.6.15"
Signature · 1 line
2.34.1
PATCH 2/2 linux-yocto: implicitly track oe-core's kernel version for genericarm64
From: Ross Burton <[email protected]>
Don't override KBRANCH/SRCREV/LINUX_VERSION, instead use the values in the base oe-core linux-yocto recipe.
The advantage of this is that we don't need to update this file every time the kernel is upgraded in oe-core.
--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend | 3 --- 1 file changed, 3 deletions(-)
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend +0 -3
@@ -3,7 +3,6 @@ COMPATIBLE_MACHINE:genericx86 = "genericx86" COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" -KBRANCH:genericarm64 = "v6.6/standard/base" KBRANCH:genericx86 = "v6.6/standard/base" KBRANCH:genericx86-64 = "v6.6/standard/base" KBRANCH:beaglebone-yocto = "v6.6/standard/beaglebone"
@@ -13,12 +12,10 @@ KMACHINE:genericx86 ?= "common-pc" KMACHINE:genericx86-64 ?= "common-pc-64" KMACHINE:beaglebone-yocto ?= "beaglebone" -SRCREV_machine:genericarm64 ?= "e064a7d658a30b027b999183e21cd37305caff2a" SRCREV_machine:genericx86 ?= "332d4668fcc32826907d4f3c4938845206006089" SRCREV_machine:genericx86-64 ?= "332d4668fcc32826907d4f3c4938845206006089" SRCREV_machine:beaglebone-yocto ?= "332d4668fcc32826907d4f3c4938845206006089" -LINUX_VERSION:genericarm64 = "6.6.18" LINUX_VERSION:genericx86 = "6.6.15" LINUX_VERSION:genericx86-64 = "6.6.15" LINUX_VERSION:beaglebone-yocto = "6.6.15"
Signature · 1 line
2.34.1
Re: [poky] [PATCH 2/2] linux-yocto: implicitly track oe-core's kernel version for genericarm64
Quoted 8 lines · Ross Burton
From: Ross Burton <[email protected]>
Don't override KBRANCH/SRCREV/LINUX_VERSION, instead use the values in the base oe-core linux-yocto recipe.
The advantage of this is that we don't need to update this file every time the kernel is upgraded in oe-core.
I'm ok with this as well, and in theory, we could probably do it for the other reference BSPs as well.
It would be even better if I could boot test this with qemu, but we'll worry about that part later.
Bruce
Quoted 43 lines
Signed-off-by Ross Burton <[email protected]>--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend | 3 --- 1 file changed, 3 deletions(-)meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend +0
-4@@ -3,7 +3,6 @@ COMPATIBLE_MACHINE:genericx86 = "genericx86" COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" -KBRANCH:genericarm64 = "v6.6/standard/base" KBRANCH:genericx86 = "v6.6/standard/base" KBRANCH:genericx86-64 = "v6.6/standard/base" KBRANCH:beaglebone-yocto = "v6.6/standard/beaglebone"@@ -13,12 +12,10 @@ KMACHINE:genericx86 ?= "common-pc" KMACHINE:genericx86-64 ?= "common-pc-64" KMACHINE:beaglebone-yocto ?= "beaglebone" -SRCREV_machine:genericarm64 ?= "e064a7d658a30b027b999183e21cd37305caff2a" SRCREV_machine:genericx86 ?= "332d4668fcc32826907d4f3c4938845206006089" SRCREV_machine:genericx86-64 ?= "332d4668fcc32826907d4f3c4938845206006089" SRCREV_machine:beaglebone-yocto ?= "332d4668fcc32826907d4f3c4938845206006089" -LINUX_VERSION:genericarm64 = "6.6.18" LINUX_VERSION:genericx86 = "6.6.15" LINUX_VERSION:genericx86-64 = "6.6.15" LINUX_VERSION:beaglebone-yocto = "6.6.15" --2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13307): https://lists.yoctoproject.org/g/poky/message/13307
Mute This Topic: https://lists.yoctoproject.org/mt/104890079/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Quoted 5 lines · Ross Burton
From: Ross Burton <[email protected]>
Move the
COMPATIBLE_MACHINEassignments to the top of the file as they effectively control what machines this bbappend is for.
I'm ok with shuffling the chairs. Hopefully it's no on the deck of the titanic.
Bruce
Quoted 43 lines
Signed-off-by Ross Burton <[email protected]>--- .../recipes-kernel/linux/linux-yocto_6.6.bbappend | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend +5
-6@@ -1,3 +1,8 @@ +COMPATIBLE_MACHINE:genericarm64 = "genericarm64" +COMPATIBLE_MACHINE:genericx86 = "genericx86" +COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" +COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" + KBRANCH:genericarm64 = "v6.6/standard/base" KBRANCH:genericx86 = "v6.6/standard/base" KBRANCH:genericx86-64 = "v6.6/standard/base"@@ -13,11 +18,6 @@ SRCREV_machine:genericx86 ?= "332d4668fcc32826907d4f3c4938845206006089" SRCREV_machine:genericx86-64 ?= "332d4668fcc32826907d4f3c4938845206006089" SRCREV_machine:beaglebone-yocto ?= "332d4668fcc32826907d4f3c4938845206006089" -COMPATIBLE_MACHINE:genericarm64 = "genericarm64" -COMPATIBLE_MACHINE:genericx86 = "genericx86" -COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" -COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" - LINUX_VERSION:genericarm64 = "6.6.18" LINUX_VERSION:genericx86 = "6.6.15" LINUX_VERSION:genericx86-64 = "6.6.15" --2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13306): https://lists.yoctoproject.org/g/poky/message/13306
Mute This Topic: https://lists.yoctoproject.org/mt/104890078/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II