selftests/powerpc: Pass make context to children
authorBenjamin Gray <bgray@linux.ibm.com>
Tue, 28 Feb 2023 00:07:08 +0000 (11:07 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 30 Mar 2023 12:35:43 +0000 (23:35 +1100)
commit4ecd0868c5138238dec8a1549bb6ff8e5b48208b
treedde8a4ba964b5ea95864e9e549c5aea6a269471d
parent69608683a65be5322ef44091eaeb9890472b2eea
selftests/powerpc: Pass make context to children

Make supports passing the 'jobserver' (parallel make support) to child
invocations of make when either
1. The target command uses $(MAKE) directly
2. The command starts with '+'

This context is not passed through expansions that result in $(MAKE), so
the macros used in several places fail to pass on the jobserver context.
Warnings are also raised by the child mentioning this.

Prepend macros lines that invoke $(MAKE) with '+' to allow passing the
jobserver context to these children.

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230228000709.124727-3-bgray@linux.ibm.com
tools/testing/selftests/powerpc/Makefile
tools/testing/selftests/powerpc/pmu/Makefile