mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00

Similiar with virt-acpi-build.c, file virt-fdt-build.c is added here. And move functions relative with fdt table building to the file. It is only code movement and there is no function change. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
11 lines
359 B
Meson
11 lines
359 B
Meson
loongarch_ss = ss.source_set()
|
|
loongarch_ss.add(files(
|
|
'boot.c',
|
|
))
|
|
common_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: files('fw_cfg.c'))
|
|
loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: files(
|
|
'virt-fdt-build.c',
|
|
'virt.c'))
|
|
loongarch_ss.add(when: 'CONFIG_ACPI', if_true: files('virt-acpi-build.c'))
|
|
|
|
hw_arch += {'loongarch': loongarch_ss}
|