android_kernel_xiaomi_sm7250/scripts/kconfig
Brenda Streiff 7d1c79a1cd kconfig: let 'shell' return enough output for deep path names
[ Upstream commit 8a4c5b2a6d8ea079fa36034e8167de87ab6f8880 ]

The 'shell' built-in only returns the first 256 bytes of the command's
output. In some cases, 'shell' is used to return a path; by bumping up
the buffer size to 4096 this lets us capture up to PATH_MAX.

The specific case where I ran into this was due to commit 1e860048c53e
("gcc-plugins: simplify GCC plugin-dev capability test"). After this
change, we now use `$(shell,$(CC) -print-file-name=plugin)` to return
a path; if the gcc path is particularly long, then the path ends up
truncated at the 256 byte mark, which makes the HAVE_GCC_PLUGINS
depends test always fail.

Signed-off-by: Brenda Streiff <brenda.streiff@ni.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-02-23 11:58:42 +01:00
..
lxdialog
tests
.gitignore
conf.c
confdata.c
expr.c
expr.h
gconf-cfg.sh
gconf.c
gconf.glade
images.c
kconf_id.c
list.h
lkc_proto.h
lkc.h
Makefile
mconf-cfg.sh
mconf.c
menu.c
merge_config.sh
nconf-cfg.sh
nconf.c kconfig: nconf: stop endless search loops 2021-05-22 10:59:41 +02:00
nconf.gui.c
nconf.h
preprocess.c kconfig: let 'shell' return enough output for deep path names 2022-02-23 11:58:42 +01:00
qconf-cfg.sh
qconf.cc kconfig: qconf: fix signal connection to invalid slots 2020-08-26 10:31:04 +02:00
qconf.h
streamline_config.pl
symbol.c
util.c
zconf.l
zconf.y