summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-05-05 14:05:02 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2015-05-05 14:05:02 +1000
commit683e123845c7e4633eb9619c316d0c07bc2b5e18 (patch)
tree0247395c638bc490d01d96848e5e3b76bbaa9376
parentbd8a2e2a6714f027b9bb0fdca99031bfe5f99fed (diff)
downloadmeta-xilinx-683e123845c7e4633eb9619c316d0c07bc2b5e18.tar.gz
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 <nathan.rossi@xilinx.com>
-rw-r--r--conf/machine/include/tune-microblaze-features.inc3
1 files changed, 2 insertions, 1 deletions
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
9require conf/machine/include/microblaze/feature-microblaze-reorder.inc 9require conf/machine/include/microblaze/feature-microblaze-reorder.inc
10 10
11# Architecture name, either 'microblaze' or 'microblazeel' depending on endianess 11# Architecture name, either 'microblaze' or 'microblazeel' depending on endianess
12TUNE_ARCH = "microblaze${@bb.utils.contains("TUNE_FEATURES", "little-endian", "el", "" ,d)}" 12TUNE_ARCH = "microblaze${@bb.utils.contains("TUNE_FEATURES", "little-endian", "el", "eb" ,d)}"
13 13
14# Compiler args 14# Compiler args
15TUNE_CCARGS += "${MBCCARGSENDIAN} ${MBCCARGSVERSION} ${MBCCARGSBARRELSHIFT} ${MBCCARGSMUL} ${MBCCARGSDIV} ${MBCCARGSFPU} ${MBCCARGSPATTERNCOMPARE} ${MBCCARGSREORDER}" 15TUNE_CCARGS += "${MBCCARGSENDIAN} ${MBCCARGSVERSION} ${MBCCARGSBARRELSHIFT} ${MBCCARGSMUL} ${MBCCARGSDIV} ${MBCCARGSFPU} ${MBCCARGSPATTERNCOMPARE} ${MBCCARGSREORDER}"
@@ -17,3 +17,4 @@ TUNE_CCARGS += "${MBCCARGSENDIAN} ${MBCCARGSVERSION} ${MBCCARGSBARRELSHIFT} ${MB
17# Package Architecture formatting 17# Package Architecture formatting
18MBPKGMATH = "${MBPKGMUL}${MBPKGDIV}${MBPKGFPU}" 18MBPKGMATH = "${MBPKGMUL}${MBPKGDIV}${MBPKGFPU}"
19TUNE_PKGARCH = "microblaze${MBPKGENDIAN}${MBPKGVERSION}${MBPKGBARRELSHIFT}${MBPKGSPATTERNCOMPARE}${MBPKGREORDER}${MBPKGMATH}" 19TUNE_PKGARCH = "microblaze${MBPKGENDIAN}${MBPKGVERSION}${MBPKGBARRELSHIFT}${MBPKGSPATTERNCOMPARE}${MBPKGREORDER}${MBPKGMATH}"
20