Browse Source
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>pull/266/head
7 changed files with 18 additions and 12 deletions
@ -1,7 +1,7 @@ |
|||
openrisc_ss = ss.source_set() |
|||
openrisc_ss.add(files('cputimer.c')) |
|||
openrisc_ss.add(files('boot.c')) |
|||
openrisc_ss.add(when: 'CONFIG_OR1K_SIM', if_true: [files('openrisc_sim.c'), fdt]) |
|||
openrisc_ss.add(when: 'CONFIG_OR1K_VIRT', if_true: [files('virt.c'), fdt]) |
|||
openrisc_ss.add(when: 'CONFIG_OR1K_SIM', if_true: files('openrisc_sim.c')) |
|||
openrisc_ss.add(when: 'CONFIG_OR1K_VIRT', if_true: files('virt.c')) |
|||
|
|||
hw_arch += {'openrisc': openrisc_ss} |
|||
|
|||
Loading…
Reference in new issue