Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1392833imm; Tue, 10 Jul 2018 00:39:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfJsWw3kXDFc4AGKL7jk8kiRh/h11wNto2lKtQSfr2x1cERijvprXv2zq8SbRxP39RY3WnQ X-Received: by 2002:a63:e742:: with SMTP id j2-v6mr8069848pgk.114.1531208377799; Tue, 10 Jul 2018 00:39:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531208377; cv=none; d=google.com; s=arc-20160816; b=hd9ZZMOoz0uEZl5do1H+h4eNqXs7jBkb3Py2rCzHN6kVDBGO4/bS/SsOSqBJ6koiM3 ggsLbrnqu7EDxCKv0vn5PAfhZkJpoo1qWTfEvwwXGPCOGNjRabGCxqQw/KgwGV137SkA NYGsM0j0B2cPWIamiJZZQuhgN6vbzp6aS7BZUKFe6zZQP0mmhbQ9Gwi54pLu9DgsEbne ZDYgutrFBcxwhj80V41wUhZoaYgtmcM+U33sbl6YGPMrMjhaMkzgKlfpWmYu89V4plTq q27vLw7Odlsl4FViqH86o9IezIt4WlmwOOd46h8On/cnRt96tUpRSV2Gx49xYxU2eajV PBsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=i9O/bMi/KW2nhpiuiMgB/l2En+leNRdS/U0ibUFl9/8=; b=PWyGVPohWWmYoIr7ocCz/zSqBH/dCLQqdXW2BsERyn5k/6UpgFIkI1PLY8BysWbLWO bAgKW1Ylx4U08A1GWXqRYiC+MwHdUrJw2yT3PmZACZ+EQF+kBe76QSMYrxtG55S0+bCA F8Jlt34vTpvHC/ETgf8/4CRxDpJk1LJKbLaO8AVBbTxhd5I8/v9krCzbwELTgwEC9UNF A4C7nuT2c/0+3hvkaXrEL8DRSyS2Pnt1zcxM561wwVeE+NoNXhy/GX6HRfilavyV+Fmj yKSmSY8Ft0IVqvhkPPruQs5PrkLZ+w3DgSuTxwWzZm4OydN0NDvwErPjcgoqvtaqb2aT 5u3g== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i35-v6si16240553plg.209.2018.07.10.00.39.22; Tue, 10 Jul 2018 00:39:37 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751250AbeGJHii (ORCPT + 99 others); Tue, 10 Jul 2018 03:38:38 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:53680 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751047AbeGJHig (ORCPT ); Tue, 10 Jul 2018 03:38:36 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AAD6B401CC41; Tue, 10 Jul 2018 07:38:35 +0000 (UTC) Received: from krava (unknown [10.43.17.196]) by smtp.corp.redhat.com (Postfix) with SMTP id 9DFCD111DD15; Tue, 10 Jul 2018 07:38:33 +0000 (UTC) Date: Tue, 10 Jul 2018 09:38:33 +0200 From: Jiri Olsa To: Laura Abbott Cc: Masahiro Yamada , Josh Poimboeuf , Jiri Olsa , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Robin Jarry , Andi Kleen , Arnaldo Carvalho de Melo , Madhavan Srinivasan , Peter Zijlstra , Sukadev Bhattiprolu Subject: Re: [PATCHv2 1/7] tools: build: Fixup host c flags Message-ID: <20180710073833.GA7671@krava> References: <20180710004602.21599-1-labbott@redhat.com> <20180710004602.21599-2-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180710004602.21599-2-labbott@redhat.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Tue, 10 Jul 2018 07:38:35 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Tue, 10 Jul 2018 07:38:35 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jolsa@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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 >