public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
[parent not found: <52167AB8.4060206@gmail.com>]
* [RFC] Get rid of SUBARCH
@ 2013-08-21  8:19 Richard Weinberger
  0 siblings, 0 replies; 42+ messages in thread
From: Richard Weinberger @ 2013-08-21  8:19 UTC (permalink / raw)
  To: linux-arch
  Cc: mmarek, geert, ralf, lethal, jdike, gxt, tglx, mingo, hpa, x86,
	linux-kbuild, linux-kernel, linux-m68k, linux-mips, linux-sh,
	user-mode-linux-devel

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 for x86, and x86_64_defconfig
for x86_64. There is no need to specify SUBARCH.
With this patchset applied you can build UML always with "make linux ARCH=um"
and it will produce the an image for the architecture specified in your .config.
Currenlty "make linux ARCH=um" will alter your .config to match the detected SUBARCH
whith sucks and causes problems on automated build systems.

The series touches also m68k, sh, mips and unicore32.
These architectures magically select a cross compiler if ARCH != SUBARCH.
Do really need that behavior?

[PATCH 1/8] um: Create defconfigs for i386 and x86_64
[PATCH 2/8] um: Do not use SUBARCH
[PATCH 3/8] um: Remove old defconfig
[PATCH 4/8] m68k: Do not use SUBARCH
[PATCH 5/8] sh: Do not use SUBARCH
[PATCH 6/8] mips: Do not use SUBARCH
[PATCH 7/8] unicore32: Do not use SUBARCH
[PATCH 8/8] Makefile: Remove SUBARCH

Thanks,
//richard

^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2013-09-27  9:26 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1377073172-3662-1-git-send-email-richard@nod.at>
2013-08-21  8:19 ` [PATCH 1/8] um: Create defconfigs for i386 and x86_64 Richard Weinberger
2013-08-21  8:19 ` [PATCH 2/8] um: Do not use SUBARCH Richard Weinberger
2013-08-21  8:19 ` [PATCH 3/8] um: Remove old defconfig Richard Weinberger
2013-08-21  8:19 ` [PATCH 4/8] m68k: Do not use SUBARCH Richard Weinberger
2013-08-21  8:19 ` [PATCH 5/8] sh: " Richard Weinberger
2013-08-21  8:19 ` [PATCH 6/8] mips: " Richard Weinberger
2013-08-21  8:19 ` [PATCH 7/8] unicore32: " Richard Weinberger
2013-08-21  8:19 ` [PATCH 8/8] Makefile: Remove SUBARCH Richard Weinberger
2013-08-21 12:07 ` [RFC] Get rid of SUBARCH Geert Uytterhoeven
2013-08-21 12:53 ` Thorsten Glaser
     [not found] ` <alpine.DEB.2.10.1308211452260.31430@tglase.lan.tarent.de>
2013-08-21 12:58   ` H. Peter Anvin
     [not found] ` <CAMuHMdWk-EPTNmPB1O1+F7YVQLjhQsFJznYwA3t6UCGUU1T9PQ@mail.gmail.com>
2013-08-21 12:16   ` Richard Weinberger
2013-08-21 17:25   ` Rob Landley
2013-08-21 19:51   ` Sam Ravnborg
     [not found]   ` <20130821195157.GA18191@merkur.ravnborg.org>
2013-08-22 12:42     ` Thorsten Glaser
2013-08-22 12:58     ` Geert Uytterhoeven
2013-08-22 20:41       ` Rob Landley
     [not found]       ` <1377204069.2737.108@driftwood>
2013-08-22 20:55         ` David Daney
     [not found] ` <1377073172-3662-2-git-send-email-richard@nod.at>
2013-08-22  4:55   ` [PATCH 1/8] um: Create defconfigs for i386 and x86_64 Stephen Rothwell
2013-09-26 10:20   ` Ramkumar Ramachandra
     [not found]   ` <CALkWK0=W38JpZoGVkPYD4qd=+Pt1G7oYPEK_R=c8TAW6W=wxyg@mail.gmail.com>
2013-09-26 10:35     ` Richard Weinberger
     [not found]     ` <52440DE0.1030807@nod.at>
2013-09-26 11:57       ` Ramkumar Ramachandra
2013-09-26 12:04         ` Richard Weinberger
2013-09-27  9:22       ` Toralf Förster
     [not found]       ` <52454E58.3010305@gmx.de>
2013-09-27  9:26         ` Richard Weinberger
     [not found] ` <1377073172-3662-3-git-send-email-richard@nod.at>
2013-09-26 10:40   ` [PATCH 2/8] um: Do not use SUBARCH Ramkumar Ramachandra
     [not found]   ` <CALkWK0kCrQ9hPABD_XQ9QFG-vByP+xZWZs+RkVK77+cX7Odz7g@mail.gmail.com>
2013-09-26 10:44     ` Richard Weinberger
     [not found]     ` <52441025.9030308@nod.at>
2013-09-26 10:53       ` Ramkumar Ramachandra
     [not found]       ` <CALkWK0k5neR50h+AWEF5AgnpbgWMitZUnbv_caVzt6HiUA6mXg@mail.gmail.com>
2013-09-26 11:01         ` Richard Weinberger
     [not found]         ` <52441407.9010603@nod.at>
2013-09-26 11:43           ` Ramkumar Ramachandra
2013-09-26 11:56             ` Richard Weinberger
2013-09-26 12:00               ` Ramkumar Ramachandra
     [not found]               ` <CALkWK0nm=9n7DiV0MaGKVLMs=vxAiiQUx=OFuOg-DinkdMej5A@mail.gmail.com>
2013-09-26 13:13                 ` Ramkumar Ramachandra
     [not found]                 ` <CALkWK0ndMtyQxE0uK4H-Ly6oy+tRn-SFc=_1WoC2QAp2uy0dtw@mail.gmail.com>
2013-09-26 13:26                   ` Geert Uytterhoeven
     [not found]                   ` <CAMuHMdU3LdDhbp_AKjD7b8Wytbqfp29DrPwTdtwQa2hUNdcy3Q@mail.gmail.com>
2013-09-26 13:57                     ` Ramkumar Ramachandra
2013-09-26 14:24                     ` Richard Weinberger
2013-09-26 14:36                       ` Ramkumar Ramachandra
     [not found]                       ` <CALkWK0kcd03t9W4O24wiVBQ8SZQ8ZcrbvQaUkcCm+y5n=d1wPw@mail.gmail.com>
2013-09-26 15:04                         ` Richard Weinberger
     [not found]                         ` <52444CED.40401@nod.at>
2013-09-26 16:06                           ` Ramkumar Ramachandra
     [not found]                           ` <CALkWK0=u8CdtmbaOtA5=jxuWsei2ZQhxDwSsnhAR=ZRBNyoH6Q@mail.gmail.com>
2013-09-26 17:10                             ` Richard Weinberger
     [not found] <52167AB8.4060206@gmail.com>
2013-08-22 21:32 ` [RFC] Get rid of SUBARCH Rob Landley
2013-08-21  8:19 Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox