From: Michael Ellerman Date: Thu, 25 Oct 2018 17:24:15 +0000 (+1100) Subject: Revert "selftests/powerpc: Fix out-of-tree build errors" X-Git-Tag: v5.15~7651^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58cfbac25b1fd2b76f94566aed28a3662b0ff8c6;p=platform%2Fkernel%2Flinux-starfive.git 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. --- diff --git a/tools/testing/selftests/powerpc/cache_shape/Makefile b/tools/testing/selftests/powerpc/cache_shape/Makefile index 62e947ca..ede4d3d 100644 --- a/tools/testing/selftests/powerpc/cache_shape/Makefile +++ b/tools/testing/selftests/powerpc/cache_shape/Makefile @@ -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 = ../../../../.. diff --git a/tools/testing/selftests/powerpc/ptrace/Makefile b/tools/testing/selftests/powerpc/ptrace/Makefile index 6ac71b6..9b35ca8 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 \ top_srcdir = ../../../../.. include ../../lib.mk +all: $(TEST_PROGS) + CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie ptrace-pkey core-pkey: child.h diff --git a/tools/testing/selftests/powerpc/signal/Makefile b/tools/testing/selftests/powerpc/signal/Makefile index d34a7c7..1fca25c 100644 --- a/tools/testing/selftests/powerpc/signal/Makefile +++ b/tools/testing/selftests/powerpc/signal/Makefile @@ -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 diff --git a/tools/testing/selftests/powerpc/switch_endian/Makefile b/tools/testing/selftests/powerpc/switch_endian/Makefile index bdc081a..fcd2dcb 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 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