]> code.ossystems Code Review - openembedded-core.git/commit
cml1.bbclass: Handle ncurses-native being available via pkg-config
authorNathan Rossi <nathan@nathanrossi.com>
Tue, 1 Mar 2022 23:55:32 +0000 (00:55 +0100)
committerSteve Sakoman <steve@sakoman.com>
Thu, 3 Mar 2022 17:43:07 +0000 (07:43 -1000)
commitdc6b20475a69c9fbab9a97a93119aeedf54deb23
tree28b87be23dbcffd9eb1ef8cb0cc0b28a3a10276d
parent123d4a673dadfee14d5ad8bbc503405da9602bb0
cml1.bbclass: Handle ncurses-native being available via pkg-config

The linux kernel will by default use pkg-config to get ncurses(w) paths,
falling back to absolute path checks otherwise. If the build host does
not have ncurses installed this will fail as pkg-config will not search
the native sysroot for ncurses.

To more all kernel/kconfig sources, inject the equivalent native
pkg-config variables similar to what is done by the pkg-config-native
script. This only affects the menuconfig python task itself and the
oe_terminal call inside it.

(cherry picked from commit abb95c421bb67d452691819e3f63dabd02e2ba37)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/cml1.bbclass