diff options
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto/noslang.patch | 20 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.4.bb | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto/noslang.patch b/meta/recipes-kernel/linux/linux-yocto/noslang.patch new file mode 100644 index 0000000000..9cada34d11 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto/noslang.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | We (OE) install slang into /usr/include so we never need to look into | ||
2 | /usr/include/slang/. We never want to look into a hardcoded path like this | ||
3 | since it triggers host infection issues. For now, simply remove this | ||
4 | since it causes us problems. | ||
5 | |||
6 | Upstream-Status: Pending (would need rework) | ||
7 | |||
8 | Index: tools/perf/Makefile | ||
9 | =================================================================== | ||
10 | --- linux.orig/tools/perf/Makefile 2012-08-07 10:29:43.020149620 +0000 | ||
11 | +++ linux/tools/perf/Makefile 2012-08-07 10:30:08.128148098 +0000 | ||
12 | @@ -504,7 +504,7 @@ | ||
13 | BASIC_CFLAGS += -DNO_NEWT_SUPPORT | ||
14 | else | ||
15 | # Fedora has /usr/include/slang/slang.h, but ubuntu /usr/include/slang.h | ||
16 | - BASIC_CFLAGS += -I/usr/include/slang | ||
17 | + # BASIC_CFLAGS += -I/usr/include/slang | ||
18 | EXTLIBS += -lnewt -lslang | ||
19 | LIB_OBJS += $(OUTPUT)util/ui/setup.o | ||
20 | LIB_OBJS += $(OUTPUT)util/ui/browser.o | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.4.bb b/meta/recipes-kernel/linux/linux-yocto_3.4.bb index 48333b3e00..5ab46b7a1e 100644 --- a/meta/recipes-kernel/linux/linux-yocto_3.4.bb +++ b/meta/recipes-kernel/linux/linux-yocto_3.4.bb | |||
@@ -20,6 +20,8 @@ SRCREV_meta ?= "7ff48aa47c50b6455d60ca93bc81260ce8fe1a1b" | |||
20 | 20 | ||
21 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" | 21 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" |
22 | 22 | ||
23 | SRC_URI += "file://noslang.patch" | ||
24 | |||
23 | LINUX_VERSION ?= "3.4.6" | 25 | LINUX_VERSION ?= "3.4.6" |
24 | 26 | ||
25 | PR = "${INC_PR}.0" | 27 | PR = "${INC_PR}.0" |