summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/sparc64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/sparc64/Makefile')
-rw-r--r--tools/testing/selftests/sparc64/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/sparc64/Makefile b/tools/testing/selftests/sparc64/Makefile
index a19531dba4dc..88f7be76f962 100644
--- a/tools/testing/selftests/sparc64/Makefile
+++ b/tools/testing/selftests/sparc64/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-uname_M := $(shell uname -m 2>/dev/null || echo not)
-ARCH ?= $(shell echo $(uname_M) | sed -e s/x86_64/x86/)
+ARCH ?= $(shell uname -m 2>/dev/null || echo not)
+override ARCH := $(shell echo $(ARCH) | sed -e s/x86_64/x86/)
ifneq ($(ARCH),sparc64)
nothing: