Revert "selftests/powerpc: Fix out-of-tree build errors"
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Oct 2018 17:24:15 +0000 (04:24 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 26 Oct 2018 10:58:58 +0000 (21:58 +1100)
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.

tools/testing/selftests/powerpc/cache_shape/Makefile
tools/testing/selftests/powerpc/ptrace/Makefile
tools/testing/selftests/powerpc/signal/Makefile
tools/testing/selftests/powerpc/switch_endian/Makefile

index 62e947ca9921c3b2ff73d6c5986bfde7e658c25d..ede4d3dae7505ef31f822bac9b613aef464f6125 100644 (file)
@@ -1,6 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0
 TEST_PROGS := cache_shape
 
+all: $(TEST_PROGS)
+
 $(TEST_PROGS): ../harness.c ../utils.c
 
 top_srcdir = ../../../../..
index 6ac71b62927669a4d3d4e182f34a098d97a55631..9b35ca8e8f13d4bbe77ba24d3e061031071c39c3 100644 (file)
@@ -7,6 +7,8 @@ TEST_PROGS := ptrace-gpr ptrace-tm-gpr ptrace-tm-spd-gpr \
 top_srcdir = ../../../../..
 include ../../lib.mk
 
+all: $(TEST_PROGS)
+
 CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie
 
 ptrace-pkey core-pkey: child.h
index d34a7c7710dbd6f417a3820bd273c85658c15d43..1fca25c6ace067ffb7a913508b4e13059cb04770 100644 (file)
@@ -1,6 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0
 TEST_PROGS := signal signal_tm
 
+all: $(TEST_PROGS)
+
 $(TEST_PROGS): ../harness.c ../utils.c signal.S
 
 CFLAGS += -maltivec
index bdc081afedb0f0788c26ad4a6914e7895b9be90a..fcd2dcb8972babf90209b699307bd086f08c5f90 100644 (file)
@@ -8,7 +8,6 @@ EXTRA_CLEAN = $(OUTPUT)/*.o $(OUTPUT)/check-reversed.S
 top_srcdir = ../../../../..
 include ../../lib.mk
 
-$(OUTPUT)/switch_endian_test: ASFLAGS += -I $(OUTPUT)
 $(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S
 
 $(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o