aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/pmu-events/Build
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2018-07-09 17:45:56 -0700
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-07-13 00:48:17 +0900
commit6fdbd824fd7a3876aac43d32fdf1f30b9ef72ce4 (patch)
treef7f2d70ff83cc3dffa9e3da876d7245ab1b85194 /tools/perf/pmu-events/Build
parenttools build: fix # escaping in .cmd files for future Make (diff)
downloadlinux-dev-6fdbd824fd7a3876aac43d32fdf1f30b9ef72ce4.tar.xz
linux-dev-6fdbd824fd7a3876aac43d32fdf1f30b9ef72ce4.zip
tools: build: Fixup host c flags
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 <labbott@redhat.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to '')
-rw-r--r--tools/perf/pmu-events/Build2
1 files changed, 1 insertions, 1 deletions
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) ] && \