summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2012-10-04 17:34:31 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2012-10-04 17:34:31 +1000
commit7e95d33136ac8a6652ae7af9fd391696651c65f1 (patch)
treebef54eedcdfd8510040992daccae73639f8e5403
parent922046612f55f06a972b9d27ae544413fb343bb1 (diff)
downloadmeta-xilinx-7e95d33136ac8a6652ae7af9fd391696651c65f1.tar.gz
Added 'microblazeel' machine and tune configuration.
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--conf/machine/include/tune-microblazeel.inc22
-rw-r--r--conf/machine/microblazeel.conf12
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
2DEFAULTTUNE ?= "microblazeel"
3
4#TUNEVALID[m32] = "Microblaze ELF32 standard ABI"
5#TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m32", "", "", d)}"
6TUNE_ARCH = "microblazeel"
7#"${@bb.utils.contains("TUNE_FEATURES", "m32", "microblazeel", "", d)}"
8
9TUNEVALID[fpu-soft] = "Use software FPU."
10TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "-msoft-float", "", d)}"
11TARGET_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "soft", "", d)}"
12
13TUNE_PKGARCH = "${TUNE_ARCH}"
14
15AVAILTUNES += "microblazeel"
16TUNE_FEATURES_tune-microblazeel ?= "fpu-soft"
17PACKAGE_EXTRA_ARCHS_tune-microblazeel = ""
18
19TARGET_FPU = "soft"
20TUNE_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
5TARGET_CPU = "microblazeel"
6MACHINE_FEATURES := ""
7
8require conf/machine/include/tune-microblazeel.inc
9
10KERNEL_IMAGETYPE = "uImage"
11
12SERIAL_CONSOLE = "115200 ttyPS0"