From: Yang Zhong Date: Sat, 2 Feb 2019 07:24:53 +0000 (+0800) Subject: hw/openrisc/Makefile.objs: Create CONFIG_* for openrisc X-Git-Tag: v4.0.0-rc0~114^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4575bbb4c88b5187259d4a7c14c154b0fb80e6be;p=thirdparty%2Fqemu.git hw/openrisc/Makefile.objs: Create CONFIG_* for openrisc Add the new configs to default-configs/or1k-sofmmu.mak. Signed-off-by: Yang Zhong Signed-off-by: Paolo Bonzini Reviewed-by: Thomas Huth Message-Id: <20190202072456.6468-25-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini --- diff --git a/default-configs/or1k-softmmu.mak b/default-configs/or1k-softmmu.mak index 6f5824fd488..6a0f2ef6cf6 100644 --- a/default-configs/or1k-softmmu.mak +++ b/default-configs/or1k-softmmu.mak @@ -3,3 +3,4 @@ CONFIG_SERIAL=y CONFIG_OPENCORES_ETH=y CONFIG_OMPIC=y +CONFIG_OR1K_SIM=y diff --git a/hw/openrisc/Makefile.objs b/hw/openrisc/Makefile.objs index 61246b149b7..aa04de7f5a6 100644 --- a/hw/openrisc/Makefile.objs +++ b/hw/openrisc/Makefile.objs @@ -1,2 +1,2 @@ obj-y = pic_cpu.o cputimer.o -obj-y += openrisc_sim.o +obj-$(CONFIG_OR1K_SIM) += openrisc_sim.o