selftests/powerpc: Fix missing clean of pmu/lib.o
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Feb 2018 04:15:56 +0000 (15:15 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Feb 2018 11:28:35 +0000 (22:28 +1100)
commitb7abbd5a3533a31a1e7d4696ea275df543440c51
tree2d5b219764e7cadfc1cc81a1c368c4f89fdf8cc9
parent64c3f648c25d108f346fdc96c15180c6b7d250e9
selftests/powerpc: Fix missing clean of pmu/lib.o

The tm-resched-dscr test links against pmu/lib.o, but we don't have a
rule to clean pmu/lib.o. This can lead to a build break if you build
for big endian and then little, or vice versa.

Fix it by making tm-resched-dscr depend on pmu/lib.c, causing the code
to be built directly in, meaning no .o is generated.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/tm/Makefile