Thread (38 messages) 38 messages, 8 authors, 2013-09-27

Re: [RFC] Get rid of SUBARCH

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2013-08-22 12:58:31
Also in: linux-kbuild, linux-m68k, linux-mips, linux-sh, linux-um, lkml

On Wed, Aug 21, 2013 at 9:51 PM, Sam Ravnborg [off-list ref] wrote:
quoted
quoted
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 code? Most (not all!) cross-toolchains
are called $ARCH-{unknown-,}linux{,-gnu}.
Exceptions are e.g. am33_2.0-linux and bfin-uclinux.
Today you can specify CROSS_COMPILE in Kconfig.
With this we should be able to remove these hacks.
The correct CROSS_COMPILE value depends on the host environment, not
on the target configuration.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help