aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/config
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@linaro.org>2013-06-11 11:29:18 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-07-12 12:45:54 -0400
commit4e319027a7aee58ce8d409f5597b418f08307841 (patch)
treeb3fe55127499102a4260c6fc48321031d30917bf /tools/perf/config
parent450ac18d8f8076f0c522af1afb8519614a3b32f5 (diff)
perf tools: Use default include path notation for libtraceevent headers
Header files of libtraceevent or no longer local headers. Thus, use default path notation for them. Also removing extra traceevent include path and instead handle this similar to liblk. Signed-off-by: Robert Richter <robert.richter@linaro.org> Signed-off-by: Robert Richter <rric@kernel.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Robert Richter <rric@kernel.org> Link: http://lkml.kernel.org/r/1370964558-8599-1-git-send-email-rric@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/config')
-rw-r--r--tools/perf/config/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index b5d9238cb181..214e17e97e5c 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -46,6 +46,8 @@ ifneq ($(obj-perf),)
46obj-perf := $(abspath $(obj-perf))/ 46obj-perf := $(abspath $(obj-perf))/
47endif 47endif
48 48
49LIB_INCLUDE := $(srctree)/tools/lib/
50
49# include ARCH specific config 51# include ARCH specific config
50-include $(src-perf)/arch/$(ARCH)/Makefile 52-include $(src-perf)/arch/$(ARCH)/Makefile
51 53
@@ -121,8 +123,7 @@ endif
121 123
122CFLAGS += -I$(src-perf)/util 124CFLAGS += -I$(src-perf)/util
123CFLAGS += -I$(src-perf) 125CFLAGS += -I$(src-perf)
124CFLAGS += -I$(TRACE_EVENT_DIR) 126CFLAGS += -I$(LIB_INCLUDE)
125CFLAGS += -I$(srctree)/tools/lib/
126 127
127CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 128CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
128 129