Re: [PATCH 05/15] Platform: OLPC: Move OLPC config symbol out of x86 tree

From: Andy Shevchenko
Date: Fri Oct 19 2018 - 09:09:31 EST


On Wed, Oct 10, 2018 at 8:23 PM Lubomir Rintel <lkundrak@xxxxx> wrote:
>
> There are ARM OLPC machines that use mostly the same drivers, including
> EC infrastructure, DCON and Battery.
>
> While at that, fix Kconfig to allow building this as a module.


> - depends on MOUSE_PS2 && OLPC
> + depends on MOUSE_PS2 && X86 && OLPC


> - depends on OLPC && FB
> + depends on X86 && OLPC && FB

Looking to this I would rather introduce an idiom

depends on OLPC && X86

on the opposite you may do similar for ARM

depends on OLPC && ARM // or ARM64 or whatever it's called

thus, above would look like

depends on MOUSE_PS2
depends on OLPC && X86

and

depends on FB
depends on OLPC && X86

respectively.

--
With Best Regards,
Andy Shevchenko