Re: [PATCH] kbuild: fix linker feature test macros when cross compiling with Clang

From: Masahiro Yamada
Date: Sat Oct 28 2017 - 11:00:58 EST


2017-10-28 3:28 GMT+09:00 Nick Desaulniers <ndesaulniers@xxxxxxxxxx>:
> + linux-kbuild@xxxxxxxxxxxxxxx
>
> On Fri, Oct 27, 2017 at 4:20 AM, Masahiro Yamada
> <yamada.masahiro@xxxxxxxxxxxxx> wrote:
>> I do not like to add $(CLANG_TARGET) to a place for common helpers.
>> Instead of $(CLANG_TARGET), please add
>> $(KBUILD_CPPFLAGS) $(CC_OPTION_CFLAGS)
>> to cc-ldoption and ld-option.
>
> Thanks for the review. I agree that sounds like a better option.
>
>> I have two requests next time:
>> - please include linux-kbuild@xxxxxxxxxxxxxxx in your To list
>
> Sure thing. scripts/get_maintainer.pl does not recommend that list for
> this file; is there a way to explicitly add that list to the
> recommendation for that source file?

Ah, I realized MAINTAINERS does not claim the maintainership
of this file.

There are so many misc scripts
in scripts/, so I hesitate to add
scripts/* pattern to MAINTAINERS.




>> - please base your patch on linux-kbuild/kbuild branch
>
> Will do. Do I need to note it's based off that branch? Otherwise wont
> 0-day bot complain that my patch doesn't apply/build on torvalds/linux
> ?

I am not sure in which case the 0-day bot complain about it.

Now, I applied v2.
If the bot find a problem, it will send us a report.


--
Best Regards
Masahiro Yamada