summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/classes/xlnx-standalone.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2021-12-15 13:52:16 -0800
committerMark Hatle <mark.hatle@xilinx.com>2022-01-14 15:37:02 -0800
commitf900c6a0c8908e370689235230094308ec419cf9 (patch)
treebd9ca83e452c263c7a421b826086048cf8130f34 /meta-xilinx-core/classes/xlnx-standalone.bbclass
parentaaddcc3f785404da04af9ea3d005f2f520b4ec9e (diff)
downloadmeta-xilinx-f900c6a0c8908e370689235230094308ec419cf9.tar.gz
Initial restructure/split of meta-xilinx-bsp
Create a new meta-xilinx-core, move core functionality to the core, keeping board specific files in the bsp layer. zynqmp-generic changed from require <board> to include, so if meta-xilinx-bsp is not available it will not fail. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-core/classes/xlnx-standalone.bbclass')
-rw-r--r--meta-xilinx-core/classes/xlnx-standalone.bbclass16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-xilinx-core/classes/xlnx-standalone.bbclass b/meta-xilinx-core/classes/xlnx-standalone.bbclass
new file mode 100644
index 00000000..9232b1ef
--- /dev/null
+++ b/meta-xilinx-core/classes/xlnx-standalone.bbclass
@@ -0,0 +1,16 @@
1# Only enabled when ilp32 is enabled.
2def xlnx_ilp32_dict(machdata, d):
3 machdata["elf"] = {
4 "aarch64" : (183, 0, 0, True, 32),
5 "aarch64_be" :(183, 0, 0, False, 32),
6 }
7 return machdata
8
9# Only enabled when microblaze64 is enabled.
10def xlnx_mb64_dict(machdata, d):
11 machdata["elf"] = {
12 "microblaze": (189, 0, 0, False, 64),
13 "microblazeeb":(189, 0, 0, False, 64),
14 "microblazeel":(189, 0, 0, True, 64),
15 }
16 return machdata