]> git.proxmox.com Git - mirror_qemu.git/commitdiff
build: enable audio modules
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 6 Mar 2018 07:40:49 +0000 (08:40 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 12 Mar 2018 10:18:27 +0000 (11:18 +0100)
Add audio/ to common-obj-m variable.

Also run both audio and ui variables through unnest-vars.
This avoids sdl.mo (exists in both audio/ and ui/) name clashes.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20180306074053.22856-4-kraxel@redhat.com

Makefile
Makefile.objs

index 9a75c48ae050ee26af9dd014ca8b95d04261b032..f198f19ba2392095ee2938754309c36dded250aa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -425,6 +425,10 @@ dummy := $(call unnest-vars,, \
                 io-obj-y \
                 common-obj-y \
                 common-obj-m \
+                ui-obj-y \
+                ui-obj-m \
+                audio-obj-y \
+                audio-obj-m \
                 trace-obj-y)
 
 include $(SRC_PATH)/tests/Makefile.include
index d8b44a2d3c28a7d3e9be19c03a2cc6b323f533e0..c6c9b8fc2177a3f6e26c364112e3fc1bbba90b3e 100644 (file)
@@ -104,6 +104,7 @@ common-obj-$(CONFIG_LINUX) += fsdev/
 common-obj-y += migration/
 
 common-obj-y += audio/
+common-obj-m += audio/
 common-obj-y += hw/
 
 common-obj-y += replay/