From 3000abe20af58ca9094dd77f890715cc3f4ef04a Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 21 Dec 2023 17:01:59 +0000 Subject: [PATCH] conf/machine-sdk: declare qemu-usermode SDK_MACHINE_FEATURE All of our defined SDK machines (which are assumed to be Linux) support qemu-user, so state this explicitly. (From OE-Core rev: 12f92772c8ccf622fd353836c1172e15ee8c6857) Signed-off-by: Ross Burton Link: https://lore.kernel.org/r/20231221170159.1995650-3-ross.burton@arm.com Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/conf/machine-sdk/aarch64.conf | 2 ++ meta/conf/machine-sdk/i586.conf | 1 + meta/conf/machine-sdk/i686.conf | 2 ++ meta/conf/machine-sdk/loongarch64.conf | 2 ++ meta/conf/machine-sdk/ppc64.conf | 2 ++ meta/conf/machine-sdk/ppc64le.conf | 2 ++ meta/conf/machine-sdk/riscv64.conf | 2 ++ meta/conf/machine-sdk/x86_64.conf | 2 ++ 8 files changed, 15 insertions(+) diff --git a/meta/conf/machine-sdk/aarch64.conf b/meta/conf/machine-sdk/aarch64.conf index 4a285cf6cb..d2023e2174 100644 --- a/meta/conf/machine-sdk/aarch64.conf +++ b/meta/conf/machine-sdk/aarch64.conf @@ -1,2 +1,4 @@ SDK_ARCH = "aarch64" ABIEXTENSION:class-nativesdk = "" + +SDK_MACHINE_FEATURES = "qemu-usermode" diff --git a/meta/conf/machine-sdk/i586.conf b/meta/conf/machine-sdk/i586.conf index 05e826965e..ccee3a4881 100644 --- a/meta/conf/machine-sdk/i586.conf +++ b/meta/conf/machine-sdk/i586.conf @@ -2,3 +2,4 @@ SDK_ARCH = "i586" SDK_CC_ARCH = "-march=i586" ABIEXTENSION:class-nativesdk = "" +SDK_MACHINE_FEATURES = "qemu-usermode" diff --git a/meta/conf/machine-sdk/i686.conf b/meta/conf/machine-sdk/i686.conf index 22f580e70f..abb7a4bc1a 100644 --- a/meta/conf/machine-sdk/i686.conf +++ b/meta/conf/machine-sdk/i686.conf @@ -1,3 +1,5 @@ SDK_ARCH = "i686" SDK_CC_ARCH = "-march=i686" ABIEXTENSION:class-nativesdk = "" + +SDK_MACHINE_FEATURES = "qemu-usermode" diff --git a/meta/conf/machine-sdk/loongarch64.conf b/meta/conf/machine-sdk/loongarch64.conf index 40bf0039ea..6bb4c7a4ea 100644 --- a/meta/conf/machine-sdk/loongarch64.conf +++ b/meta/conf/machine-sdk/loongarch64.conf @@ -1,2 +1,4 @@ SDK_ARCH = "loongarch64" ABIEXTENSION:class-nativesdk = "" + +SDK_MACHINE_FEATURES = "qemu-usermode" diff --git a/meta/conf/machine-sdk/ppc64.conf b/meta/conf/machine-sdk/ppc64.conf index b41325dfe7..8ba3fccc67 100644 --- a/meta/conf/machine-sdk/ppc64.conf +++ b/meta/conf/machine-sdk/ppc64.conf @@ -1,2 +1,4 @@ SDK_ARCH = "ppc64" ABIEXTENSION:class-nativesdk = "" + +SDK_MACHINE_FEATURES = "qemu-usermode" diff --git a/meta/conf/machine-sdk/ppc64le.conf b/meta/conf/machine-sdk/ppc64le.conf index db1f863496..3ee12faf57 100644 --- a/meta/conf/machine-sdk/ppc64le.conf +++ b/meta/conf/machine-sdk/ppc64le.conf @@ -1,2 +1,4 @@ SDK_ARCH = "ppc64le" ABIEXTENSION:class-nativesdk = "" + +SDK_MACHINE_FEATURES = "qemu-usermode" diff --git a/meta/conf/machine-sdk/riscv64.conf b/meta/conf/machine-sdk/riscv64.conf index 3f4a5af0af..a43fe433fe 100644 --- a/meta/conf/machine-sdk/riscv64.conf +++ b/meta/conf/machine-sdk/riscv64.conf @@ -1,2 +1,4 @@ SDK_ARCH = "riscv64" ABIEXTENSION:class-nativesdk = "" + +SDK_MACHINE_FEATURES = "qemu-usermode" diff --git a/meta/conf/machine-sdk/x86_64.conf b/meta/conf/machine-sdk/x86_64.conf index 3396f95d69..357dab0b88 100644 --- a/meta/conf/machine-sdk/x86_64.conf +++ b/meta/conf/machine-sdk/x86_64.conf @@ -2,3 +2,5 @@ SDK_ARCH = "x86_64" SDK_CC_ARCH = "-march=x86-64" ABIEXTENSION:class-crosssdk = "" ABIEXTENSION:class-nativesdk = "" + +SDK_MACHINE_FEATURES = "qemu-usermode"