[uml-devel] [PATCH 7/8] unicore32: Do not use SUBARCH

2013-08-21 Thread Richard Weinberger
Forces the user to specify CROSS_COMPILE at compile time instead of automatically selecting more or less randomly a cross compiler Signed-off-by: Richard Weinberger rich...@nod.at --- arch/unicore32/Makefile | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/unicore32/Makefile

Re: [uml-devel] [RFC] Get rid of SUBARCH

2013-08-21 Thread Geert Uytterhoeven
On Wed, Aug 21, 2013 at 10:19 AM, Richard Weinberger rich...@nod.at wrote: This series is an attempt to remove the SUBARCH make parameter. It as introduced at the times of Linux 2.5 for UML to tell the UML build system what the real architecture is. But we actually don't need SUBARCH, we can

Re: [uml-devel] [RFC] Get rid of SUBARCH

2013-08-21 Thread H. Peter Anvin
If ARCH doesn't match uname for some definition of match? Thorsten Glaser t.gla...@tarent.de wrote: On Wed, 21 Aug 2013, Richard Weinberger wrote: The series touches also m68k, sh, mips and unicore32. These architectures magically select a cross compiler if ARCH != SUBARCH. Do really need

[uml-devel] [PATCH 3/8] um: Remove old defconfig

2013-08-21 Thread Richard Weinberger
The old unified defconfig is no longer needed. Signed-off-by: Richard Weinberger rich...@nod.at --- arch/um/defconfig | 901 -- 1 file changed, 901 deletions(-) delete mode 100644 arch/um/defconfig diff --git a/arch/um/defconfig

[uml-devel] [PATCH 2/8] um: Do not use SUBARCH

2013-08-21 Thread Richard Weinberger
From now on UML does no longer depend on SUBARCH and will never silently change CONFIG_64BIT. make defconfig ARCH=um produces now a .config with is suitable for your host arch. make i386_defconfig ARCH=um replaces make defconfig ARCH=um SUBARCH=i386 and make x86_64_defconfig ARCH=um replaces

[uml-devel] [RFC] Get rid of SUBARCH

2013-08-21 Thread Richard Weinberger
This series is an attempt to remove the SUBARCH make parameter. It as introduced at the times of Linux 2.5 for UML to tell the UML build system what the real architecture is. But we actually don't need SUBARCH, we can store this information in the .config file. i386_defconfig will produce a

[uml-devel] [PATCH 4/8] m68k: Do not use SUBARCH

2013-08-21 Thread Richard Weinberger
Forces the user to specify CROSS_COMPILE at compile time instead of automatically selecting more or less randomly a cross compiler. Signed-off-by: Richard Weinberger rich...@nod.at --- arch/m68k/Makefile | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/m68k/Makefile

Re: [uml-devel] [RFC] Get rid of SUBARCH

2013-08-21 Thread Thorsten Glaser
On Wed, 21 Aug 2013, Richard Weinberger wrote: The series touches also m68k, sh, mips and unicore32. These architectures magically select a cross compiler if ARCH != SUBARCH. Do really need that behavior? Not precisely that, but it’s very common in m68k land to just cross-build kernels with

Re: [uml-devel] [RFC] Get rid of SUBARCH

2013-08-21 Thread Richard Weinberger
Am 21.08.2013 14:07, schrieb Geert Uytterhoeven: On Wed, Aug 21, 2013 at 10:19 AM, Richard Weinberger rich...@nod.at wrote: This series is an attempt to remove the SUBARCH make parameter. It as introduced at the times of Linux 2.5 for UML to tell the UML build system what the real architecture

[uml-devel] [PATCH 1/8] um: Create defconfigs for i386 and x86_64

2013-08-21 Thread Richard Weinberger
Instead of having one defconfig for both i386 and x86_64 we have now two. This is the first step to get rid of SUBARCH. This patch is based on: https://lkml.org/lkml/2013/7/4/396 Cc: Ramkumar Ramachandra artag...@gmail.com Signed-off-by: Richard Weinberger rich...@nod.at ---

[uml-devel] [PATCH 6/8] mips: Do not use SUBARCH

2013-08-21 Thread Richard Weinberger
Forces the user to specify CROSS_COMPILE at compile time instead of automatically selecting more or less randomly a cross compiler. Signed-off-by: Richard Weinberger rich...@nod.at --- arch/mips/Makefile | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/mips/Makefile

[uml-devel] [PATCH 5/8] sh: Do not use SUBARCH

2013-08-21 Thread Richard Weinberger
Forces the user to specify CROSS_COMPILE at compile time instead of automatically selecting more or less randomly a cross compiler. Signed-off-by: Richard Weinberger rich...@nod.at --- arch/sh/Makefile | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/sh/Makefile b/arch/sh/Makefile

[uml-devel] [PATCH 8/8] Makefile: Remove SUBARCH

2013-08-21 Thread Richard Weinberger
As all users of SUBARCH have been removed we can finally get rid of it. Signed-off-by: Richard Weinberger rich...@nod.at --- Makefile | 15 +++ arch/um/Makefile | 2 +- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index a5a55f4..48bd8fe

Re: [uml-devel] [RFC] Get rid of SUBARCH

2013-08-21 Thread Rob Landley
On 08/21/2013 07:07:33 AM, Geert Uytterhoeven wrote: On Wed, Aug 21, 2013 at 10:19 AM, Richard Weinberger rich...@nod.at wrote: This series is an attempt to remove the SUBARCH make parameter. It as introduced at the times of Linux 2.5 for UML to tell the UML build system what the real

Re: [uml-devel] [RFC] Get rid of SUBARCH

2013-08-21 Thread Sam Ravnborg
The series touches also m68k, sh, mips and unicore32. These architectures magically select a cross compiler if ARCH != SUBARCH. Do really need that behavior? This does remove functionality. It allows to build a kernel using e.g. make ARCH=m68k. Perhaps this can be moved to generic