[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 kernel

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 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 store this

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 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 that behavior

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 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. >>

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 > 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 architect

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

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

2013-08-22 Thread Geert Uytterhoeven
On Wed, Aug 21, 2013 at 9:51 PM, Sam Ravnborg 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? >> >> This does remove functionality. >> It allows to build a kernel usi

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

2013-08-22 Thread Rob Landley
On 08/22/2013 07:58:26 AM, Geert Uytterhoeven wrote: > On Wed, Aug 21, 2013 at 9:51 PM, Sam Ravnborg > 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? > >

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

2013-08-22 Thread David Daney
On 08/22/2013 01:41 PM, Rob Landley wrote: > On 08/22/2013 07:58:26 AM, Geert Uytterhoeven wrote: >> On Wed, Aug 21, 2013 at 9:51 PM, Sam Ravnborg wrote: >> >> > The series touches also m68k, sh, mips and unicore32. >> >> > These architectures magically select a cross compiler if ARCH != >> SUBARC

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

2013-08-22 Thread Rob Landley
On 08/22/2013 03:55:20 PM, David Daney wrote: > On 08/22/2013 01:41 PM, Rob Landley wrote: >> On 08/22/2013 07:58:26 AM, Geert Uytterhoeven wrote: >>> On Wed, Aug 21, 2013 at 9:51 PM, Sam Ravnborg >>> wrote: >>> >> > The series touches also m68k, sh, mips and unicore32. >>> >> > These architectu