aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Zhong <yang.zhong@intel.com>2019-02-02 15:24:54 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-02-05 16:50:21 +0100
commit85e4dcf18d92a43cc260de4331714c8e38d0c79d (patch)
tree7e3afae778984d52b97759d18f7c03246da59f1f
parent4575bbb4c88b5187259d4a7c14c154b0fb80e6be (diff)
downloadqemu-85e4dcf18d92a43cc260de4331714c8e38d0c79d.zip
qemu-85e4dcf18d92a43cc260de4331714c8e38d0c79d.tar.gz
qemu-85e4dcf18d92a43cc260de4331714c8e38d0c79d.tar.bz2
hw/tricore/Makefile.objs: Create CONFIG_* for tricore
Add the new configs to default-configs/tricore-sofmmu.mak. Signed-off-by: Yang Zhong <yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190202072456.6468-26-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--default-configs/tricore-softmmu.mak1
-rw-r--r--hw/tricore/Makefile.objs2
2 files changed, 2 insertions, 1 deletions
diff --git a/default-configs/tricore-softmmu.mak b/default-configs/tricore-softmmu.mak
index e69de29..c397cff 100644
--- a/default-configs/tricore-softmmu.mak
+++ b/default-configs/tricore-softmmu.mak
@@ -0,0 +1 @@
+CONFIG_TRICORE=y
diff --git a/hw/tricore/Makefile.objs b/hw/tricore/Makefile.objs
index 435e095..5501f6c 100644
--- a/hw/tricore/Makefile.objs
+++ b/hw/tricore/Makefile.objs
@@ -1 +1 @@
-obj-y += tricore_testboard.o
+obj-$(CONFIG_TRICORE) += tricore_testboard.o