From: Yang Zhong Date: Sat, 2 Feb 2019 07:24:52 +0000 (+0800) Subject: hw/moxie/Makefile.objs: Conditionally build moxie X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f0975e8f2098f04a6b3e7480a8d2dc072bb01bf9;p=qemu.git hw/moxie/Makefile.objs: Conditionally build moxie CONFIG_MOXIE added for moxiesim board. Signed-off-by: Yang Zhong Signed-off-by: Paolo Bonzini Reviewed-by: Thomas Huth Message-Id: <20190202072456.6468-24-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini --- diff --git a/default-configs/moxie-softmmu.mak b/default-configs/moxie-softmmu.mak index e00d099994..17ba906dc2 100644 --- a/default-configs/moxie-softmmu.mak +++ b/default-configs/moxie-softmmu.mak @@ -5,3 +5,4 @@ CONFIG_MC146818RTC=y CONFIG_SERIAL=y CONFIG_SERIAL_ISA=y CONFIG_VGA=y +CONFIG_MOXIESIM=y diff --git a/hw/moxie/Makefile.objs b/hw/moxie/Makefile.objs index bfc90012fd..ddbf300f54 100644 --- a/hw/moxie/Makefile.objs +++ b/hw/moxie/Makefile.objs @@ -1,2 +1,2 @@ # moxie boards -obj-y += moxiesim.o +obj-$(CONFIG_MOXIESIM) += moxiesim.o