mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 22:10:33 +00:00
c64bd101fe
We want to be able to use the 'SH4' config for architecture specific features. Add more fine-grained selection by adding a CONFIG_SH_PCI selector for the SH4 PCI controller. Move the file with the other PCI host devices in hw/pci-host and add its missing MAINTAINERS entries. Suggested-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210222141514.2646278-8-f4bug@amsat.org>
10 lines
225 B
Meson
10 lines
225 B
Meson
sh4_ss = ss.source_set()
|
|
sh4_ss.add(files(
|
|
'sh7750.c',
|
|
'sh7750_regnames.c',
|
|
))
|
|
sh4_ss.add(when: 'CONFIG_R2D', if_true: files('r2d.c'))
|
|
sh4_ss.add(when: 'CONFIG_SHIX', if_true: files('shix.c'))
|
|
|
|
hw_arch += {'sh4': sh4_ss}
|