Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1117753imm; Mon, 9 Jul 2018 17:49:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf0XlF6irAaIXq/tcw+Pwz7pfbXZe1v4pvcmcCmht3jZD4/flikaaRM0yUwjhP6TcEKRpA3 X-Received: by 2002:a65:608b:: with SMTP id t11-v6mr20657001pgu.259.1531183765564; Mon, 09 Jul 2018 17:49:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531183765; cv=none; d=google.com; s=arc-20160816; b=GRKMVF5jiDP0mBtjzaRYIdtr1B8Wx0CeaAPTsdyAo5GgfOKLjR/AFVuTZSF+Mz5fX7 pHHCKYmXEE04+KHpDGC8dhksofPy1fiSuHpiskGfmqVd2+3viraFRMSLEZH8zf19VaUa VVnIY5yMMJMUKEA6kjp4MU7w+ogEADbzGUj2Sk6NUJ9rySztJfPfBTNxeteK3CsfPZ3D oxBiOUobi/d/dzlT5MLCEfwbylbhbbujFA0GMZZcN0h0Qh7pNzx6Vieihzn11y19NFR8 V1hb8YXsAnfAz+BhW4QL2wXc0PY2ezXB/SksXxsa5lSP83rmy+JLQggAApVs6Z9lU2M1 5/8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=fMMWWjSXVmIYjP+bqeMR5GcK88w+ADcuRU163HYC/58=; b=YZPSjt6xiiMLOAS8n7ImDOXEwp9SFskymUML3YGoo5B1dWVXs3PUdISnUUhsQ8QJuQ WH4Bg1NrOd9infF1owL3g61Xnc3RM4B7lJeLF5b1W4BMUm7vO2481J7j5vUKk25NcpCY tSbmMMkIZWusH2QDxCSP9oszTMVEZo6nWYYLS69y+I4g7WMbwlBfL7ug1zj5ttuJLJqL +/9CsiRP933D8kpDYCE0rMiaWhpIpFyoZB+hv36mswUg26rCtV3TKUR0I2i0+AEGvmBw q5qXA1EnwuGOQK1gEkB71czs3+TbUddB7ODKN1Jwr4cAcfPl0YAJQLb4Ca9ghcDUpdra X24g== 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 p9-v6si15494991pff.30.2018.07.09.17.49.11; Mon, 09 Jul 2018 17:49:25 -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 S933443AbeGJAsC (ORCPT + 99 others); Mon, 9 Jul 2018 20:48:02 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:42016 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933326AbeGJAqP (ORCPT ); Mon, 9 Jul 2018 20:46:15 -0400 Received: by mail-qt0-f194.google.com with SMTP id z8-v6so8486352qto.9 for ; Mon, 09 Jul 2018 17:46:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fMMWWjSXVmIYjP+bqeMR5GcK88w+ADcuRU163HYC/58=; b=ZAMtmWqF+igFO28qXoIccXcCFWWumd5+euvzn5Ckbz0zETVg92f24J5XfBih4HZxjz LlJFOYSQ1i5E1VxUjFqDj0xh0vIfWFQDYYD3YLF8K4XmMHwIjL0SdacomJm2HMO4Kxz9 LCO+S0MkrOZOikHVqbmLEEbyKCSQinXg0uDabwohuQX5LEVQzB3n7JWDWjufSgEaJnw6 Tkc14dGLH8DWaMRfAVqtYaBwuT+Vw42JHErASA19jmFC7GcAWm8hjnk7rfBoOe2JAmi6 Nrx6MTFWZyC5M5wUv7fQTZU6BUNRkWBo7uRcbOwM/TjhVGgwKDxsBDCaGplWrPkQkuy8 5RSQ== X-Gm-Message-State: APt69E1M18ikECzQXhM3ha+YFS87CQamN+F+7KeqFhRjfjnjjDst1mIn wWA0Zgy8wTz6XLuhUybKCWDOJA== X-Received: by 2002:a0c:f98d:: with SMTP id t13-v6mr19653021qvn.172.1531183574546; Mon, 09 Jul 2018 17:46:14 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::1941]) by smtp.gmail.com with ESMTPSA id l36-v6sm1816792qtk.12.2018.07.09.17.46.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 17:46:13 -0700 (PDT) From: Laura Abbott To: Masahiro Yamada , Josh Poimboeuf , Jiri Olsa Cc: Laura Abbott , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Robin Jarry Subject: [PATCHv2 1/7] tools: build: Fixup host c flags Date: Mon, 9 Jul 2018 17:45:56 -0700 Message-Id: <20180710004602.21599-2-labbott@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180710004602.21599-1-labbott@redhat.com> References: <20180710004602.21599-1-labbott@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. --- 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