tests: Rewrite Makefiles for pthreads test
authorAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 10 Jan 2019 11:41:57 +0000 (11:41 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 12 Feb 2019 10:28:09 +0000 (10:28 +0000)
commit1f008aa0348f5aaa1df5b337661e95821b98f07a
tree10f70e6a09db1343729c6c67a171ad01664d226e
parentef71a987c1987f7543d3bf76ed9e5ce62f4d1daa
tests: Rewrite Makefiles for pthreads test

The Makefiles for the pthreads test don't behave like typical
Makefiles that support cross compilation. Rewrite the Makefile to make
cross-compilation more convenient and add targets for aarch{32,64}.

Change-Id: I7cae378492681744b6bb11dd5af69db81ec54229
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/16022
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
tests/test-progs/pthread/Makefile.aarch32 [new file with mode: 0644]
tests/test-progs/pthread/Makefile.aarch64 [new file with mode: 0644]
tests/test-progs/pthread/Makefile.common [new file with mode: 0644]
tests/test-progs/pthread/Makefile.riscv
tests/test-progs/pthread/Makefile.x86