Re: kbuild: do not pass $(KBUILD_CFLAGS) to scripts/mkcompile_h
From: Masahiro Yamada
Date: Tue Apr 07 2020 - 14:56:48 EST
Hi Sedat,
On Mon, Apr 6, 2020 at 7:01 PM Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote:
>
> [ Please CC me I am not subscribed to this mailing-list ]
>
> Hi,
>
> I think with your patch in [1] line #56 can go away, too?
>
> [ scripts/mkcompile_h ]
>
> 53 # Generate a temporary compile.h
> 54
> 55 { echo /\* This file is auto generated, version $VERSION \*/
> 56 if [ -n "$CONFIG_FLAGS" ] ; then echo "/* $CONFIG_FLAGS */"; fi
I think the this inserts a comment line
to make sure compile.h is updated
when any of CONFIG_SMP, CONFIG_PREEMPT, CONFIG_PREEMPT_RT
is changed.
So, this is unrelated to my patch at least.
> Thanks.
>
> Regards,
> - Sedat -
>
> [1] https://patchwork.kernel.org/patch/11473667/
--
Best Regards
Masahiro Yamada