[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNARY6AwUHMiM36uyPtgV=NzhouNEjsZNKd-Uv6y1dFV=6g@mail.gmail.com>
Date: Tue, 31 Oct 2017 00:42:49 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Cao jin <caoj.fnst@...fujitsu.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Mark Salter <msalter@...hat.com>,
Aurelien Jacquiot <jacquiot.aurelien@...il.com>,
linux-c6x-dev@...ux-c6x.org
Subject: Re: [PATCH 2/3] c6x/kbuild: replace CFLAGS_MODULE with KBUILD_CFLAGS_MODULE
2017-10-09 16:11 GMT+09:00 Cao jin <caoj.fnst@...fujitsu.com>:
> As kbuild document & commit 6588169d51 says: KBUILD_CFLAGS_MODULE is
> used to add arch-specific options for $(CC). From commandline,
> CFLAGS_MODULE shall be used.
> Doesn't have any functional change, but just follow kbuild rules.
>
> Signed-off-by: Cao jin <caoj.fnst@...fujitsu.com>
> CC: Mark Salter <msalter@...hat.com>
> CC: Aurelien Jacquiot <jacquiot.aurelien@...il.com>
> CC: linux-c6x-dev@...ux-c6x.org
> ---
Applied to linux-kbuild. Thanks!
> arch/c6x/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/c6x/Makefile b/arch/c6x/Makefile
> index 6b0be67..6f6096f 100644
> --- a/arch/c6x/Makefile
> +++ b/arch/c6x/Makefile
> @@ -12,7 +12,7 @@ cflags-y += -mno-dsbt -msdata=none -D__linux__
>
> cflags-$(CONFIG_C6X_BIG_KERNEL) += -mlong-calls
>
> -CFLAGS_MODULE += -mlong-calls -mno-dsbt -msdata=none
> +KBUILD_CFLAGS_MODULE += -mlong-calls -mno-dsbt -msdata=none
>
> CHECKFLAGS +=
>
> --
> 2.1.0
>
>
>
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists