qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 7/8] hw/riscv: meson: add CBQRI options to the build


From: Drew Fustini
Subject: [RFC PATCH 7/8] hw/riscv: meson: add CBQRI options to the build
Date: Sun, 16 Apr 2023 16:20:49 -0700

From: Nicolas Pitre <npitre@baylibre.com>

Build the CBQRI controllers and CBQRI example configuration when enabled
by Kconfig.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Signed-off-by: Drew Fustini <dfustini@baylibre.com>
---
 hw/riscv/meson.build | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hw/riscv/meson.build b/hw/riscv/meson.build
index 2f7ee81be3ca..cec6ecdcf5de 100644
--- a/hw/riscv/meson.build
+++ b/hw/riscv/meson.build
@@ -11,4 +11,8 @@ riscv_ss.add(when: 'CONFIG_SPIKE', if_true: files('spike.c'))
 riscv_ss.add(when: 'CONFIG_MICROCHIP_PFSOC', if_true: 
files('microchip_pfsoc.c'))
 riscv_ss.add(when: 'CONFIG_ACPI', if_true: files('virt-acpi-build.c'))
 
+riscv_ss.add(when: 'CONFIG_RISCV_CBQRI',
+              if_true: files('cbqri_capacity.c', 'cbqri_bandwidth.c'))
+riscv_ss.add(when: 'CONFIG_CBQRI_EXAMPLE_SOC', if_true: 
files('cbqri_example_soc.c'))
+
 hw_arch += {'riscv': riscv_ss}
-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]