selftests/powerpc/cache_shape: Fix out-of-tree build
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Oct 2018 11:23:53 +0000 (22:23 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 31 Oct 2018 12:56:22 +0000 (23:56 +1100)
commit69f8117f17b332a68cd8f4bf8c2d0d3d5b84efc5
tree5fa07a18c46ece1f4950306181f23b1275a5b4e8
parent266bac361d5677e61a6815bd29abeb3bdced2b07
selftests/powerpc/cache_shape: Fix out-of-tree build

Use TEST_GEN_PROGS and don't redefine all, this makes the out-of-tree
build work. We need to move the extra dependencies below the include
of lib.mk, because it adds the $(OUTPUT) prefix if it's defined.

We can also drop the clean rule, lib.mk does it for us.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/cache_shape/Makefile