diff options
Diffstat (limited to 'tools/testing/selftests/x86/Makefile')
-rw-r--r-- | tools/testing/selftests/x86/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/testing/selftests/x86/Makefile b/tools/testing/selftests/x86/Makefile index 4af1e487354b..fe635399a3a6 100644 --- a/tools/testing/selftests/x86/Makefile +++ b/tools/testing/selftests/x86/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | .PHONY: all all_32 all_64 check_build32 clean run_tests | 1 | .PHONY: all all_32 all_64 check_build32 clean |
2 | 2 | ||
3 | TARGETS_C_BOTHBITS := sigreturn single_step_syscall | 3 | TARGETS_C_BOTHBITS := sigreturn single_step_syscall |
4 | 4 | ||
@@ -15,7 +15,7 @@ ifeq ($(CROSS_COMPILE),) | |||
15 | # Always build 32-bit tests | 15 | # Always build 32-bit tests |
16 | all: all_32 | 16 | all: all_32 |
17 | # Install 32-bit tests | 17 | # Install 32-bit tests |
18 | TEST_PROGS += $(BINARIES_32) run_x86_tests.sh | 18 | TEST_PROGS += $(BINARIES_32) |
19 | # If we're on a 64-bit host, build 64-bit tests as well | 19 | # If we're on a 64-bit host, build 64-bit tests as well |
20 | ifeq ($(UNAME_M),x86_64) | 20 | ifeq ($(UNAME_M),x86_64) |
21 | all: all_64 | 21 | all: all_64 |
@@ -33,9 +33,6 @@ include ../lib.mk | |||
33 | clean: | 33 | clean: |
34 | $(RM) $(BINARIES_32) $(BINARIES_64) | 34 | $(RM) $(BINARIES_32) $(BINARIES_64) |
35 | 35 | ||
36 | run_tests: | ||
37 | ./run_x86_tests.sh | ||
38 | |||
39 | $(TARGETS_C_BOTHBITS:%=%_32): %_32: %.c | 36 | $(TARGETS_C_BOTHBITS:%=%_32): %_32: %.c |
40 | $(CC) -m32 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl | 37 | $(CC) -m32 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl |
41 | 38 | ||