aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-03-06 08:40:49 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-03-12 11:18:27 +0100
commit08a05b379ac56430cbb748882ff1b48dc9fe8729 (patch)
treeb0155d4cdeb8eef9cd43d6a71e3293c27f7e8921
parent65ba86966146ad074da0a18d209d1a52f2befd5a (diff)
build: enable audio modules
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
-rw-r--r--Makefile4
-rw-r--r--Makefile.objs1
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9a75c48ae0..f198f19ba2 100644
--- 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
diff --git a/Makefile.objs b/Makefile.objs
index d8b44a2d3c..c6c9b8fc21 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -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/