aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-10-29 07:23:52 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-31 08:56:21 -0400
commit266bac361d5677e61a6815bd29abeb3bdced2b07 (patch)
tree119ea68153ec4ed9ed016b931160961dfbf0d4fd /tools
parent98415da03ae6559dc62899fd31e55e194779c45b (diff)
selftests/powerpc/switch_endian: Fix out-of-tree build
For the out-of-tree build to work we need to tell switch_endian_test to look for check-reversed.S in $(OUTPUT). Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/powerpc/switch_endian/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/switch_endian/Makefile b/tools/testing/selftests/powerpc/switch_endian/Makefile
index fcd2dcb8972b..bdc081afedb0 100644
--- a/tools/testing/selftests/powerpc/switch_endian/Makefile
+++ b/tools/testing/selftests/powerpc/switch_endian/Makefile
@@ -8,6 +8,7 @@ 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)
11$(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S 12$(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S
12 13
13$(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o 14$(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o