rt-tests: Makefile get machinetype from compiler instead of uname

Fix the machinetype check for cross-compiling.

This has been tested on an x86_64  Fedora host for an x86_64 target and
an ARM target.  Additional testing would be greatly appreciated.

As Darren Hart and John Kacur surmised, the problem I'm trying to fix is that
the machinetype got the host machine type instead of the target
machine type.

Signed-off-by: Frank Rowand <frank.rowand@am.sony.com>

Built in Yocto using an ARM cross compiler and ran cyclictest in qemuarm
with the resulting image. Appears sane.

Tested-by: Darren Hart <dvhart@linux.intel.com>

Signed-off-by: John Kacur <jkacur@redhat.com>
1 file changed
tree: 0ffdb6fea4a5d1345bc31aab673209b1405abcf7
  1. doc/
  2. scripts/
  3. src/
  4. .gitignore
  5. COPYING
  6. Makefile
  7. rt-tests.spec-in