]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88d92a747d57de27e7c606d2e8742013baeb2f91
treee4fbe5cac1b7bd610ef6a53f4226f8a13088e4bd
parent520639a3b9371db6ae3ef0e5853cf5fd42af8eed
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