aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-10-25 13:24:15 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-26 06:58:58 -0400
commit58cfbac25b1fd2b76f94566aed28a3662b0ff8c6 (patch)
treed88966ad8fd204312c042c6695e32d2c483f835c /tools
parent0f99153def98134403c9149128e59d3e1786cf04 (diff)
Revert "selftests/powerpc: Fix out-of-tree build errors"
This reverts commit d8a2fe29d3c97038c8efcc328d5e7940c5310565. That commit, by me, fixed the out of tree build errors by causing some of the tests not to build at all.
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/powerpc/cache_shape/Makefile2
-rw-r--r--tools/testing/selftests/powerpc/ptrace/Makefile2
-rw-r--r--tools/testing/selftests/powerpc/signal/Makefile2
-rw-r--r--tools/testing/selftests/powerpc/switch_endian/Makefile1
4 files changed, 6 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/cache_shape/Makefile b/tools/testing/selftests/powerpc/cache_shape/Makefile
index 62e947ca9921..ede4d3dae750 100644
--- a/tools/testing/selftests/powerpc/cache_shape/Makefile
+++ b/tools/testing/selftests/powerpc/cache_shape/Makefile
@@ -1,6 +1,8 @@
1# SPDX-License-Identifier: GPL-2.0 1# SPDX-License-Identifier: GPL-2.0
2TEST_PROGS := cache_shape 2TEST_PROGS := cache_shape
3 3
4all: $(TEST_PROGS)
5
4$(TEST_PROGS): ../harness.c ../utils.c 6$(TEST_PROGS): ../harness.c ../utils.c
5 7
6top_srcdir = ../../../../.. 8top_srcdir = ../../../../..
diff --git a/tools/testing/selftests/powerpc/ptrace/Makefile b/tools/testing/selftests/powerpc/ptrace/Makefile
index 6ac71b629276..9b35ca8e8f13 100644
--- a/tools/testing/selftests/powerpc/ptrace/Makefile
+++ b/tools/testing/selftests/powerpc/ptrace/Makefile
@@ -7,6 +7,8 @@ TEST_PROGS := ptrace-gpr ptrace-tm-gpr ptrace-tm-spd-gpr \
7top_srcdir = ../../../../.. 7top_srcdir = ../../../../..
8include ../../lib.mk 8include ../../lib.mk
9 9
10all: $(TEST_PROGS)
11
10CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie 12CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie
11 13
12ptrace-pkey core-pkey: child.h 14ptrace-pkey core-pkey: child.h
diff --git a/tools/testing/selftests/powerpc/signal/Makefile b/tools/testing/selftests/powerpc/signal/Makefile
index d34a7c7710db..1fca25c6ace0 100644
--- a/tools/testing/selftests/powerpc/signal/Makefile
+++ b/tools/testing/selftests/powerpc/signal/Makefile
@@ -1,6 +1,8 @@
1# SPDX-License-Identifier: GPL-2.0 1# SPDX-License-Identifier: GPL-2.0
2TEST_PROGS := signal signal_tm 2TEST_PROGS := signal signal_tm
3 3
4all: $(TEST_PROGS)
5
4$(TEST_PROGS): ../harness.c ../utils.c signal.S 6$(TEST_PROGS): ../harness.c ../utils.c signal.S
5 7
6CFLAGS += -maltivec 8CFLAGS += -maltivec
diff --git a/tools/testing/selftests/powerpc/switch_endian/Makefile b/tools/testing/selftests/powerpc/switch_endian/Makefile
index bdc081afedb0..fcd2dcb8972b 100644
--- a/tools/testing/selftests/powerpc/switch_endian/Makefile
+++ b/tools/testing/selftests/powerpc/switch_endian/Makefile
@@ -8,7 +8,6 @@ EXTRA_CLEAN = $(OUTPUT)/*.o $(OUTPUT)/check-reversed.S
8top_srcdir = ../../../../.. 8top_srcdir = ../../../../..
9include ../../lib.mk 9include ../../lib.mk
10 10
11$(OUTPUT)/switch_endian_test: ASFLAGS += -I $(OUTPUT)
12$(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S 11$(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S
13 12
14$(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o 13$(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o