selftests: Add install support for the powerpc tests
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 Mar 2015 04:06:01 +0000 (15:06 +1100)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 19 Mar 2015 18:38:51 +0000 (12:38 -0600)
commit6faeeea44b84ce24fc6c1f1beb07ee5de9885dc8
treeee9e473870eea00b5672564825bfab7e374fed3b
parent5744de542dd4b963c2975e6f70844ce2899864e4
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>
tools/testing/selftests/powerpc/Makefile
tools/testing/selftests/powerpc/copyloops/Makefile
tools/testing/selftests/powerpc/mm/Makefile
tools/testing/selftests/powerpc/pmu/Makefile
tools/testing/selftests/powerpc/pmu/ebb/Makefile
tools/testing/selftests/powerpc/primitives/Makefile
tools/testing/selftests/powerpc/stringloops/Makefile
tools/testing/selftests/powerpc/tm/Makefile