Re: [RFC PATCH] SCSI: split Kconfig menu into two

Sam Ravnborg
2007-09-14T18:59:21Z

Hi Stefan.

Such a patch really calls for some minimal unifacation among
the architectures.

>
> arch/alpha/Kconfig | 2
> arch/arm/Kconfig | 2
> arch/avr32/Kconfig | 2
> arch/blackfin/Kconfig | 2
> arch/cris/Kconfig | 2
> arch/frv/Kconfig | 2
> arch/i386/Kconfig | 2
> arch/ia64/Kconfig | 2
> arch/m32r/Kconfig | 2
> arch/m68k/Kconfig | 2
> arch/m68knommu/Kconfig | 2
> arch/mips/Kconfig | 2
> arch/parisc/Kconfig | 2
> arch/powerpc/Kconfig | 2
> arch/ppc/Kconfig | 2
> arch/s390/Kconfig | 2
> arch/sh/Kconfig | 2
> arch/sh64/Kconfig | 2
> arch/sparc/Kconfig | 2
> arch/sparc64/Kconfig | 2
> arch/um/Kconfig | 2
> arch/v850/Kconfig | 2
> arch/x86_64/Kconfig | 4
> arch/xtensa/Kconfig | 2

Exactly the same change for all architectures.
IT would be good to introduce a common file that contains
some of the shared stuff from the different architectures.
We could start out simple with:

arch/Kconfig.arch:

source "net/Kconfig"
source "drivers/Kconfig"
source "fs/Kconfig"
source "security/Kconfig"
source "crypto/Kconfig"
source "lib/Kconfig"

And then source it in all relevant arch Kconfig files.
It is not all that can use it but most do.
A trivial task but one small step towards unification between
the architectures on the Kconfig level.

Sam