]> code.ossystems Code Review - openembedded-core.git/commit
ncurses, busybox, cml1.bbclass: Fix menuconfig display corruption
authorJason Wessel <jason.wessel@windriver.com>
Fri, 7 Nov 2014 09:15:45 +0000 (17:15 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Nov 2014 10:17:05 +0000 (10:17 +0000)
commit889e02659dd396feba24f0b0ee6b4043c3f3735a
tree3a0a0ae9691feecd057f0bf14d2267591f9b8ddf
parent8c27a1e25ae42a435ab7d290cab40f94f9286243
ncurses, busybox, cml1.bbclass: Fix menuconfig display corruption

Previously there was a change to the ncurses compile to make it more
like the typical way it was compiled on a host system.  This fixed a
whole class of host machines, but masked the real underlying problem
with the display corruption issues and menuconfig.

The corner case that led to the discovery that the wrong curses.h file
was getting used was when there was no curses libraries at all on one
of the development hosts.  What had happened before was that
/usr/include/curses.h on the host system had to match closely enough
to the curses.h in the sysroot and then linking against the sysroot
version of curses.so was ok (meaning no display corruption).  But on
some systems with ncurses.h vs curses.h such as SuSE hosts, there were
still issues.

If we fix the root of the problem and force the mconf and lxdialog to
use the correct headers and libraries from the sysroot there is no
further issues and the menuconfig target works properly.  It also
means we can back out the custom compilation flags to the ncurses
recipe because they are no longer needed.

For the kernel part of the menuconfig / nconfig changes it will be
merged separately and this is all based on:

https://lkml.org/lkml/2013/3/3/103

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/cml1.bbclass
meta/recipes-core/busybox/busybox/busybox-cross-menuconfig.patch [new file with mode: 0644]
meta/recipes-core/busybox/busybox_1.22.1.bb