Re: [PATCH] mn10300: Remove -mmemfuncs from KBUILD_CFLAGS

From: Geert Uytterhoeven
Date: Wed Jun 20 2012 - 05:05:21 EST


On Thu, Mar 15, 2012 at 11:22 PM, Tony Breeds <tony@xxxxxxxxxxxxxxxxxx> wrote:
> It seems the current (gcc 4.6.3) no longer provide this so remove it.
>
> With this patch the mn10300 architecture cross-compiles with gcc-4.6.3
>
> Signed-off-by: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
> ---
> Âarch/mn10300/Makefile | Â Â2 +-
> Â1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/mn10300/Makefile b/arch/mn10300/Makefile
> index 7120282..d6116c5 100644
> --- a/arch/mn10300/Makefile
> +++ b/arch/mn10300/Makefile
> @@ -26,7 +26,7 @@ CHECKFLAGS Â Â+=
> ÂPROCESSOR Â Â Â:= unset
> ÂUNIT Â Â Â Â Â := unset
>
> -KBUILD_CFLAGS Â+= -mam33 -mmem-funcs -DCPU=AM33
> +KBUILD_CFLAGS Â+= -mam33 -DCPU=AM33
> ÂKBUILD_AFLAGS Â+= -mam33 -DCPU=AM33
>
> Âifeq ($(CONFIG_MN10300_CURRENT_IN_E2),y)

Still needed: http://kisskb.ellerman.id.au/kisskb/buildresult/6546343/

Should it use $(call cc-option ...) instead?

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/