summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-07-11 23:39:58 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-07-12 15:20:40 -0300
commit3c7752f7ab6d591d07f0851321d6ab1ace46e6fb (patch)
tree8327c7ad39d7426b4cbca5abf70af8d5476bc562 /tools
parent1d4489d0ec141fe77eb79ce9bf9179d0342cb809 (diff)
downloadlinux-3c7752f7ab6d591d07f0851321d6ab1ace46e6fb.tar.bz2
perf tools: Don't add kernel directories to the header search path
We've decided not to access kernel source files because changes there could break the tooling side, this is one more step in that direction. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-ar0hupkxl45h5hk09l2rprj3@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/config/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index 49a213068283..97d47140a637 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -210,11 +210,7 @@ CFLAGS += -I$(srctree)/tools/include/uapi
CFLAGS += -I$(srctree)/tools/include/
CFLAGS += -I$(srctree)/tools/arch/$(ARCH)/include/uapi
CFLAGS += -I$(srctree)/tools/arch/$(ARCH)/include/
-CFLAGS += -I$(srctree)/arch/$(ARCH)/include/uapi
-CFLAGS += -I$(srctree)/arch/$(ARCH)/include
CFLAGS += -I$(srctree)/tools/arch/$(ARCH)/
-CFLAGS += -I$(srctree)/include/uapi
-CFLAGS += -I$(srctree)/include
# $(obj-perf) for generated common-cmds.h
# $(obj-perf)/util for generated bison/flex headers