summaryrefslogtreecommitdiff
path: root/scripts/diffconfig
diff options
context:
space:
mode:
authorBrenda Streiff <brenda.streiff@ni.com>2022-01-28 16:01:28 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-23 12:01:06 +0100
commit30455322787aee4bb95dcaabdcfcfaab69a1a8f0 (patch)
tree22cfb6b1b8c6fe6e1f277b119e2e646a15168693 /scripts/diffconfig
parente05dde47f52a4a8b027be0fa199d1419b2b4fc3c (diff)
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>
Diffstat (limited to 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions