[PATCH 0/5] introduce K64BIT=y and backward compatibility ARCH={i386,x86_64} for x86

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff Garzik <jeff@...>, Thomas Gleixner <tglx@...>, Ingo Molnar <mingo@...>, H. Peter Anvin <hpa@...>, LKML <linux-kernel@...>, Linus Torvalds <torvalds@...>
Date: Saturday, November 10, 2007 - 4:40 pm

As discussed in another thread the right thing is to add a generic solution
to select between 32 and 64 bit - useable for powerpc, s390, ppc et al.

First step was to teach kconfig how to force 64BIT to a specific value.
The x86 Kconfig file needed a small twist to use 64BIT as the symbol
to seelct 32 or 64 bit.
Then it was simple to add backward compatibility ARCH= settings.

The patchset is not yet pushed out - I will await a bit feedback first.

Shortlog and diffstat.
      kconfig: factor out code in confdata.c
      kconfig: use $K64BIT to set 64BIT with all*config targets
      x86: Use CONFIG_64BIT to select between 32 and 64 bit in Kconfig
      kconfig: document make K64BIT=y in README
      x86: introduce ARCH=i386,ARCH=x86_64 to select 32/64 bit


 Makefile                    |   16 ++++-
 README                      |    2 +
 arch/x86/Kconfig            |   26 +++-----
 arch/x86/Makefile           |   10 ++-
 scripts/kconfig/Makefile    |    2 +-
 scripts/kconfig/conf.c      |    1 +
 scripts/kconfig/confdata.c  |  146 +++++++++++++++++++++++++++----------------
 scripts/kconfig/lkc_proto.h |    1 +
 8 files changed, 124 insertions(+), 80 deletions(-)

The majority of the diffstat is the code refactoring of confdata.c
The rest is simple changes.

Patches follows...
Patches are on top of the patchset to introduce "make ARCH=x86"

	Sam
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] introduce K64BIT=y and backward compatibility AR..., Sam Ravnborg, (Sat Nov 10, 4:40 pm)
[PATCH] kconfig: factor out code in confdata.c, Sam Ravnborg, (Sat Nov 10, 4:43 pm)
[PATCH 3/3] use environment option, Roman Zippel, (Sun Jan 13, 11:51 pm)
[PATCH 2/3] environment symbol support, Roman Zippel, (Sun Jan 13, 11:50 pm)
[PATCH 1/3] explicitly introduce expression list, Roman Zippel, (Sun Jan 13, 11:50 pm)
Re: [PATCH] kconfig: use $K64BIT to set 64BIT with all*confi..., Guillaume Chazarain, (Sat Nov 10, 4:55 pm)
Re: [PATCH] kconfig: use $K64BIT to set 64BIT with all*confi..., Guillaume Chazarain, (Sun Nov 11, 8:43 am)
Re: [PATCH] kconfig: use $K64BIT to set 64BIT with all*confi..., Guillaume Chazarain, (Sun Nov 11, 10:59 am)
Re: [PATCH] kconfig: use $K64BIT to set 64BIT with all*confi..., Guillaume Chazarain, (Sun Nov 11, 11:55 am)
[PATCH] kconfig: document make K64BIT=y in README, Sam Ravnborg, (Sat Nov 10, 4:43 pm)
Re: [PATCH] kconfig: document make K64BIT=y in README, Randy Dunlap, (Sat Nov 10, 6:23 pm)