Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1845633imm; Thu, 12 Jul 2018 08:44:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfeveQwswgISw2lZiuyy9tL6W80EIYhY518MEHhZOXtMwrwR1TtrwL0LhJWQr0UNBpyWyPD X-Received: by 2002:a17:902:42c3:: with SMTP id h61-v6mr2663061pld.319.1531410293648; Thu, 12 Jul 2018 08:44:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531410293; cv=none; d=google.com; s=arc-20160816; b=AFmkMVxvAQ7n18qeVu9p/9z5KhEyTgKWKDtte28BSxmbLt2TiOcLOy15lSq6/nhwKW a+4JQDzfvsoNE9EPqeFT3Lcj2ntWZ5CY+wE/2KU1qGfB3cG3diTY5HbC6TeRwMUQYc+i lSOfS6tqb75ulHiFTGUjxTXYCFV2/7YAsWdkL3Pgh4ywOzRRFFw5ngp447GWlRN4EIiq 2W0ZHNOSX106JEmmypiPePayEqd2KgFMVtVvXdzXQp0Br35D/QrEhSKMMVWF2nkQFGMX 4BIoNuvSi6G9JfMQezfselS9QSIUW7KPTbHbFACubj/hvm2jOZihbp1oDzC1M17/y24T LzhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=vuZvCl4bHLyz/pmSk+Hi8DvmA+NHdtowAQSAR0oIK50=; b=jaQLxiz6efp59iD619xftBKVBPh40dWXThsF4OnVxZWW50aMwlCsXs3q1RUYBH5hN7 2cRJeD2nbpFCFzGr3S09CZQpgnQH7WwH3OCa9kPitWw9ls6po8nr25OQv+KkHtONmyor ZttQcpyiL1Gkcu8HooZofmk3y357vZCfLYYrqkyfHmqOVhl3g8KJBejHVA7kKC8C406c 7K8AWNIjGB3F20LGmq37B6TISQ89jUyvqG8QbZ7m5kfjYRWVV8mVejZAyBNzIZDaxrQL bDgKJNpO3ZuefFx6GHgaMbf0uRppLAoZ/DCKWRIaD2efHaUjJZn6QRahLKV9sNoZoVLX 8Z+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=R5CIKaXY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r39-v6si21967347pld.83.2018.07.12.08.44.33; Thu, 12 Jul 2018 08:44:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=R5CIKaXY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732384AbeGLPxS (ORCPT + 99 others); Thu, 12 Jul 2018 11:53:18 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:62709 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726703AbeGLPxS (ORCPT ); Thu, 12 Jul 2018 11:53:18 -0400 Received: from mail-vk0-f41.google.com (mail-vk0-f41.google.com [209.85.213.41]) (authenticated) by conssluserg-03.nifty.com with ESMTP id w6CFh9eo031714; Fri, 13 Jul 2018 00:43:09 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com w6CFh9eo031714 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1531410190; bh=vuZvCl4bHLyz/pmSk+Hi8DvmA+NHdtowAQSAR0oIK50=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=R5CIKaXYv2ENUUBZiooof4LzpWqSm1V2ViWsE5WHnlt5rfB0IzsX/FSHa5YvEzGGS PVKSS2sVHFof6OaFty9ZjEYghKqU6ROROxMmTW4JBzOyjFQz2FzTfTB8FLB0rKJ99O i/Eg2Ii638U0z9UInHnN/k0uCkNiP9YteIMn0lNysyzY+J1AmzX1vxD0209PanVpyA ZRRJeB+lWtnoqPVlz2EewuBElOqYDE9Ivy0+Qs/pq7zdeaN1O/OYSBJK32VbDaBayA xeuQTTHBJZJvI1/1JYznCejFO2YGaT7qWUc1RPjUcsVmbQwvrSkqWBIHACeSh7hbkl s8Ft4oQ+1ubVw== X-Nifty-SrcIP: [209.85.213.41] Received: by mail-vk0-f41.google.com with SMTP id b77-v6so16583507vkb.5; Thu, 12 Jul 2018 08:43:09 -0700 (PDT) X-Gm-Message-State: AOUpUlF87ZK4GgJzbddRHNV5og3XH6j5GGRQfmrPAkmRgzWE+zK9j9lg lbQYPmqrb/spCPSrWWGKkLL4M4049U682VbWLEw= X-Received: by 2002:a1f:2348:: with SMTP id j69-v6mr1531265vkj.160.1531410188622; Thu, 12 Jul 2018 08:43:08 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:3308:0:0:0:0:0 with HTTP; Thu, 12 Jul 2018 08:42:28 -0700 (PDT) In-Reply-To: <20180710073833.GA7671@krava> References: <20180710004602.21599-1-labbott@redhat.com> <20180710004602.21599-2-labbott@redhat.com> <20180710073833.GA7671@krava> From: Masahiro Yamada Date: Fri, 13 Jul 2018 00:42:28 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCHv2 1/7] tools: build: Fixup host c flags To: Jiri Olsa Cc: Laura Abbott , Josh Poimboeuf , Jiri Olsa , Linux Kbuild mailing list , Linux Kernel Mailing List , Robin Jarry , Andi Kleen , Arnaldo Carvalho de Melo , Madhavan Srinivasan , Peter Zijlstra , Sukadev Bhattiprolu Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-07-10 16:38 GMT+09:00 Jiri Olsa : > On Mon, Jul 09, 2018 at 05:45:56PM -0700, Laura Abbott wrote: >> Commit 0c3b7e42616f ("tools build: Add support for host programs format") >> introduced host_c_flags which referenced CHOSTFLAGS. The actual name of the >> variable is HOSTCFLAGS. Fix this up. >> >> Fixes: 0c3b7e42616f ("tools build: Add support for host programs format") >> Signed-off-by: Laura Abbott >> --- >> v2: Also fixed another instance in perf pmu-events. > > Acked-by: Jiri Olsa > > cc-ing more folks, that were in initial patch for heads up > > thanks, > jirka > Applied to linux-kbuild/fixes. Thanks! > >> --- >> tools/build/Build.include | 2 +- >> tools/perf/pmu-events/Build | 2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/tools/build/Build.include b/tools/build/Build.include >> index a4bbb984941d..b5c679cd441c 100644 >> --- a/tools/build/Build.include >> +++ b/tools/build/Build.include >> @@ -98,4 +98,4 @@ cxx_flags = -Wp,-MD,$(depfile) -Wp,-MT,$@ $(CXXFLAGS) -D"BUILD_STR(s)=\#s" $(CXX >> ### >> ## HOSTCC C flags >> >> -host_c_flags = -Wp,-MD,$(depfile) -Wp,-MT,$@ $(CHOSTFLAGS) -D"BUILD_STR(s)=\#s" $(CHOSTFLAGS_$(basetarget).o) $(CHOSTFLAGS_$(obj)) >> +host_c_flags = -Wp,-MD,$(depfile) -Wp,-MT,$@ $(HOSTCFLAGS) -D"BUILD_STR(s)=\#s" $(HOSTCFLAGS_$(basetarget).o) $(HOSTCFLAGS_$(obj)) >> diff --git a/tools/perf/pmu-events/Build b/tools/perf/pmu-events/Build >> index 17783913d330..215ba30b8534 100644 >> --- a/tools/perf/pmu-events/Build >> +++ b/tools/perf/pmu-events/Build >> @@ -1,7 +1,7 @@ >> hostprogs := jevents >> >> jevents-y += json.o jsmn.o jevents.o >> -CHOSTFLAGS_jevents.o = -I$(srctree)/tools/include >> +HOSTCFLAGS_jevents.o = -I$(srctree)/tools/include >> pmu-events-y += pmu-events.o >> JDIR = pmu-events/arch/$(SRCARCH) >> JSON = $(shell [ -d $(JDIR) ] && \ >> -- >> 2.17.1 >> > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada