[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCHv2 01/13] unicore32-softmmu: Add unicore32-softmm
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCHv2 01/13] unicore32-softmmu: Add unicore32-softmmu build support |
Date: |
Fri, 15 Jun 2012 09:13:08 -0400 (EDT) |
> >> +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.
>
> Noticed this, too. I wonder if Xuetao could place the new puv3.c
> machine file into hw/unicore32/ now, if he wanted?
> The devices now compiled through hw/Makefile.objs should probably
> remain in hw/? Or is it acceptable to have "unicore32/puv3.o" in
> hw/Makefile.objs with the new build system?
>
> General design question. :)
In my intention, having device model sources in hw/TARGET would be
mostly limited to boards and other special cases like interrupt
controllers.
All other devices should gain a CONFIG_* symbol and be moved to
hw/Makefile.objs, like you did with the Xilinx stuff recently.
Having common-obj-y or hw-obj-y definitions in Makefiles named
according to the target still could make sense for boards/PICs if
you are building your target multiple times (e.g. with different
endianness).
Paolo
- [Qemu-devel] [PATCHv2 00/13] unicore32: add softmmu support and puv3 machine, Guan Xuetao, 2012/06/15
- [Qemu-devel] [PATCHv2 05/13] unicore32-softmmu: Make sure that kernel can access user space, Guan Xuetao, 2012/06/15
- [Qemu-devel] [PATCHv2 09/13] unicore32-softmmu: Add puv3 gpio support, Guan Xuetao, 2012/06/15
- [Qemu-devel] [PATCHv2 10/13] unicore32-softmmu: Add puv3 pm support, Guan Xuetao, 2012/06/15
- [Qemu-devel] [PATCHv2 07/13] unicore32-softmmu: Add puv3 interrupt support, Guan Xuetao, 2012/06/15
- [Qemu-devel] [PATCHv2 13/13] unicore32-softmmu: Add maintainer information for UniCore32 machine, Guan Xuetao, 2012/06/15
- [Qemu-devel] [PATCHv2 11/13] unicore32-softmmu: Add puv3 dma support, Guan Xuetao, 2012/06/15
- [Qemu-devel] [PATCHv2 06/13] unicore32-softmmu: Add puv3 soc/board support, Guan Xuetao, 2012/06/15
- [Qemu-devel] [PATCHv2 12/13] unicore32-softmmu: Add ps2 support, Guan Xuetao, 2012/06/15