diff options
| author | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-03-26 15:07:21 +1000 |
|---|---|---|
| committer | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-03-26 15:08:21 +1000 |
| commit | d3d260098ec9c39d14de72b9dda3e4853550b08b (patch) | |
| tree | 884244de90be638ba0615de944b852aad7490251 /conf/machine/include/tune-microblaze.inc | |
| parent | a7296dcbf65798e40c4ed7626da07ab7d25adeca (diff) | |
| download | meta-xilinx-d3d260098ec9c39d14de72b9dda3e4853550b08b.tar.gz | |
tune-microblaze: Refactored
* Added features with CFLAG mappings
* Added version features for v7.3-.a to v8.50.a
* Added MicroBlaze PACKAGE_ARCH expansion e.g. "microblazeel-v830-cmp"
Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
Diffstat (limited to 'conf/machine/include/tune-microblaze.inc')
| -rw-r--r-- | conf/machine/include/tune-microblaze.inc | 23 |
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 | ||
| 3 | DEFAULTTUNE ?= "microblaze" | 5 | DEFAULTTUNE ?= "microblaze" |
| 4 | TUNE_ARCH = "microblaze" | ||
| 5 | TUNE_PKGARCH = "${TUNE_ARCH}" | ||
| 6 | 6 | ||
| 7 | AVAILTUNES += "microblaze" | 7 | TUNE_ARCH = "microblazeel" |
| 8 | TUNE_FEATURES_tune-microblaze ?= "fpu-soft" | ||
| 9 | PACKAGE_EXTRA_ARCHS_tune-microblaze = "" | ||
| 10 | 8 | ||
| 11 | # FPU Configuration | 9 | require conf/machine/include/tune-microblaze-features.inc |
| 12 | TUNEVALID[fpu-soft] = "Use software FPU." | ||
| 13 | TARGET_FPU = "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "soft", "", d)}" | ||
| 14 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "-msoft-float", "", d)}" | ||
| 15 | 10 | ||
| 16 | # CPU Version Configuration | 11 | AVAILTUNES += "microblaze" |
| 17 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "microblaze", "-mcpu=v8.30.a", "", d)}" | 12 | TUNEVALID[microblaze] = "Microblaze" |
| 13 | TUNE_FEATURES_tune-microblaze += "microblaze" | ||
| 18 | 14 | ||
| 15 | TUNE_CCARGS += "${MBCCARGSENDIAN} ${MBCCARGSVERSION} ${MBCCARGSBARRELSHIFT} ${MBCCARGSMUL} ${MBCCARGSDIV} ${MBCCARGSFPU} ${MBCCARGSPATTERNCOMPARE} ${MBCCARGSREORDER}" | ||
| 16 | TUNE_PKGARCH = "microblaze${MBPKGENDIAN}${MBPKGVERSION}${MBPKGBARRELSHIFT}${MBPKGMUL}${MBPKGDIV}${MBPKGFPU}${MBPKGSPATTERNCOMPARE}${MBPKGREORDER}" | ||
| 17 | PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}" | ||
