selftests/powerpc/signal: Fix out-of-tree build
authorJoel Stanley <joel@jms.id.au>
Mon, 29 Oct 2018 11:23:50 +0000 (22:23 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 31 Oct 2018 12:56:20 +0000 (23:56 +1100)
commit27825349d7b238533a47e3d98b8bb0efd886b752
treeefaacc878eb98b67e3a561b3d4c21c5f55172fdf
parentc39b79082a38a4f8c801790edecbbb4d62ed2992
selftests/powerpc/signal: Fix out-of-tree build

We should use TEST_GEN_PROGS, not TEST_PROGS. That tells the selftests
makefile (lib.mk) that those tests are generated (built), and so it
adds the $(OUTPUT) prefix for us, making the out-of-tree build work
correctly.

It also means we don't need our own clean rule, lib.mk does it.

We also have to update the signal_tm rule to use $(OUTPUT).

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/signal/Makefile