diff options
-rw-r--r-- | tools/testing/selftests/sparc64/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/testing/selftests/sparc64/Makefile b/tools/testing/selftests/sparc64/Makefile index 2082eeffd779..442f0ca45441 100644 --- a/tools/testing/selftests/sparc64/Makefile +++ b/tools/testing/selftests/sparc64/Makefile | |||
@@ -1,7 +1,17 @@ | |||
1 | uname_M := $(shell uname -m 2>/dev/null || echo not) | ||
2 | ARCH ?= $(shell echo $(uname_M) | sed -e s/x86_64/x86/) | ||
3 | |||
4 | ifneq ($(ARCH),sparc64) | ||
5 | nothing: | ||
6 | .PHONY: all clean run_tests install | ||
7 | .SILENT: | ||
8 | else | ||
9 | |||
1 | SUBDIRS := drivers | 10 | SUBDIRS := drivers |
2 | 11 | ||
3 | TEST_PROGS := run.sh | 12 | TEST_PROGS := run.sh |
4 | 13 | ||
14 | |||
5 | .PHONY: all clean | 15 | .PHONY: all clean |
6 | 16 | ||
7 | include ../lib.mk | 17 | include ../lib.mk |
@@ -44,3 +54,4 @@ override define CLEAN | |||
44 | make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\ | 54 | make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\ |
45 | done | 55 | done |
46 | endef | 56 | endef |
57 | endif | ||