summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-intel/0001-v5.19-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2023-03-08 13:18:58 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2023-03-09 09:46:07 +0800
commit503e4e567eb268fc51e7e85df03e2e92076e07cd (patch)
tree5c31f88fb443712c2634931734d732ea1be007eb /recipes-kernel/linux/linux-intel/0001-v5.19-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch
parent197effab2bf62ccc0bc36a707013e73e5c5462ed (diff)
downloadmeta-intel-503e4e567eb268fc51e7e85df03e2e92076e07cd.tar.gz
linux-intel/6.2: add recipe
It builds 6.2 kernel version from mainline-tracking tree. https://github.com/intel/mainline-tracking tag: mainline-tracking-v6.2-linux-230223T032049Z Remove linux-intel 5.19 recipe. There is no -rt version of 6.2 yet so 5.19-rt has been kept. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-kernel/linux/linux-intel/0001-v5.19-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch')
-rw-r--r--recipes-kernel/linux/linux-intel/0001-v5.19-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/recipes-kernel/linux/linux-intel/0001-v5.19-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch b/recipes-kernel/linux/linux-intel/0001-v5.19-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch
deleted file mode 100644
index 9aff37de..00000000
--- a/recipes-kernel/linux/linux-intel/0001-v5.19-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1From ecb938c19d20543382c9bbc42588c29b5ebfd3ed Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Fri, 12 Aug 2022 13:12:18 +0800
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
19Upstream-Status: Submitted
20
21Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
22cc: Michal Marek <mmarek@suse.cz>
23cc: linux-kbuild@vger.kernel.org
24Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
25Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
26---
27 scripts/kconfig/mconf-cfg.sh | 9 +++++++++
28 1 file changed, 9 insertions(+)
29
30diff --git a/scripts/kconfig/mconf-cfg.sh b/scripts/kconfig/mconf-cfg.sh
31index 025b565e0b7c..6514d19790e6 100755
32--- a/scripts/kconfig/mconf-cfg.sh
33+++ b/scripts/kconfig/mconf-cfg.sh
34@@ -4,6 +4,15 @@
35 PKG="ncursesw"
36 PKG2="ncurses"
37
38+if [ "$CROSS_CURSES_LIB" != "" ]; then
39+ echo libs=\'$CROSS_CURSES_LIB\'
40+ if [ x"$CROSS_CURSES_INC" != x ]; then
41+ echo cflags=\'$CROSS_CURSES_INC\'
42+ fi
43+ exit 0
44+fi
45+
46+
47 if [ -n "$(command -v ${HOSTPKG_CONFIG})" ]; then
48 if ${HOSTPKG_CONFIG} --exists $PKG; then
49 echo cflags=\"$(${HOSTPKG_CONFIG} --cflags $PKG)\"
50--
512.25.1
52