]> code.ossystems Code Review - openembedded-core.git/commit
cml1.bbclass: Handle ncurses-native being available via pkg-config
authorNathan Rossi <nathan@nathanrossi.com>
Wed, 4 Nov 2020 11:34:48 +0000 (11:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 8 Nov 2020 14:03:16 +0000 (14:03 +0000)
commitabb95c421bb67d452691819e3f63dabd02e2ba37
tree29e1d9868dfeedef239d56b80bbd30cbd562feff
parentbafbe8bc0976d4c3ccf7e97979cd956f6374f53d
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.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cml1.bbclass