tinymembench: prevent the selection of this package on MIPS64 platforms

Message ID 1385055453-45500-1-git-send-email-Vincent.Riera@imgtec.com
State Accepted
Commit 9883cbd3678be65bdca10a124ba6cb7fd1f008d3
Headers show

Commit Message

Vicente Olivert Riera Nov. 21, 2013, 5:37 p.m.
This package is only supported on MIPS32 platforms. The mips-32.S file included
in the source code of this package only makes sense to be compiled for MIPS32,
and also contains hardcoded MIPS32 instructions which are illegal on MIPS64.
Trying to compile this package on a MIPS64 platform will end with a linkage
failure due to undefined references.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
 package/tinymembench/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/package/tinymembench/Config.in b/package/tinymembench/Config.in
index 0d45532..0555b19 100644
--- a/package/tinymembench/Config.in
+++ b/package/tinymembench/Config.in
@@ -1,5 +1,6 @@ 
 	bool "tinymembench"
+	depends on !BR2_mips64 && !BR2_mips64el
 	  Tinymembench is a simple memory benchmark program, which
 	  tries to measure the peak bandwidth of sequential memory