]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: dummy-tools: avoid tmpdir leak in dummy gcc
authorOndrej Mosnacek <omosnace@redhat.com>
Mon, 11 Jul 2022 12:09:23 +0000 (14:09 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 27 Jul 2022 12:17:59 +0000 (21:17 +0900)
commit201e634951041a386caa22a753d1f5d65c10b2a3
tree52d8b55b3d0355983464ae574f3dc3ad6a8aa289
parent3e9a65549d834c2a94d526fc717fc348751327a1
kbuild: dummy-tools: avoid tmpdir leak in dummy gcc

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: ed3e3881633d ("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>
scripts/dummy-tools/dummy-plugin-dir/include/plugin-version.h [new file with mode: 0644]
scripts/dummy-tools/gcc