linux-stable/scripts/dummy-tools
Ondrej Mosnacek d98703d4ce kbuild: dummy-tools: avoid tmpdir leak in dummy gcc
commit aac289653f upstream

When passed -print-file-name=plugin, the dummy gcc script creates a
temporary directory that is never cleaned up. To avoid cluttering
$TMPDIR, instead use a static directory included in the source tree.

Fixes: 76426e2388 ("kbuild: add dummy toolchains to enable all cc-option etc. in Kconfig")
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/9996285f-5a50-e56a-eb1c-645598381a20@kernel.org
[ just the plugin-version.h portion as it failed to apply previously - gregkh ]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-29 11:07:58 +02:00
..
dummy-plugin-dir/include kbuild: dummy-tools: avoid tmpdir leak in dummy gcc 2022-08-29 11:07:58 +02:00
gcc kbuild: dummy-tools: avoid tmpdir leak in dummy gcc 2022-08-25 11:45:24 +02:00
ld
nm
objcopy
pahole scripts: dummy-tools, add pahole 2022-05-08 03:16:59 +09:00