meson: convert hw/audio
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
6bcb5d9665
commit
a9d4825542
@ -2,7 +2,6 @@ ifeq ($(CONFIG_SOFTMMU), y)
|
||||
devices-dirs-$(call lor,$(CONFIG_VIRTIO_9P),$(call land,$(CONFIG_VIRTFS),$(CONFIG_XEN))) += 9pfs/
|
||||
devices-dirs-y += acpi/
|
||||
devices-dirs-y += adc/
|
||||
devices-dirs-y += audio/
|
||||
endif
|
||||
|
||||
common-obj-y += $(devices-dirs-y)
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Sound
|
||||
common-obj-$(CONFIG_SB16) += sb16.o
|
||||
common-obj-$(CONFIG_ES1370) += es1370.o
|
||||
common-obj-$(CONFIG_AC97) += ac97.o
|
||||
common-obj-$(CONFIG_ADLIB) += fmopl.o adlib.o
|
||||
common-obj-$(CONFIG_GUS) += gus.o gusemu_hal.o gusemu_mixer.o
|
||||
common-obj-$(CONFIG_CS4231A) += cs4231a.o
|
||||
common-obj-$(CONFIG_HDA) += intel-hda.o hda-codec.o
|
||||
|
||||
common-obj-$(CONFIG_PCSPK) += pcspk.o
|
||||
common-obj-$(CONFIG_WM8750) += wm8750.o
|
||||
common-obj-$(CONFIG_PL041) += pl041.o lm4549.o
|
||||
|
||||
common-obj-$(CONFIG_CS4231) += cs4231.o
|
||||
common-obj-$(CONFIG_MARVELL_88W8618) += marvell_88w8618.o
|
||||
common-obj-$(CONFIG_MILKYMIST) += milkymist-ac97.o
|
||||
|
||||
common-obj-y += soundhw.o
|
14
hw/audio/meson.build
Normal file
14
hw/audio/meson.build
Normal file
@ -0,0 +1,14 @@
|
||||
softmmu_ss.add(files('soundhw.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_AC97', if_true: files('ac97.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_ADLIB', if_true: files('fmopl.c', 'adlib.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_CS4231', if_true: files('cs4231.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_CS4231A', if_true: files('cs4231a.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_ES1370', if_true: files('es1370.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_GUS', if_true: files('gus.c', 'gusemu_hal.c', 'gusemu_mixer.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_HDA', if_true: files('intel-hda.c', 'hda-codec.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_MARVELL_88W8618', if_true: files('marvell_88w8618.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_MILKYMIST', if_true: files('milkymist-ac97.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_PCSPK', if_true: files('pcspk.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_PL041', if_true: files('pl041.c', 'lm4549.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_SB16', if_true: files('sb16.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_WM8750', if_true: files('wm8750.c'))
|
@ -1,3 +1,4 @@
|
||||
subdir('audio')
|
||||
subdir('block')
|
||||
subdir('char')
|
||||
subdir('core')
|
||||
|
Loading…
Reference in New Issue
Block a user