linux/tools/testing/selftests/powerpc/tm
Michael Ellerman 7e0cf1c983 selftests/powerpc: Fix Makefiles for headers_install change
Commit b2d35fa5fc ("selftests: add headers_install to lib.mk")
introduced a requirement that Makefiles more than one level below the
selftests directory need to define top_srcdir, but it didn't update
any of the powerpc Makefiles.

This broke building all the powerpc selftests with eg:

  make[1]: Entering directory '/src/linux/tools/testing/selftests/powerpc'
  BUILD_TARGET=/src/linux/tools/testing/selftests/powerpc/alignment; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C alignment all
  make[2]: Entering directory '/src/linux/tools/testing/selftests/powerpc/alignment'
  ../../lib.mk:20: ../../../../scripts/subarch.include: No such file or directory
  make[2]: *** No rule to make target '../../../../scripts/subarch.include'.
  make[2]: Failed to remake makefile '../../../../scripts/subarch.include'.
  Makefile:38: recipe for target 'alignment' failed

Fix it by setting top_srcdir in the affected Makefiles.

Fixes: b2d35fa5fc ("selftests: add headers_install to lib.mk")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-09-28 15:07:45 +10:00
..
.gitignore selftests/powerpc: Add missing .gitignores 2018-05-25 00:08:25 +10:00
Makefile selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
tm-exec.c selftests/powerpc: exec() with suspended transaction 2016-07-26 14:28:22 +10:00
tm-fork.c selftests/powerpc: Add test for forking inside transaction 2016-05-11 21:54:13 +10:00
tm-resched-dscr.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tm-signal-context-chk-fpu.c selftests/powerpc: Add checks for transactional FPUs in signal contexts 2016-10-04 20:33:14 +11:00
tm-signal-context-chk-gpr.c selftests/powerpc: Add checks for transactional GPRs in signal contexts 2016-10-04 20:33:12 +11:00
tm-signal-context-chk-vmx.c selftests/powerpc: Add checks for transactional VMXs in signal contexts 2016-10-04 20:33:14 +11:00
tm-signal-context-chk-vsx.c selftests/powerpc: Add checks for transactional VSXs in signal contexts 2016-10-04 20:33:15 +11:00
tm-signal-msr-resv.c selftests/powerpc: Fix out of bounds access in TM signal test 2016-03-02 23:34:45 +11:00
tm-signal-stack.c selftests/powerpc: Standardise TM calls 2016-05-11 21:54:12 +10:00
tm-signal.S selftests/powerpc: Move shared headers into new include dir 2016-11-17 17:11:47 +11:00
tm-sigreturn.c selftests/powerpc: Only run some tests on ppc64le 2018-08-07 21:49:25 +10:00
tm-syscall-asm.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tm-syscall.c selftests/powerpc: exec() with suspended transaction 2016-07-26 14:28:22 +10:00
tm-tar.c selftests/powerpc: Only run some tests on ppc64le 2018-08-07 21:49:25 +10:00
tm-tmspr.c selftests/powerpc: Add test to check if TM SPRs are corrupted 2016-05-11 21:54:14 +10:00
tm-trap.c selftests/powerpc: Skip tm-trap if transactional memory is not enabled 2018-02-26 13:18:25 +11:00
tm-unavailable.c selftests/powerpc: Skip tm-unavailable if TM is not enabled 2018-03-13 15:10:15 +11:00
tm-vmx-unavail.c selftests/powerpc: Test TM and VMX register state 2017-05-16 13:03:05 +10:00
tm-vmxcopy.c selftests/powerpc: Only run some tests on ppc64le 2018-08-07 21:49:25 +10:00
tm.h selftests/powerpc: Check FP/VEC on exception in TM 2017-11-09 15:50:21 +11:00