summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-kernel/linux/linux-xlnx/libtraceevent-Remove-hard-coded-include-to-usr-local.patch38
-rw-r--r--recipes-kernel/linux/linux-xlnx_3.8.bb1
2 files changed, 39 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-xlnx/libtraceevent-Remove-hard-coded-include-to-usr-local.patch b/recipes-kernel/linux/linux-xlnx/libtraceevent-Remove-hard-coded-include-to-usr-local.patch
new file mode 100644
index 00000000..0168ea79
--- /dev/null
+++ b/recipes-kernel/linux/linux-xlnx/libtraceevent-Remove-hard-coded-include-to-usr-local.patch
@@ -0,0 +1,38 @@
1From b9e8c37220c80e78289a1e87b50c09418eb59a7e Mon Sep 17 00:00:00 2001
2From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
3Date: Fri, 8 Mar 2013 11:21:52 +0000
4Subject: [PATCH] libtraceevent: Remove hard coded include to
5 /usr/local/include in Makefile
6
7having /usr/local/include hardcoded into the makefile is not necessary
8as this is automatically included by GCC. It also infects cross-compile
9builds with the host systems includes.
10
11Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
12Acked-by: Namhyung Kim <namhyung@kernel.org>
13Cc: Ingo Molnar <mingo@redhat.com>
14Cc: Paul Mackerras <paulus@samba.org>
15Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
16Link: http://lkml.kernel.org/r/1362741712-21308-1-git-send-email-ml@communistcode.co.uk
17Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
18Upstream-Status: Backport
19---
20 tools/lib/traceevent/Makefile | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile
24index a20e320..0b0a907 100644
25--- a/tools/lib/traceevent/Makefile
26+++ b/tools/lib/traceevent/Makefile
27@@ -122,7 +122,7 @@ export Q VERBOSE
28
29 EVENT_PARSE_VERSION = $(EP_VERSION).$(EP_PATCHLEVEL).$(EP_EXTRAVERSION)
30
31-INCLUDES = -I. -I/usr/local/include $(CONFIG_INCLUDES)
32+INCLUDES = -I. $(CONFIG_INCLUDES)
33
34 # Set compile option CFLAGS if not set elsewhere
35 CFLAGS ?= -g -Wall
36--
371.7.9.5
38
diff --git a/recipes-kernel/linux/linux-xlnx_3.8.bb b/recipes-kernel/linux/linux-xlnx_3.8.bb
index a7d1c43e..c6fd35e4 100644
--- a/recipes-kernel/linux/linux-xlnx_3.8.bb
+++ b/recipes-kernel/linux/linux-xlnx_3.8.bb
@@ -8,3 +8,4 @@ PR = "r1"
8LINUX_VERSION = "3.8" 8LINUX_VERSION = "3.8"
9SRCREV = "f4ff79d44a966ebea6229213816d17eb472b303e" 9SRCREV = "f4ff79d44a966ebea6229213816d17eb472b303e"
10 10
11SRC_URI_append += "file://libtraceevent-Remove-hard-coded-include-to-usr-local.patch"