selftests, x86: Rework x86 target architecture detection
authorAndy Lutomirski <luto@kernel.org>
Mon, 11 May 2015 22:11:36 +0000 (15:11 -0700)
committerShuah Khan <shuahkh@osg.samsung.com>
Wed, 13 May 2015 02:02:40 +0000 (20:02 -0600)
We currently fail to build on a non-multilib x86_64 target.  We
print a helpful error, but it's nicer to allow the build to succeed.
Fix it and improve cross-compilation support by detecting
architecture support directly and building only the relevant tests.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>

No differences found