aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÁkos Kovács <akoskovacs@gmx.com>2019-02-02 15:24:37 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-02-05 16:50:19 +0100
commit48a166cf1d7ecb4a4b9bea79ec12d2e55fb2bb56 (patch)
tree2d4a9b858de2ef2b10ffd484b0ef47b4c3558f81
parentabab3fdeef05be8b57baefa7d0f234b9bc471df3 (diff)
hw/m68k/Makefile.objs: Conditionally build boards
CONFIG_AN5206, CONFIG_MCF5206 and CONFIG_MCF5208 make variables created for m68k boards, and added to default-configs/m86k-softmmu.mak. Signed-off-by: Ákos Kovács <akoskovacs@gmx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190202072456.6468-9-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--default-configs/m68k-softmmu.mak2
-rw-r--r--hw/m68k/Makefile.objs4
2 files changed, 4 insertions, 2 deletions
diff --git a/default-configs/m68k-softmmu.mak b/default-configs/m68k-softmmu.mak
index 60f7cdfbf2..27f5274244 100644
--- a/default-configs/m68k-softmmu.mak
+++ b/default-configs/m68k-softmmu.mak
@@ -2,3 +2,5 @@
CONFIG_COLDFIRE=y
CONFIG_PTIMER=y
+CONFIG_AN5206=y
+CONFIG_MCF5208=y
diff --git a/hw/m68k/Makefile.objs b/hw/m68k/Makefile.objs
index d1f089c08a..482f8477b4 100644
--- a/hw/m68k/Makefile.objs
+++ b/hw/m68k/Makefile.objs
@@ -1,2 +1,2 @@
-obj-y += an5206.o mcf5208.o
-obj-y += mcf5206.o mcf_intc.o
+obj-$(CONFIG_AN5206) += an5206.o mcf5206.o
+obj-$(CONFIG_MCF5208) += mcf5208.o mcf_intc.o