summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/tune-microblaze.inc
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine/include/tune-microblaze.inc')
-rw-r--r--conf/machine/include/tune-microblaze.inc23
1 files changed, 11 insertions, 12 deletions
diff --git a/conf/machine/include/tune-microblaze.inc b/conf/machine/include/tune-microblaze.inc
index e6dd2295..6479afbf 100644
--- a/conf/machine/include/tune-microblaze.inc
+++ b/conf/machine/include/tune-microblaze.inc
@@ -1,18 +1,17 @@
1# Tune options for microblaze big endian 1# Tune options for microblaze
2# The only tune 'feature' defined here is the microblaze tune.
3# See the machine file (microblaze[el].conf) for details.
2 4
3DEFAULTTUNE ?= "microblaze" 5DEFAULTTUNE ?= "microblaze"
4TUNE_ARCH = "microblaze"
5TUNE_PKGARCH = "${TUNE_ARCH}"
6 6
7AVAILTUNES += "microblaze" 7TUNE_ARCH = "microblazeel"
8TUNE_FEATURES_tune-microblaze ?= "fpu-soft"
9PACKAGE_EXTRA_ARCHS_tune-microblaze = ""
10 8
11# FPU Configuration 9require conf/machine/include/tune-microblaze-features.inc
12TUNEVALID[fpu-soft] = "Use software FPU."
13TARGET_FPU = "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "soft", "", d)}"
14TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "-msoft-float", "", d)}"
15 10
16# CPU Version Configuration 11AVAILTUNES += "microblaze"
17TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "microblaze", "-mcpu=v8.30.a", "", d)}" 12TUNEVALID[microblaze] = "Microblaze"
13TUNE_FEATURES_tune-microblaze += "microblaze"
18 14
15TUNE_CCARGS += "${MBCCARGSENDIAN} ${MBCCARGSVERSION} ${MBCCARGSBARRELSHIFT} ${MBCCARGSMUL} ${MBCCARGSDIV} ${MBCCARGSFPU} ${MBCCARGSPATTERNCOMPARE} ${MBCCARGSREORDER}"
16TUNE_PKGARCH = "microblaze${MBPKGENDIAN}${MBPKGVERSION}${MBPKGBARRELSHIFT}${MBPKGMUL}${MBPKGDIV}${MBPKGFPU}${MBPKGSPATTERNCOMPARE}${MBPKGREORDER}"
17PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}"