diff options
-rw-r--r-- | recipes-kernel/linux/files/libtraceevent-Remove-hard-coded-include-to-usr-local-include-in-Makefile.patch | 36 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-qoriq-sdk.bb | 2 |
2 files changed, 38 insertions, 0 deletions
diff --git a/recipes-kernel/linux/files/libtraceevent-Remove-hard-coded-include-to-usr-local-include-in-Makefile.patch b/recipes-kernel/linux/files/libtraceevent-Remove-hard-coded-include-to-usr-local-include-in-Makefile.patch new file mode 100644 index 0000000..15c397d --- /dev/null +++ b/recipes-kernel/linux/files/libtraceevent-Remove-hard-coded-include-to-usr-local-include-in-Makefile.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
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 | ||
7 | |||
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. | ||
11 | |||
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> | ||
19 | --- | ||
20 | (limited to 'tools/lib/traceevent/Makefile') | ||
21 | |||
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 | ||
27 | |||
28 | EVENT_PARSE_VERSION = $(EP_VERSION).$(EP_PATCHLEVEL).$(EP_EXTRAVERSION) | ||
29 | |||
30 | -INCLUDES = -I. -I/usr/local/include $(CONFIG_INCLUDES) | ||
31 | +INCLUDES = -I. $(CONFIG_INCLUDES) | ||
32 | |||
33 | # Set compile option CFLAGS if not set elsewhere | ||
34 | CFLAGS ?= -g -Wall | ||
35 | -- | ||
36 | cgit v0.9.2 | ||
diff --git a/recipes-kernel/linux/linux-qoriq-sdk.bb b/recipes-kernel/linux/linux-qoriq-sdk.bb index 502132f..7dd7059 100644 --- a/recipes-kernel/linux/linux-qoriq-sdk.bb +++ b/recipes-kernel/linux/linux-qoriq-sdk.bb | |||
@@ -7,6 +7,8 @@ LICENSE = "GPLv2" | |||
7 | 7 | ||
8 | require recipes-kernel/linux/linux-qoriq-sdk.inc | 8 | require recipes-kernel/linux/linux-qoriq-sdk.inc |
9 | 9 | ||
10 | SRC_URI += "file://libtraceevent-Remove-hard-coded-include-to-usr-local-include-in-Makefile.patch" | ||
11 | |||
10 | PR = "${INC_PR}.1" | 12 | PR = "${INC_PR}.1" |
11 | 13 | ||
12 | DEPENDS_append = " libgcc" | 14 | DEPENDS_append = " libgcc" |