]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: Support building mconf with vendor sysroot ncurses
authorJohn Millikin <john@john-millikin.com>
Wed, 23 Dec 2020 05:04:23 +0000 (14:04 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 4 Jan 2021 01:38:11 +0000 (10:38 +0900)
commitce9c96bd13b7a5288aab7f2dcbb4894cae1e4062
tree03185fbc6a00f5cf5103ca53c44fe37f33f98b72
parent4670ba34dbdfafe5ef39fcbfc677f1b4ac30f38f
kconfig: Support building mconf with vendor sysroot ncurses

Changes the final fallback path in the ncurses locator for mconf
to support host compilers with a non-default sysroot.

This is similar to the hardcoded search for ncurses under
'/usr/include', but can support compilers that keep their default
header and library directories elsewhere.

For nconfig, do nothing because the only vendor compiler I'm aware
of with this layout (Apple Clang) ships an ncurses version that's too
old for nconfig anyway.

Signed-off-by: John Millikin <john@john-millikin.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/mconf-cfg.sh