[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] meson: introduce modules_arch
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH 1/2] meson: introduce modules_arch |
Date: |
Mon, 20 Sep 2021 07:15:32 +0200 |
Hi,
> Yes, I really like your approach, makes more sense indeed. But, how do I
> get the core modules that other modules depend on?
>
> I see that Kconfig already has something in this line:
>
> config VGA (from hw/display)
> bool
>
> config PCI (from hw/pci)
> bool
>
> config QXL (from hw/display)
> bool
> depends on SPICE && PCI
> select VGA
>
> I assume that independent entries (like VGA and PCI) are core and that I
> can rely on it to add
> module_need(PCI)
> module_need(VGA)
> for hw-display-qxl. Am I right?
Yes, looking at kconfig for core dependencies makes sense.
take care,
Gerd
- [PATCH 0/2] modules: Improve modinfo.c architecture support, Jose R. Ziviani, 2021/09/16
- [PATCH 1/2] meson: introduce modules_arch, Jose R. Ziviani, 2021/09/16
- Re: [PATCH 1/2] meson: introduce modules_arch, Gerd Hoffmann, 2021/09/17
- Re: [PATCH 1/2] meson: introduce modules_arch, Jose R. Ziviani, 2021/09/17
- Re: [PATCH 1/2] meson: introduce modules_arch,
Gerd Hoffmann <=
- Re: [PATCH 1/2] meson: introduce modules_arch, Jose R. Ziviani, 2021/09/20
- Re: [PATCH 1/2] meson: introduce modules_arch, Paolo Bonzini, 2021/09/20
- Re: [PATCH 1/2] meson: introduce modules_arch, Jose R. Ziviani, 2021/09/21
- Re: [PATCH 1/2] meson: introduce modules_arch, Paolo Bonzini, 2021/09/23
- Re: [PATCH 1/2] meson: introduce modules_arch, Gerd Hoffmann, 2021/09/21
- Re: [PATCH 1/2] meson: introduce modules_arch, Jose R. Ziviani, 2021/09/21
- Re: [PATCH 1/2] meson: introduce modules_arch, Gerd Hoffmann, 2021/09/21
[PATCH 2/2] modules: use a list of supported arch for each module, Jose R. Ziviani, 2021/09/16