diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-06 08:40:52 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-12 11:18:27 +0100 |
commit | d2f623dad5566dcfc3a85666d88c59124b280c95 (patch) | |
tree | 2820677dd0a1c9407c2dda0e5afc2d365498129a | |
parent | 22d81543913ca1abe05ce14b7a792cacc469b2b1 (diff) | |
download | qemu-d2f623dad5566dcfc3a85666d88c59124b280c95.zip qemu-d2f623dad5566dcfc3a85666d88c59124b280c95.tar.gz qemu-d2f623dad5566dcfc3a85666d88c59124b280c95.tar.bz2 |
audio/pulseaudio: build as module
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20180306074053.22856-7-kraxel@redhat.com
-rw-r--r-- | audio/Makefile.objs | 7 | ||||
-rwxr-xr-x | configure | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/audio/Makefile.objs b/audio/Makefile.objs index 9ea19c6..b988359 100644 --- a/audio/Makefile.objs +++ b/audio/Makefile.objs @@ -3,14 +3,12 @@ common-obj-$(CONFIG_AUDIO_SDL) += sdlaudio.o common-obj-$(CONFIG_SPICE) += spiceaudio.o common-obj-$(CONFIG_AUDIO_COREAUDIO) += coreaudio.o common-obj-$(CONFIG_AUDIO_DSOUND) += dsoundaudio.o -common-obj-$(CONFIG_AUDIO_PA) += paaudio.o common-obj-$(CONFIG_AUDIO_PT_INT) += audio_pt_int.o common-obj-$(CONFIG_AUDIO_WIN_INT) += audio_win_int.o common-obj-y += wavcapture.o sdlaudio.o-cflags := $(SDL_CFLAGS) sdlaudio.o-libs := $(SDL_LIBS) -paaudio.o-libs := $(PULSE_LIBS) coreaudio.o-libs := $(COREAUDIO_LIBS) dsoundaudio.o-libs := $(DSOUND_LIBS) @@ -23,3 +21,8 @@ alsa.mo-libs := $(ALSA_LIBS) common-obj-$(CONFIG_AUDIO_OSS) += oss.mo oss.mo-objs = ossaudio.o oss.mo-libs := $(OSS_LIBS) + +# pulseaudio module +common-obj-$(CONFIG_AUDIO_PA) += pa.mo +pa.mo-objs = paaudio.o +pa.mo-libs := $(PULSE_LIBS) @@ -5974,7 +5974,7 @@ echo "CONFIG_AUDIO_DRIVERS=$audio_drv_list" >> $config_host_mak for drv in $audio_drv_list; do def=CONFIG_AUDIO_$(echo $drv | LC_ALL=C tr '[a-z]' '[A-Z]') case "$drv" in - alsa | oss) + alsa | oss | pa) echo "$def=m" >> $config_host_mak ;; *) echo "$def=y" >> $config_host_mak ;; |