selftests: Add install support for the powerpc tests
The bulk of the selftests are actually below the powerpc sub directory. This adds support for installing them, when on a powerpc machine, or if ARCH and CROSS_COMPILE are set appropriately. This is a little more complicated because of the sub directory structure under powerpc, but much of the common logic in lib.mk is still used. The net effect of the patch is still a reduction in code. Signed-off-by:Michael Ellerman <mpe@ellerman.id.au> Signed-off-by:
Shuah Khan <shuahkh@osg.samsung.com>
Showing
- tools/testing/selftests/powerpc/Makefile 17 additions, 2 deletionstools/testing/selftests/powerpc/Makefile
- tools/testing/selftests/powerpc/copyloops/Makefile 5 additions, 10 deletionstools/testing/selftests/powerpc/copyloops/Makefile
- tools/testing/selftests/powerpc/mm/Makefile 5 additions, 10 deletionstools/testing/selftests/powerpc/mm/Makefile
- tools/testing/selftests/powerpc/pmu/Makefile 26 additions, 22 deletionstools/testing/selftests/powerpc/pmu/Makefile
- tools/testing/selftests/powerpc/pmu/ebb/Makefile 5 additions, 8 deletionstools/testing/selftests/powerpc/pmu/ebb/Makefile
- tools/testing/selftests/powerpc/primitives/Makefile 5 additions, 10 deletionstools/testing/selftests/powerpc/primitives/Makefile
- tools/testing/selftests/powerpc/stringloops/Makefile 5 additions, 10 deletionstools/testing/selftests/powerpc/stringloops/Makefile
- tools/testing/selftests/powerpc/tm/Makefile 5 additions, 10 deletionstools/testing/selftests/powerpc/tm/Makefile
Please register or sign in to comment