/usr/src/linux-headers-5.15.0-181/scripts/kconfig
NameSizeModeActions
lxdialog/-0755rm
tests/-0755rm
.gitignore880644editdlrm
conf.c205580644editdlrm
confdata.c233340644editdlrm
expr.c302490644editdlrm
expr.h96530644editdlrm
gconf-cfg.sh7750755editdlrm
gconf.c389750644editdlrm
gconf.glade256420644editdlrm
images.c65730644editdlrm
images.h8570644editdlrm
internal.h1720644editdlrm
lexer.l92590644editdlrm
list.h37490644editdlrm
lkc.h40440644editdlrm
lkc_proto.h20130644editdlrm
Makefile77880644editdlrm
mconf-cfg.sh15020755editdlrm
mconf.c278880644editdlrm
menu.c220900644editdlrm
merge_config.sh51810755editdlrm
nconf-cfg.sh14040755editdlrm
nconf.c388750644editdlrm
nconf.gui.c149110644editdlrm
nconf.h20500644editdlrm
parser.y156080644editdlrm
preprocess.c113340644editdlrm
qconf-cfg.sh6430755editdlrm
qconf.cc444670644editdlrm
qconf.h65520644editdlrm
streamline_config.pl168210755editdlrm
symbol.c294100644editdlrm
util.c22100644editdlrm
Edit: /usr/src/linux-headers-5.15.0-181/scripts/kconfig/mconf-cfg.sh (1502B)
#!/bin/sh # SPDX-License-Identifier: GPL-2.0 PKG="ncursesw" PKG2="ncurses" if [ -n "$(command -v ${HOSTPKG_CONFIG})" ]; then if ${HOSTPKG_CONFIG} --exists $PKG; then echo cflags=\"$(${HOSTPKG_CONFIG} --cflags $PKG)\" echo libs=\"$(${HOSTPKG_CONFIG} --libs $PKG)\" exit 0 fi if ${HOSTPKG_CONFIG} --exists $PKG2; then echo cflags=\"$(${HOSTPKG_CONFIG} --cflags $PKG2)\" echo libs=\"$(${HOSTPKG_CONFIG} --libs $PKG2)\" exit 0 fi fi # Check the default paths in case pkg-config is not installed. # (Even if it is installed, some distributions such as openSUSE cannot # find ncurses by pkg-config.) if [ -f /usr/include/ncursesw/ncurses.h ]; then echo cflags=\"-D_GNU_SOURCE -I/usr/include/ncursesw\" echo libs=\"-lncursesw\" exit 0 fi if [ -f /usr/include/ncurses/ncurses.h ]; then echo cflags=\"-D_GNU_SOURCE -I/usr/include/ncurses\" echo libs=\"-lncurses\" exit 0 fi # As a final fallback before giving up, check if $HOSTCC knows of a default # ncurses installation (e.g. from a vendor-specific sysroot). if echo '#include ' | ${HOSTCC} -E - >/dev/null 2>&1; then echo cflags=\"-D_GNU_SOURCE\" echo libs=\"-lncurses\" exit 0 fi echo >&2 "*" echo >&2 "* Unable to find the ncurses package." echo >&2 "* Install ncurses (ncurses-devel or libncurses-dev" echo >&2 "* depending on your distribution)." echo >&2 "*" echo >&2 "* You may also need to install ${HOSTPKG_CONFIG} to find the" echo >&2 "* ncurses installed in a non-default location." echo >&2 "*" exit 1