From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752734AbdJ0S2x (ORCPT ); Fri, 27 Oct 2017 14:28:53 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:44837 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752696AbdJ0S2q (ORCPT ); Fri, 27 Oct 2017 14:28:46 -0400 X-Google-Smtp-Source: ABhQp+QLCiFxWHHzEkF2clnk5/vgvPlWsBGQCN9NczGy9LGcBtJSzCBBu2xP0Q5b/gtlAEkpGLcWUcO4TJy8EVkQeO4= MIME-Version: 1.0 In-Reply-To: References: <20171026201744.89744-1-ndesaulniers@google.com> From: Nick Desaulniers Date: Fri, 27 Oct 2017 11:28:43 -0700 Message-ID: Subject: Re: [PATCH] kbuild: fix linker feature test macros when cross compiling with Clang To: Masahiro Yamada , linux-kbuild@vger.kernel.org Cc: Michael Davidson , Greg Hackmann , Pirama Arumuga Nainar , Ingo Molnar , Matthias Kaehlcke , Arnd Bergmann , Mark Charlebois , Cao jin , Marcin Nowakowski , Josh Poimboeuf , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + linux-kbuild@vger.kernel.org On Fri, Oct 27, 2017 at 4:20 AM, Masahiro Yamada 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@vger.kernel.org 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? > - 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 ?