diff mbox series

[1/2] linux-yocto: put COMPATIBLE_MACHINE first

Message ID 20240312181115.3848230-1-ross.burton@arm.com (mailing list archive)
State New
Headers show
Series [1/2] linux-yocto: put COMPATIBLE_MACHINE first | expand

Commit Message

Ross Burton March 12, 2024, 6:11 p.m. UTC
From: Ross Burton <ross.burton@arm.com>

Move the COMPATIBLE_MACHINE assignments to the top of the file as they
effectively control what machines this bbappend is for.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../recipes-kernel/linux/linux-yocto_6.6.bbappend      | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Bruce Ashfield March 13, 2024, 1:45 a.m. UTC | #1
On Tue, Mar 12, 2024 at 2:11 PM Ross Burton <ross.burton@arm.com> wrote:
>
> From: Ross Burton <ross.burton@arm.com>
>
> Move the COMPATIBLE_MACHINE assignments 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

>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
>  .../recipes-kernel/linux/linux-yocto_6.6.bbappend      | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend
> index ca7b2b09df7..7a1fb6f245c 100644
> --- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend
> +++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend
> @@ -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: poky+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend
index ca7b2b09df7..7a1fb6f245c 100644
--- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend
@@ -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"