summaryrefslogtreecommitdiffstats
path: root/hw/nios2
diff options
context:
space:
mode:
authorYang Zhong2019-02-02 08:24:46 +0100
committerPaolo Bonzini2019-02-05 16:50:20 +0100
commitfa83f64855ad4c3b829e3fa2b683fd30c42db4c4 (patch)
tree7ed310885ec0e38763dfd03c875db3525a16f06e /hw/nios2
parenthw/xtensa/Makefile.objs: Build xtensa_sim and xtensa_fpga conditionally (diff)
downloadqemu-fa83f64855ad4c3b829e3fa2b683fd30c42db4c4.tar.gz
qemu-fa83f64855ad4c3b829e3fa2b683fd30c42db4c4.tar.xz
qemu-fa83f64855ad4c3b829e3fa2b683fd30c42db4c4.zip
hw/nios2/Makefile.objs: Conditionally build nios2
CONFIG_NIOS2_10M50 added for 10m50 dev board. 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-18-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/nios2')
-rw-r--r--hw/nios2/Makefile.objs3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/nios2/Makefile.objs b/hw/nios2/Makefile.objs
index 6b5c421760..89a419a9f5 100644
--- a/hw/nios2/Makefile.objs
+++ b/hw/nios2/Makefile.objs
@@ -1 +1,2 @@
-obj-y = boot.o cpu_pic.o 10m50_devboard.o
+obj-y = boot.o cpu_pic.o
+obj-$(CONFIG_NIOS2_10M50) += 10m50_devboard.o