summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/switch_endian
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-10-18 16:11:33 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-20 05:26:47 +0300
commitd8a2fe29d3c97038c8efcc328d5e7940c5310565 (patch)
treeea76e6a6cce8363c1203666333d30dbea9100dc5 /tools/testing/selftests/powerpc/switch_endian
parent51eeef9e135ac00cf706fad1a3bde775ca578462 (diff)
downloadlinux-d8a2fe29d3c97038c8efcc328d5e7940c5310565.tar.xz
selftests/powerpc: Fix out-of-tree build errors
Some of our Makefiles don't do the right thing when building the selftests with O=, fix them up. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/switch_endian')
-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