diff options
author | Naveen Saini <naveen.kumar.saini@intel.com> | 2023-03-08 13:18:58 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2023-03-09 09:46:07 +0800 |
commit | 503e4e567eb268fc51e7e85df03e2e92076e07cd (patch) | |
tree | 5c31f88fb443712c2634931734d732ea1be007eb /recipes-kernel/linux/linux-intel/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch | |
parent | 197effab2bf62ccc0bc36a707013e73e5c5462ed (diff) | |
download | meta-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-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch')
-rw-r--r-- | recipes-kernel/linux/linux-intel/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-intel/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch b/recipes-kernel/linux/linux-intel/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch new file mode 100644 index 00000000..9aff37de --- /dev/null +++ b/recipes-kernel/linux/linux-intel/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch | |||
@@ -0,0 +1,52 @@ | |||
1 | From ecb938c19d20543382c9bbc42588c29b5ebfd3ed Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
3 | Date: Fri, 12 Aug 2022 13:12:18 +0800 | ||
4 | Subject: [PATCH] menuconfig,mconf-cfg: Allow specification of ncurses location | ||
5 | |||
6 | In some cross build environments such as the Yocto Project build | ||
7 | environment it provides an ncurses library that is compiled | ||
8 | differently than the host's version. This causes display corruption | ||
9 | problems when the host's curses includes are used instead of the | ||
10 | includes from the provided compiler are overridden. There is a second | ||
11 | case where there is no curses libraries at all on the host system and | ||
12 | menuconfig will just fail entirely. | ||
13 | |||
14 | The solution is simply to allow an override variable in | ||
15 | check-lxdialog.sh for environments such as the Yocto Project. Adding | ||
16 | a CROSS_CURSES_LIB and CROSS_CURSES_INC solves the issue and allowing | ||
17 | compiling and linking against the right headers and libraries. | ||
18 | |||
19 | Upstream-Status: Submitted | ||
20 | |||
21 | Signed-off-by: Jason Wessel <jason.wessel@windriver.com> | ||
22 | cc: Michal Marek <mmarek@suse.cz> | ||
23 | cc: linux-kbuild@vger.kernel.org | ||
24 | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
25 | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> | ||
26 | --- | ||
27 | scripts/kconfig/mconf-cfg.sh | 9 +++++++++ | ||
28 | 1 file changed, 9 insertions(+) | ||
29 | |||
30 | diff --git a/scripts/kconfig/mconf-cfg.sh b/scripts/kconfig/mconf-cfg.sh | ||
31 | index 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 | -- | ||
51 | 2.25.1 | ||
52 | |||