summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2019-07-03 15:12:52 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2019-07-03 11:16:00 -0300
commit50f873c855fb65174ce2bb2160ec86944f078b58 (patch)
tree0a435984ca98d48986635546fb7bc7ed9c9255f1 /recipes-kernel
parent82adb4390a070b9250989c1e70ba516a29971b2d (diff)
downloadmeta-freescale-50f873c855fb65174ce2bb2160ec86944f078b58.tar.gz
linux-fslc-lts: remove orphaned patch
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-fslc-lts-4.19/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch57
1 files changed, 0 insertions, 57 deletions
diff --git a/recipes-kernel/linux/linux-fslc-lts-4.19/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch b/recipes-kernel/linux/linux-fslc-lts-4.19/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch
deleted file mode 100644
index 73182b95..00000000
--- a/recipes-kernel/linux/linux-fslc-lts-4.19/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch
+++ /dev/null
@@ -1,57 +0,0 @@
1From 846b11d8c834af4fa62393dadb490ea8246b332c Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Mon, 2 Jul 2018 23:10:28 -0400
4Subject: [PATCH] menuconfig,mconf-cfg: Allow specification of ncurses location
5
6In some cross build environments such as the Yocto Project build
7environment it provides an ncurses library that is compiled
8differently than the host's version. This causes display corruption
9problems when the host's curses includes are used instead of the
10includes from the provided compiler are overridden. There is a second
11case where there is no curses libraries at all on the host system and
12menuconfig will just fail entirely.
13
14The solution is simply to allow an override variable in
15check-lxdialog.sh for environments such as the Yocto Project. Adding
16a CROSS_CURSES_LIB and CROSS_CURSES_INC solves the issue and allowing
17compiling and linking against the right headers and libraries.
18
19Stolen from linux-yocto [1]
20
21[1] http://git.yoctoproject.org/cgit.cgi/linux-yocto/commit/?id=846b11d8c834af4fa62393dadb490ea8246b332c
22
23Upstream-Status: Pending
24
25Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
26cc: Michal Marek <mmarek@suse.cz>
27cc: linux-kbuild@vger.kernel.org
28Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
29---
30 scripts/kconfig/mconf-cfg.sh | 8 ++++++++
31 1 file changed, 8 insertions(+)
32 mode change 100755 => 100644 scripts/kconfig/mconf-cfg.sh
33
34diff --git a/scripts/kconfig/mconf-cfg.sh b/scripts/kconfig/mconf-cfg.sh
35old mode 100755
36new mode 100644
37index c812872d7f9d..65a9b9e5b8a6
38--- a/scripts/kconfig/mconf-cfg.sh
39+++ b/scripts/kconfig/mconf-cfg.sh
40@@ -4,6 +4,14 @@
41 PKG="ncursesw"
42 PKG2="ncurses"
43
44+if [ "$CROSS_CURSES_LIB" != "" ]; then
45+ echo libs=\'$CROSS_CURSES_LIB\'
46+ if [ x"$CROSS_CURSES_INC" != x ]; then
47+ echo cflags=\'$CROSS_CURSES_INC\'
48+ fi
49+ exit 0
50+fi
51+
52 if [ -n "$(command -v pkg-config)" ]; then
53 if pkg-config --exists $PKG; then
54 echo cflags=\"$(pkg-config --cflags $PKG)\"
55--
562.20.1
57