mbox series

[0/6] Kconfig dependencies for MIPS machines (but Malta)

Message ID 20190203220744.11734-1-philmd@redhat.com (mailing list archive)
Headers show
Series Kconfig dependencies for MIPS machines (but Malta) | expand

Message

Philippe Mathieu-Daudé Feb. 3, 2019, 10:07 p.m. UTC
Express the MIPS machine dependencies with Kconfig.

Due to the complexity of the PIIX codebase being shared with
the X86 machines, the Malta board fill follow in a different
series (after some refactor cleanup).

Regards,

Phil.

Based on "Kconfig dependencies for ppc machines" from Thomas
Huth (which is based on Paolo's, which uses Yang Zhong "make
qemu configurable for Kconfig" v1).
Based-on: 1548942810-22942-1-git-send-email-thuth@redhat.com

Philippe Mathieu-Daudé (6):
  mips: Express dependencies of the MIPSsim machine with kconfig
  mips: Express dependencies of the Jazz machine with kconfig
  mips: Express dependencies of the r4k platform with kconfig
  mips: Express dependencies of the Boston machine with kconfig
  hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge
  mips: Express dependencies of the Loongson 2E machine with kconfig

 default-configs/mips-softmmu-common.mak |  4 ---
 default-configs/mips64-softmmu.mak      |  6 ----
 default-configs/mips64el-softmmu.mak    | 14 ---------
 hw/isa/Kconfig                          | 13 +++++---
 hw/mips/Kconfig                         | 40 +++++++++++++++++++++++++
 hw/pci-host/Kconfig                     |  4 +++
 hw/pci-host/Makefile.objs               |  2 +-
 7 files changed, 54 insertions(+), 29 deletions(-)

Comments

Philippe Mathieu-Daudé Feb. 4, 2019, 12:06 a.m. UTC | #1
On Sun, Feb 3, 2019 at 11:07 PM Philippe Mathieu-Daudé
<philmd@redhat.com> wrote:
>
> Express the MIPS machine dependencies with Kconfig.

I forgot this serie misses a rule such "depends of MIPS64".
Asked here: https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg00064.html
Thomas Huth Feb. 4, 2019, 9:51 a.m. UTC | #2
On 2019-02-04 01:06, Philippe Mathieu-Daudé wrote:
> On Sun, Feb 3, 2019 at 11:07 PM Philippe Mathieu-Daudé
> <philmd@redhat.com> wrote:
>>
>> Express the MIPS machine dependencies with Kconfig.
> 
> I forgot this serie misses a rule such "depends of MIPS64".
> Asked here: https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg00064.html

I guess the easiest solution is to simply set a CONFIG_MIPS64=y in the
default-configs/mips64*softmmu* files.

 Thomas
Paolo Bonzini Feb. 4, 2019, 11:19 a.m. UTC | #3
On 04/02/19 10:51, Thomas Huth wrote:
> On 2019-02-04 01:06, Philippe Mathieu-Daudé wrote:
>> On Sun, Feb 3, 2019 at 11:07 PM Philippe Mathieu-Daudé
>> <philmd@redhat.com> wrote:
>>>
>>> Express the MIPS machine dependencies with Kconfig.
>>
>> I forgot this serie misses a rule such "depends of MIPS64".
>> Asked here: https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg00064.html
> 
> I guess the easiest solution is to simply set a CONFIG_MIPS64=y in the
> default-configs/mips64*softmmu* files.

Or just do not specify the machine in the mips64*softmmu.mak files.  If
you add CONFIG_Q35=y to ARM, Kconfig doesn't complain.

Another possibility is to move those machines to hw/mips64, similar to
hw/sparc64.

Paolo