From df2ad45105036f5cf3d75bf26abbf013ec0f4090 Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Fri, 15 Nov 2013 17:51:25 +1000 Subject: linux-xlnx: Backport kernel change for traceevent * The Makefile in traceevent has posioned the includes for cross builds with /usr/local/include. This upstream patch has been back ported (from linux-xlnx 3.10) to resolve this issue. Signed-off-by: Nathan Rossi --- ...nt-Remove-hard-coded-include-to-usr-local.patch | 38 ++++++++++++++++++++++ recipes-kernel/linux/linux-xlnx_3.8.bb | 1 + 2 files changed, 39 insertions(+) create mode 100644 recipes-kernel/linux/linux-xlnx/libtraceevent-Remove-hard-coded-include-to-usr-local.patch 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 @@ +From b9e8c37220c80e78289a1e87b50c09418eb59a7e Mon Sep 17 00:00:00 2001 +From: Jack Mitchell +Date: Fri, 8 Mar 2013 11:21:52 +0000 +Subject: [PATCH] libtraceevent: Remove hard coded include to + /usr/local/include in Makefile + +having /usr/local/include hardcoded into the makefile is not necessary +as this is automatically included by GCC. It also infects cross-compile +builds with the host systems includes. + +Signed-off-by: Jack Mitchell +Acked-by: Namhyung Kim +Cc: Ingo Molnar +Cc: Paul Mackerras +Cc: Peter Zijlstra +Link: http://lkml.kernel.org/r/1362741712-21308-1-git-send-email-ml@communistcode.co.uk +Signed-off-by: Arnaldo Carvalho de Melo +Upstream-Status: Backport +--- + tools/lib/traceevent/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile +index a20e320..0b0a907 100644 +--- a/tools/lib/traceevent/Makefile ++++ b/tools/lib/traceevent/Makefile +@@ -122,7 +122,7 @@ export Q VERBOSE + + EVENT_PARSE_VERSION = $(EP_VERSION).$(EP_PATCHLEVEL).$(EP_EXTRAVERSION) + +-INCLUDES = -I. -I/usr/local/include $(CONFIG_INCLUDES) ++INCLUDES = -I. $(CONFIG_INCLUDES) + + # Set compile option CFLAGS if not set elsewhere + CFLAGS ?= -g -Wall +-- +1.7.9.5 + 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" LINUX_VERSION = "3.8" SRCREV = "f4ff79d44a966ebea6229213816d17eb472b303e" +SRC_URI_append += "file://libtraceevent-Remove-hard-coded-include-to-usr-local.patch" -- cgit v1.2.3-54-g00ecf