Subject: Re: [1/5] selftests/powerpc/ptrace: Fix out-of-tree build

From: Michael Ellerman <[email-masked]>
Date: Thu, 1 Nov 2018 23:46:52 +1100 (AEDT)

On Mon, 2018-10-29 at 11:23:49 UTC, Michael Ellerman wrote:
> From: Joel Stanley <[email-masked]>
> 
> 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 ptrace-pkey and core-pkey rules to use
> $(OUTPUT).
> 
> Signed-off-by: Joel Stanley <[email-masked]>
> Signed-off-by: Michael Ellerman <[email-masked]>

Series applied to powerpc next.

https://git.kernel.org/powerpc/c/c39b79082a38a4f8c801790edecbbb

cheers