Commit Graph
2 Commits
Author SHA1 Message Date
Martin Kelly 390db010c9 selftest, x86: fix incorrect comment
The current comment indicates it's checking for a 32-bit build
environment, but it actually checks for a 64-bit environment. Fix this.

Signed-off-by: Martin Kelly <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
2015-05-26 15:58:41 -06:00
Andy Lutomirski e9886ace22 selftests, x86: Rework x86 target architecture detection
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 <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
2015-05-12 20:02:40 -06:00