Re: [PATCH] m68k: Use cc-cross-prefix (was: Re: [GI:wqT PULL] kbuildupdates - second round)

From: Geert Uytterhoeven
Date: Mon Oct 22 2007 - 03:16:53 EST


On Mon, 22 Oct 2007, KolbjÃrn Barmen wrote:
> On Sun, 21 Oct 2007, Geert Uytterhoeven wrote:
> > +ifneq ($(SUB_ARCH),$(ARCH))
> > + ifeq ($(CROSS_COMPILE),)
> > + CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
>
> I've not paid much attention to discussion over this (I tend to build
> natively, less stress :) ), so pardon my ignorance. Does the above make
> any difference for me when I use CROSS_COMPILE=m68k-unknown-linux-gnu-,
> or does it just detect m68k-linux-gnu- and m68k-linux-?

No, it makes no difference if you explicitly pass
CROSS_COMPILE=m68k-unknown-linux-gnu-.

If you want, we can add m68k-unknown-linux-gnu- to the list in
arch/m68k/Makefile, so it cab be autodetected.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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