On 2019-01-15 15:10, Yang Zhong wrote: > From: Ákos Kovács <akoskov...@gmx.com> > > CONFIG_LEON3 added to default-configs/sparc-softmmu.mak. > > Signed-off-by: Ákos Kovács <akoskov...@gmx.com> > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > default-configs/sparc-softmmu.mak | 2 ++ > hw/sparc/Makefile.objs | 4 +++- > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/default-configs/sparc-softmmu.mak > b/default-configs/sparc-softmmu.mak > index 12f97eeb20..59a4a3d693 100644 > --- a/default-configs/sparc-softmmu.mak > +++ b/default-configs/sparc-softmmu.mak > @@ -18,4 +18,6 @@ CONFIG_CS4231=y > CONFIG_GRLIB=y > CONFIG_STP2000=y > CONFIG_ECCMEMCTL=y > + > CONFIG_SUN4M=y > +CONFIG_LEON3=y > diff --git a/hw/sparc/Makefile.objs b/hw/sparc/Makefile.objs > index e2d0828c39..d57e33f83e 100644 > --- a/hw/sparc/Makefile.objs > +++ b/hw/sparc/Makefile.objs > @@ -1 +1,3 @@ > -obj-y += sun4m_iommu.o sun4m.o leon3.o > +obj-$(CONFIG_SUN4M) += sun4m_iommu.o > +obj-$(CONFIG_SUN4M) += sun4m.o > +obj-$(CONFIG_LEON3) += leon3.o >
Reviewed-by: Thomas Huth <th...@redhat.com>