selftests/powerpc/ptrace: Split CFLAGS better
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 27 Jun 2022 14:02:29 +0000 (00:02 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 25 Jul 2022 02:05:15 +0000 (12:05 +1000)
commit3c20a1d07c377d7260ca853e216cc85bbd7857fa
treee4fbe5cac1b7bd610ef6a53f4226f8a13088e4bd
parentcf4baafd7846b3def67057a09b7603a6b566417a
selftests/powerpc/ptrace: Split CFLAGS better

Currently all ptrace tests are built 64-bit and with TM enabled.

Only the TM tests need TM enabled, so split those out into a separate
variable so that can be specified precisely.

Split the rest of the tests into a variable, and add -m64 to CFLAGS for
those tests, so that in a subsequent patch some tests can be made to
build 32-bit.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220627140239.2464900-3-mpe@ellerman.id.au
tools/testing/selftests/powerpc/ptrace/Makefile