727bb5b477
Avoid having to list dependencies such as libfdt twice, both on common_ss and specific_ss. Instead, just take all the dependencies in common_ss and allow the target-specific libqemu-*.fa library to use them. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
10 lines
272 B
Meson
10 lines
272 B
Meson
loongarch_ss = ss.source_set()
|
|
loongarch_ss.add(files(
|
|
'fw_cfg.c',
|
|
'boot.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'))
|
|
|
|
hw_arch += {'loongarch': loongarch_ss}
|