From 683e123845c7e4633eb9619c316d0c07bc2b5e18 Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Tue, 5 May 2015 14:05:02 +1000 Subject: tune-microblaze-features.inc: Force either 'el' or 'eb' for TUNE_ARCH * Change the TUNE_ARCH variable so that for MicroBlaze the endianess in part of the TUNE_ARCH value * This causes the triplet for MicroBlaze targets to have either microblazeel or microblazeeb and prevents any confusion about defaults Signed-off-by: Nathan Rossi --- conf/machine/include/tune-microblaze-features.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'conf/machine') diff --git a/conf/machine/include/tune-microblaze-features.inc b/conf/machine/include/tune-microblaze-features.inc index fd7e0c8f..ad08a186 100644 --- a/conf/machine/include/tune-microblaze-features.inc +++ b/conf/machine/include/tune-microblaze-features.inc @@ -9,7 +9,7 @@ require conf/machine/include/microblaze/feature-microblaze-pattern-compare.inc require conf/machine/include/microblaze/feature-microblaze-reorder.inc # Architecture name, either 'microblaze' or 'microblazeel' depending on endianess -TUNE_ARCH = "microblaze${@bb.utils.contains("TUNE_FEATURES", "little-endian", "el", "" ,d)}" +TUNE_ARCH = "microblaze${@bb.utils.contains("TUNE_FEATURES", "little-endian", "el", "eb" ,d)}" # Compiler args TUNE_CCARGS += "${MBCCARGSENDIAN} ${MBCCARGSVERSION} ${MBCCARGSBARRELSHIFT} ${MBCCARGSMUL} ${MBCCARGSDIV} ${MBCCARGSFPU} ${MBCCARGSPATTERNCOMPARE} ${MBCCARGSREORDER}" @@ -17,3 +17,4 @@ TUNE_CCARGS += "${MBCCARGSENDIAN} ${MBCCARGSVERSION} ${MBCCARGSBARRELSHIFT} ${MB # Package Architecture formatting MBPKGMATH = "${MBPKGMUL}${MBPKGDIV}${MBPKGFPU}" TUNE_PKGARCH = "microblaze${MBPKGENDIAN}${MBPKGVERSION}${MBPKGBARRELSHIFT}${MBPKGSPATTERNCOMPARE}${MBPKGREORDER}${MBPKGMATH}" + -- cgit v1.2.3-54-g00ecf