diff mbox series

[2/4] conf/fragments: add fragments for qemux86-64 and qemuarm64

Message ID 20250225120836.171976-2-alex.kanavin@gmail.com
State New
Headers show
Series [1/4] meta/conf/templates: add a blank template | expand

Commit Message

Alexander Kanavin Feb. 25, 2025, 12:08 p.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

These will be used by official bitbake-setup configurations,
and so let's start with them :) Plenty more fragments can
be added over time.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/conf/fragments/machines/qemuarm64.conf  | 5 +++++
 meta/conf/fragments/machines/qemux86-64.conf | 5 +++++
 2 files changed, 10 insertions(+)
 create mode 100644 meta/conf/fragments/machines/qemuarm64.conf
 create mode 100644 meta/conf/fragments/machines/qemux86-64.conf
diff mbox series

Patch

diff --git a/meta/conf/fragments/machines/qemuarm64.conf b/meta/conf/fragments/machines/qemuarm64.conf
new file mode 100644
index 00000000000..0fc164541d5
--- /dev/null
+++ b/meta/conf/fragments/machines/qemuarm64.conf
@@ -0,0 +1,5 @@ 
+BB_CONF_FRAGMENT_SUMMARY = "Use qemuarm64 as a target MACHINE, suitable for running in QEMU system emulator."
+BB_CONF_FRAGMENT_DESCRIPTION = "Select qemuarm64 as the target machine. This is the best option for running the target system inside QEMU emulator on arm64 build hosts, \
+as it allows near-native performance with kvm acceleration. Also useful for testing arm64 specific assembly code or compiler output."
+
+MACHINE ?= "qemuarm64"
diff --git a/meta/conf/fragments/machines/qemux86-64.conf b/meta/conf/fragments/machines/qemux86-64.conf
new file mode 100644
index 00000000000..0fce37c4e2e
--- /dev/null
+++ b/meta/conf/fragments/machines/qemux86-64.conf
@@ -0,0 +1,5 @@ 
+BB_CONF_FRAGMENT_SUMMARY = "Use qemux86-64 as a target MACHINE, suitable for running in QEMU system emulator."
+BB_CONF_FRAGMENT_DESCRIPTION = "Select qemux86-64 as the target machine. This is the best option for running the target system inside QEMU emulator on x86-64 build hosts, \
+as it allows near-native performance with kvm acceleration. Also useful for testing x86-64 specific assembly code or compiler output."
+
+MACHINE ?= "qemux86-64"