[Buildroot] [PATCH] tinymembench: prevent the selection of this package on MIPS64 platforms

Vicente Olivert Riera Vincent.Riera at imgtec.com
Thu Nov 21 17:37:33 UTC 2013


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 at 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 @@
 config BR2_PACKAGE_TINYMEMBENCH
 	bool "tinymembench"
+	depends on !BR2_mips64 && !BR2_mips64el
 	help
 	  Tinymembench is a simple memory benchmark program, which
 	  tries to measure the peak bandwidth of sequential memory
-- 
1.7.1




More information about the buildroot mailing list