[RFC PATCH] Make arch/x86/Makefile_{32,64} more similar

2007-11-26 Thread Loic Grenie
This is a patch to improve the similarity between arch/x86/Makefile_32 and arch/x86/Makefile_64. The remaining differences between both makefiles are nearly trivial and it is probably possible to collapse most of them in arch/x86/Makefile, leaving only a few assignements in

[RFC PATCH] Add CONFIG_BITS to remove the test in arch/x86/Makefile

2007-11-26 Thread Loic Grenie
I propose the following patch to arch/x86/Makefile and Kconfig. Actions: - Add a BITS variable to Kconfig which takes value 32 or 64 according to 64BIT. - Modify arch/x86/Makefile to use CONFIG_BITS instead of testing ARCH. How this could be expanded: - Either

[RFC PATCH] Add CONFIG_BITS to remove the test in arch/x86/Makefile

2007-11-26 Thread Loic Grenie
I propose the following patch to arch/x86/Makefile and Kconfig. Actions: - Add a BITS variable to Kconfig which takes value 32 or 64 according to 64BIT. - Modify arch/x86/Makefile to use CONFIG_BITS instead of testing ARCH. How this could be expanded: - Either

[RFC PATCH] Make arch/x86/Makefile_{32,64} more similar

2007-11-26 Thread Loic Grenie
This is a patch to improve the similarity between arch/x86/Makefile_32 and arch/x86/Makefile_64. The remaining differences between both makefiles are nearly trivial and it is probably possible to collapse most of them in arch/x86/Makefile, leaving only a few assignements in