diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-07 12:22:31 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-10 15:45:15 +0200 |
commit | 727bb5b477e66b6cd8a558bf2cdf9a666b914f27 (patch) | |
tree | 92b015f15079ad29679d49a2a914232c0e78cdb4 /hw/loongarch | |
parent | 6bd92a7c62648eb37053ccc809c3cab7d7629584 (diff) |
meson: pick libfdt from common_ss when building target-specific files
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>
Diffstat (limited to 'hw/loongarch')
-rw-r--r-- | hw/loongarch/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/loongarch/meson.build b/hw/loongarch/meson.build index d306d82c2e..bce7ebac97 100644 --- a/hw/loongarch/meson.build +++ b/hw/loongarch/meson.build @@ -3,7 +3,7 @@ loongarch_ss.add(files( 'fw_cfg.c', 'boot.c', )) -loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: [files('virt.c'), fdt]) +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} |