summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-10-29 22:23:52 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-01 09:17:06 +0100
commit024cd793bbe1f3a0417f8b1f7a44fe9efc7a0f02 (patch)
treea693ee8f71f605f6f193a0626707b8eaf44d04c2 /tools/testing
parenta4a660f7abd984c733b4a6599ef22031e2398146 (diff)
downloadlinux-stable-024cd793bbe1f3a0417f8b1f7a44fe9efc7a0f02.tar.gz
linux-stable-024cd793bbe1f3a0417f8b1f7a44fe9efc7a0f02.tar.bz2
linux-stable-024cd793bbe1f3a0417f8b1f7a44fe9efc7a0f02.zip
selftests/powerpc/switch_endian: Fix out-of-tree build
[ Upstream commit 266bac361d5677e61a6815bd29abeb3bdced2b07 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/testing')
-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
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