]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests: powerpc: Fix warning for security subdir
authorJoel Stanley <joel@jms.id.au>
Mon, 22 Oct 2018 12:09:26 +0000 (22:39 +1030)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 31 Oct 2018 03:36:33 +0000 (14:36 +1100)
commita0aebae07f211c05d64be886e56d352eea86350b
treeaef857c64fc205a4d142c97eae38e20039e63b43
parenta95ecac5cb2fc8a8ee606991384d33ee121df00c
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>
tools/testing/selftests/powerpc/security/Makefile