selftests/powerpc: Fix Makefiles for headers_install change
Commit b2d35fa5 ("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: b2d35fa5 ("selftests: add headers_install to lib.mk") Signed-off-by:Michael Ellerman <mpe@ellerman.id.au>
Showing
- tools/testing/selftests/powerpc/alignment/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/alignment/Makefile
- tools/testing/selftests/powerpc/benchmarks/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/benchmarks/Makefile
- tools/testing/selftests/powerpc/cache_shape/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/cache_shape/Makefile
- tools/testing/selftests/powerpc/copyloops/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/copyloops/Makefile
- tools/testing/selftests/powerpc/dscr/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/dscr/Makefile
- tools/testing/selftests/powerpc/math/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/math/Makefile
- tools/testing/selftests/powerpc/mm/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/mm/Makefile
- tools/testing/selftests/powerpc/pmu/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/pmu/Makefile
- tools/testing/selftests/powerpc/pmu/ebb/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/pmu/ebb/Makefile
- tools/testing/selftests/powerpc/primitives/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/primitives/Makefile
- tools/testing/selftests/powerpc/ptrace/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/ptrace/Makefile
- tools/testing/selftests/powerpc/signal/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/signal/Makefile
- tools/testing/selftests/powerpc/stringloops/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/stringloops/Makefile
- tools/testing/selftests/powerpc/switch_endian/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/switch_endian/Makefile
- tools/testing/selftests/powerpc/syscalls/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/syscalls/Makefile
- tools/testing/selftests/powerpc/tm/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/tm/Makefile
- tools/testing/selftests/powerpc/vphn/Makefile 1 addition, 0 deletionstools/testing/selftests/powerpc/vphn/Makefile
Loading
Please register or sign in to comment