1 Upstream-Status: Backport
3 From b9e8c37220c80e78289a1e87b50c09418eb59a7e Mon Sep 17 00:00:00 2001
4 From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
5 Date: Fri, 08 Mar 2013 11:21:52 +0000
6 Subject: libtraceevent: Remove hard coded include to /usr/local/include in Makefile
8 having /usr/local/include hardcoded into the makefile is not necessary
9 as this is automatically included by GCC. It also infects cross-compile
10 builds with the host systems includes.
12 Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
13 Acked-by: Namhyung Kim <namhyung@kernel.org>
14 Cc: Ingo Molnar <mingo@redhat.com>
15 Cc: Paul Mackerras <paulus@samba.org>
16 Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
17 Link: http://lkml.kernel.org/r/1362741712-21308-1-git-send-email-ml@communistcode.co.uk
18 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
20 (limited to 'tools/lib/traceevent/Makefile')
22 diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile
23 index a20e320..0b0a907 100644
24 --- a/tools/lib/traceevent/Makefile
25 +++ b/tools/lib/traceevent/Makefile
26 @@ -122,7 +122,7 @@ export Q VERBOSE
28 EVENT_PARSE_VERSION = $(EP_VERSION).$(EP_PATCHLEVEL).$(EP_EXTRAVERSION)
30 -INCLUDES = -I. -I/usr/local/include $(CONFIG_INCLUDES)
31 +INCLUDES = -I. $(CONFIG_INCLUDES)
33 # Set compile option CFLAGS if not set elsewhere