diff options
| author | Nathan Rossi <nathan.rossi@xilinx.com> | 2012-10-04 17:34:31 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2012-10-04 17:34:31 +1000 |
| commit | 7e95d33136ac8a6652ae7af9fd391696651c65f1 (patch) | |
| tree | bef54eedcdfd8510040992daccae73639f8e5403 /conf | |
| parent | 922046612f55f06a972b9d27ae544413fb343bb1 (diff) | |
| download | meta-xilinx-7e95d33136ac8a6652ae7af9fd391696651c65f1.tar.gz | |
Added 'microblazeel' machine and tune configuration.
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/machine/include/tune-microblazeel.inc | 22 | ||||
| -rw-r--r-- | conf/machine/microblazeel.conf | 12 |
2 files changed, 34 insertions, 0 deletions
diff --git a/conf/machine/include/tune-microblazeel.inc b/conf/machine/include/tune-microblazeel.inc new file mode 100644 index 00000000..f27dc5e1 --- /dev/null +++ b/conf/machine/include/tune-microblazeel.inc | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # Tune options for microblaze endian little | ||
| 2 | DEFAULTTUNE ?= "microblazeel" | ||
| 3 | |||
| 4 | #TUNEVALID[m32] = "Microblaze ELF32 standard ABI" | ||
| 5 | #TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m32", "", "", d)}" | ||
| 6 | TUNE_ARCH = "microblazeel" | ||
| 7 | #"${@bb.utils.contains("TUNE_FEATURES", "m32", "microblazeel", "", d)}" | ||
| 8 | |||
| 9 | TUNEVALID[fpu-soft] = "Use software FPU." | ||
| 10 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "-msoft-float", "", d)}" | ||
| 11 | TARGET_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "soft", "", d)}" | ||
| 12 | |||
| 13 | TUNE_PKGARCH = "${TUNE_ARCH}" | ||
| 14 | |||
| 15 | AVAILTUNES += "microblazeel" | ||
| 16 | TUNE_FEATURES_tune-microblazeel ?= "fpu-soft" | ||
| 17 | PACKAGE_EXTRA_ARCHS_tune-microblazeel = "" | ||
| 18 | |||
| 19 | TARGET_FPU = "soft" | ||
| 20 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "microblazeel", "-mcpu=v8.30.a", "", d)}" | ||
| 21 | |||
| 22 | #MACHINEOVERRIDES .= "microblaze" | ||
diff --git a/conf/machine/microblazeel.conf b/conf/machine/microblazeel.conf new file mode 100644 index 00000000..68cad246 --- /dev/null +++ b/conf/machine/microblazeel.conf | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #@TYPE: Machine | ||
| 2 | #@NAME: microblazeel | ||
| 3 | #@DESCRIPTION: microblazeel | ||
| 4 | |||
| 5 | TARGET_CPU = "microblazeel" | ||
| 6 | MACHINE_FEATURES := "" | ||
| 7 | |||
| 8 | require conf/machine/include/tune-microblazeel.inc | ||
| 9 | |||
| 10 | KERNEL_IMAGETYPE = "uImage" | ||
| 11 | |||
| 12 | SERIAL_CONSOLE = "115200 ttyPS0" | ||
