xref: /openbmc/qemu/hw/audio/meson.build (revision 13b5ae94)
1system_ss.add(files('soundhw.c'))
2system_ss.add(when: 'CONFIG_AC97', if_true: files('ac97.c'))
3system_ss.add(when: 'CONFIG_ADLIB', if_true: files('fmopl.c', 'adlib.c'))
4system_ss.add(when: 'CONFIG_ASC', if_true: files('asc.c'))
5system_ss.add(when: 'CONFIG_CS4231', if_true: files('cs4231.c'))
6system_ss.add(when: 'CONFIG_CS4231A', if_true: files('cs4231a.c'))
7system_ss.add(when: 'CONFIG_ES1370', if_true: files('es1370.c'))
8system_ss.add(when: 'CONFIG_GUS', if_true: files('gus.c', 'gusemu_hal.c', 'gusemu_mixer.c'))
9system_ss.add(when: 'CONFIG_HDA', if_true: files('intel-hda.c', 'hda-codec.c'))
10system_ss.add(when: 'CONFIG_MARVELL_88W8618', if_true: files('marvell_88w8618.c'))
11system_ss.add(when: 'CONFIG_PCSPK', if_true: files('pcspk.c'))
12system_ss.add(when: 'CONFIG_PL041', if_true: files('pl041.c', 'lm4549.c'))
13system_ss.add(when: 'CONFIG_SB16', if_true: files('sb16.c'))
14system_ss.add(when: 'CONFIG_VT82C686', if_true: files('via-ac97.c'))
15system_ss.add(when: 'CONFIG_WM8750', if_true: files('wm8750.c'))
16system_ss.add(when: ['CONFIG_VIRTIO_SND', 'CONFIG_VIRTIO'], if_true: files('virtio-snd.c'))
17system_ss.add(when: ['CONFIG_VIRTIO_SND', 'CONFIG_VIRTIO', 'CONFIG_VIRTIO_PCI'], if_true: files('virtio-snd-pci.c'))
18