Re: [PATCH 1/3] kbuild: allow assignment to {A,C,LD}FLAGS_MODULE onthe command line

From: Haavard Skinnemoen
Date: Thu Jul 29 2010 - 05:26:46 EST


Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
> diff --git a/arch/avr32/Makefile b/arch/avr32/Makefile
> index ead8a75..22fb665 100644
> --- a/arch/avr32/Makefile
> +++ b/arch/avr32/Makefile
> @@ -13,7 +13,7 @@ KBUILD_DEFCONFIG := atstk1002_defconfig
>
> KBUILD_CFLAGS += -pipe -fno-builtin -mno-pic
> KBUILD_AFLAGS += -mrelax -mno-pic
> -CFLAGS_MODULE += -mno-relax
> +KBUILD_CFLAGS_MODULE += -mno-relax
> LDFLAGS_vmlinux += --relax
>
> cpuflags-$(CONFIG_PLATFORM_AT32AP) += -march=ap

Acked-by: Haavard Skinnemoen <haavard.skinnemoen@xxxxxxxxx>
--
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/