Re: [PATCH] MIPS: Only include the platform file needed

From: Thomas Bogendoerfer
Date: Wed May 13 2020 - 07:21:28 EST


On Sun, May 10, 2020 at 01:01:47AM +0200, Thomas Bogendoerfer wrote:
> Instead of including all Platform files, we simply include the
> needed one and avoid clashes with makefile variables.
>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
> ---
> arch/mips/Kbuild.platforms | 73 +++++++++++++++++++++-------------------
> arch/mips/alchemy/Platform | 3 --
> arch/mips/ar7/Platform | 1 -
> arch/mips/ath25/Platform | 1 -
> arch/mips/ath79/Platform | 1 -
> arch/mips/bcm47xx/Platform | 1 -
> arch/mips/bcm63xx/Platform | 1 -
> arch/mips/bmips/Platform | 1 -
> arch/mips/cavium-octeon/Platform | 1 -
> arch/mips/cobalt/Platform | 1 -
> arch/mips/dec/Platform | 1 -
> arch/mips/generic/Platform | 1 -
> arch/mips/jazz/Platform | 1 -
> arch/mips/jz4740/Platform | 1 -
> arch/mips/lantiq/Platform | 1 -
> arch/mips/loongson2ef/Platform | 1 -
> arch/mips/loongson32/Platform | 1 -
> arch/mips/loongson64/Platform | 1 -
> arch/mips/mti-malta/Platform | 1 -
> arch/mips/netlogic/Platform | 1 -
> arch/mips/paravirt/Platform | 1 -
> arch/mips/pic32/Platform | 1 -
> arch/mips/pistachio/Platform | 1 -
> arch/mips/pnx833x/Platform | 1 -
> arch/mips/rb532/Platform | 1 -
> arch/mips/sgi-ip22/Platform | 2 --
> arch/mips/sgi-ip27/Platform | 3 --
> arch/mips/sgi-ip30/Platform | 3 --
> arch/mips/sgi-ip32/Platform | 1 -
> arch/mips/sibyte/Platform | 4 ---
> arch/mips/sni/Platform | 1 -
> arch/mips/txx9/Platform | 3 --
> 32 files changed, 39 insertions(+), 77 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]