aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/security
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-10-22 22:39:26 +1030
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-31 14:36:33 +1100
commita0aebae07f211c05d64be886e56d352eea86350b (patch)
treeaef857c64fc205a4d142c97eae38e20039e63b43 /tools/testing/selftests/powerpc/security
parentselftests/powerpc: Relax L1d miss targets for rfi_flush test (diff)
downloadlinux-dev-a0aebae07f211c05d64be886e56d352eea86350b.tar.xz
linux-dev-a0aebae07f211c05d64be886e56d352eea86350b.zip
selftests: powerpc: Fix warning for security subdir
typing 'make' inside tools/testing/selftests/powerpc gave a build warning: BUILD_TARGET=tools/testing/selftests/powerpc/security; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C security all make[1]: Entering directory 'tools/testing/selftests/powerpc/security' ../../lib.mk:20: ../../../../scripts/subarch.include: No such file or directory make[1]: *** No rule to make target '../../../../scripts/subarch.include'. make[1]: Failed to remake makefile '../../../../scripts/subarch.include'. The build is one level deeper than lib.mk thinks it is. Set top_srcdir to set things straight. Note that the test program is still built. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/security')
-rw-r--r--tools/testing/selftests/powerpc/security/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/security/Makefile b/tools/testing/selftests/powerpc/security/Makefile
index 44690f1bb26a..85861c46b445 100644
--- a/tools/testing/selftests/powerpc/security/Makefile
+++ b/tools/testing/selftests/powerpc/security/Makefile
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0+
TEST_GEN_PROGS := rfi_flush
+top_srcdir = ../../../../..
CFLAGS += -I../../../../../usr/include