Message ID | 20230202045223.2594627-8-sunilvl@ventanamicro.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add basic ACPI support for risc-v virt | expand |
On Thu, Feb 2, 2023 at 12:53 PM Sunil V L <sunilvl@ventanamicro.com> wrote: > > ACPI functions are defined in new file virt-acpi-build.c. Enable > it to be built as part of virt machine if CONFIG_ACPI is set. > > Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> > --- > hw/riscv/meson.build | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Bin Meng <bmeng@tinylab.org>
diff --git a/hw/riscv/meson.build b/hw/riscv/meson.build index ab6cae57ea..2f7ee81be3 100644 --- a/hw/riscv/meson.build +++ b/hw/riscv/meson.build @@ -9,5 +9,6 @@ riscv_ss.add(when: 'CONFIG_SIFIVE_E', if_true: files('sifive_e.c')) riscv_ss.add(when: 'CONFIG_SIFIVE_U', if_true: files('sifive_u.c')) 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')) hw_arch += {'riscv': riscv_ss}
ACPI functions are defined in new file virt-acpi-build.c. Enable it to be built as part of virt machine if CONFIG_ACPI is set. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> --- hw/riscv/meson.build | 1 + 1 file changed, 1 insertion(+)