Skip to contentSkip to conversation

docs/devel/build-system: Update an example

PATCH Applied Philippe Mathieu-Daudé 2 participants 2 messages May 29, 2019 – Jun 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 docs/devel/build-system: Update an example

The default-configs/ example added in 717171bd2025 is no more accurate since fa212a2b8b60 (and various further other commits).

The Kconfig build system is now in place.
Use the aarch64-softmmu config as example.

---
v2: rephrased the sentence using Thomas suggestion

---
 docs/devel/build-system.txt | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)
docs/devel/build-system.txt +7 -12
index addd274eeb..41bd08ea3a 100644
@@ -413,18 +413,13 @@ context.
 - default-configs/*.mak
 
 The files under default-configs/ control what emulated hardware is built
-into each QEMU system and userspace emulator targets. They merely
-contain a long list of config variable definitions. For example,
-default-configs/x86_64-softmmu.mak has:
-
-  include sound.mak
-  include usb.mak
-  CONFIG_QXL=$(CONFIG_SPICE)
-  CONFIG_VGA_ISA=y
-  CONFIG_VGA_CIRRUS=y
-  CONFIG_VMWARE_VGA=y
-  CONFIG_VIRTIO_VGA=y
-  ...snip...
+into each QEMU system and userspace emulator targets. They merely contain
+a list of config variable definitions like the machines that should be
+included. For example, default-configs/aarch64-softmmu.mak has:
+
+  include arm-softmmu.mak
+  CONFIG_XLNX_ZYNQMP_ARM=y
+  CONFIG_XLNX_VERSAL=y
 
 These files rarely need changing unless new devices / hardware need to
 be enabled for a particular system/userspace emulation target
Signature · 1 line
2.20.1
#1 lore raw

Le 29/05/2019 à 16:05, Philippe Mathieu-Daudé a écrit :

Quoted 36 lines

The default-configs/ example added in 717171bd2025 is no more accurate since fa212a2b8b60 (and various further other commits).

The Kconfig build system is now in place.
Use the aarch64-softmmu config as example.

---
v2: rephrased the sentence using Thomas suggestion

---
 docs/devel/build-system.txt | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)
docs/devel/build-system.txt +0 -12
index addd274eeb..41bd08ea3a 100644
@@ -413,18 +413,13 @@ context.
 - default-configs/*.mak
 
 The files under default-configs/ control what emulated hardware is built
-into each QEMU system and userspace emulator targets. They merely
-contain a long list of config variable definitions. For example,
-default-configs/x86_64-softmmu.mak has:
-
-  include sound.mak
-  include usb.mak
-  CONFIG_QXL=$(CONFIG_SPICE)
-  CONFIG_VGA_ISA=y
-  CONFIG_VGA_CIRRUS=y
-  CONFIG_VMWARE_VGA=y
-  CONFIG_VIRTIO_VGA=y
-  ...snip...

docs/devel/build-system.txt context. · line 425

Quoted 10 lines
docs/devel/build-system.txt +7 -0
+into each QEMU system and userspace emulator targets. They merely contain
+a list of config variable definitions like the machines that should be
+included. For example, default-configs/aarch64-softmmu.mak has:
+
+  include arm-softmmu.mak
+  CONFIG_XLNX_ZYNQMP_ARM=y
+  CONFIG_XLNX_VERSAL=y
 
 These files rarely need changing unless new devices / hardware need to
 be enabled for a particular system/userspace emulation target

Applied to my trivial-patches branch.

Thanks,
Laurent