Message ID | 20250208070655.3039366-2-maobibo@loongson.cn (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | hw/loongarch/virt: Code cleanup | expand |
diff --git a/hw/loongarch/meson.build b/hw/loongarch/meson.build index 005f017e21..3f020de7dc 100644 --- a/hw/loongarch/meson.build +++ b/hw/loongarch/meson.build @@ -4,6 +4,6 @@ loongarch_ss.add(files( )) common_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: files('fw_cfg.c')) loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: files('virt.c')) -loongarch_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-build.c')) +loongarch_ss.add(when: 'CONFIG_ACPI', if_true: files('virt-acpi-build.c')) hw_arch += {'loongarch': loongarch_ss} diff --git a/hw/loongarch/acpi-build.c b/hw/loongarch/virt-acpi-build.c similarity index 100% rename from hw/loongarch/acpi-build.c rename to hw/loongarch/virt-acpi-build.c
File acpi-build.c is relative with virt machine type, rename it with virt-acpi-build.c Signed-off-by: Bibo Mao <maobibo@loongson.cn> --- hw/loongarch/meson.build | 2 +- hw/loongarch/{acpi-build.c => virt-acpi-build.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename hw/loongarch/{acpi-build.c => virt-acpi-build.c} (100%)