summary refs log tree commit diff
path: root/scripts/Makefile.compiler
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-04-15 16:26:59 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-04-25 05:25:56 +0900
commite3456056f1d935491ee9148dbae98c6b95f58910 (patch)
tree8ce6809db0edaa4eebbebe9ff79055c9e7279d9b /scripts/Makefile.compiler
parent35f93a09e9683bf962f9164c0db5beeb65ad2c64 (diff)
downloadlinux-e3456056f1d935491ee9148dbae98c6b95f58910.tar.gz
kbuild: remove TMPO from try-run
TMPO is only used by arch/x86/Makefile.

Change arch/x86/Makefile to use $$TMPO.o and remove TMPO from
scripts/Makefile.compiler.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/Makefile.compiler')
-rw-r--r--scripts/Makefile.compiler1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/Makefile.compiler b/scripts/Makefile.compiler
index 3f2f3665216f..86ecd2ac874c 100644
--- a/scripts/Makefile.compiler
+++ b/scripts/Makefile.compiler
@@ -21,7 +21,6 @@ TMPOUT = $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/).tmp_$$$$
 # automatically cleaned up.
 try-run = $(shell set -e;		\
 	TMP=$(TMPOUT)/tmp;		\
-	TMPO=$(TMPOUT)/tmp.o;		\
 	mkdir -p $(TMPOUT);		\
 	trap "rm -rf $(TMPOUT)" EXIT;	\
 	if ($(1)) >/dev/null 2>&1;	\