Add CONFIG_POWERPC
PATCH 1/1 Add CONFIG_POWERPC
We don't seem to have a top-level config symbol like other archs do. We have PPC64 and PPC, but I think it'd be cleaner to have just one for cases where we really mean PPC64 and/or PPC.
---
arch/powerpc/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
arch/powerpc/Kconfig +4 -0
@@ -11,6 +11,10 @@ config PPC64 This option selects whether a 32-bit or a 64-bit kernel will be built. +config POWERPC + bool + default y + config PPC32 bool default y if !PPC64
Quoted 3 lines · Michael Ellerman
We don't seem to have a top-level config symbol like other archs do. We have PPC64 and PPC, but I think it'd be cleaner to have just one for cases where we really mean PPC64 and/or PPC.
CONFIG_PPC already means either 32-bit or 64-bit PowerPC (always has done, even before the merge).
Paul.
Quoted 8 lines · Paul Mackerras
Quoted 3 lines · Michael Ellerman
We don't seem to have a top-level config symbol like other archs do. We have PPC64 and PPC, but I think it'd be cleaner to have just one for cases where we really mean PPC64 and/or PPC.
CONFIG_PPCalready means either 32-bit or 64-bit PowerPC (always has done, even before the merge).
Hmm, but won't that also match arch/ppc ?
cheers
Signature · 8 lines
Michael Ellerman IBM OzLabs wwweb: http://michael.ellerman.id.au phone: +61 2 6212 1183 (tie line 70 21183) We do not inherit the earth from our ancestors, we borrow it from our children. - S.M.A.R.T Person