From fa83f64855ad4c3b829e3fa2b683fd30c42db4c4 Mon Sep 17 00:00:00 2001 From: Yang Zhong Date: Sat, 2 Feb 2019 15:24:46 +0800 Subject: hw/nios2/Makefile.objs: Conditionally build nios2 CONFIG_NIOS2_10M50 added for 10m50 dev board. Signed-off-by: Yang Zhong Signed-off-by: Paolo Bonzini Reviewed-by: Thomas Huth Message-Id: <20190202072456.6468-18-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini --- hw/nios2/Makefile.objs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/nios2') diff --git a/hw/nios2/Makefile.objs b/hw/nios2/Makefile.objs index 6b5c421..89a419a 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 -- cgit v1.1