Il 15/06/2012 11:47, Guan Xuetao ha scritto:
> This patch adds unicore32-softmmu build support, include configure,
> makefile, arch_init, and all missing functions needed by softmmu.
> Although all missing functions are empty, unicore32-softmmu could
> be build successfully.
> 
> Signed-off-by: Guan Xuetao <g...@mprc.pku.edu.cn>
> ---
>  Makefile.target                       |    2 +
>  arch_init.c                           |    2 +
>  arch_init.h                           |    1 +
>  configure                             |    1 +
>  default-configs/unicore32-softmmu.mak |    1 +
>  target-unicore32/helper.c             |   25 +++++++++++----------
>  target-unicore32/machine.c            |   23 +++++++++++++++++++
>  target-unicore32/op_helper.c          |   24 +++++++++++++++++++-
>  target-unicore32/softmmu.c            |   39 
> +++++++++++++++++++++++++++++++++
>  9 files changed, 105 insertions(+), 13 deletions(-)
>  create mode 100644 default-configs/unicore32-softmmu.mak
>  create mode 100644 target-unicore32/machine.c
>  create mode 100644 target-unicore32/softmmu.c
> 
> diff --git a/Makefile.target b/Makefile.target
> index 1582904..7d3b1fd 100644
> --- a/Makefile.target
> +++ b/Makefile.target
> @@ -387,6 +387,8 @@ obj-xtensa-y += core-dc232b.o
>  obj-xtensa-y += core-dc233c.o
>  obj-xtensa-y += core-fsf.o
>  
> +obj-unicore32-y += softmmu.o
> +

You need to rebase this and put this line (actually
obj-$(CONFIG_SOFTMMU) += softmmu.o) in target-unicore32/Makefile.objs.

Paolo


Reply via email to