You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rustc_target: Add OpenEmbedded/Yocto Linux base targets
Add built-in OpenEmbedded/Yocto Linux targets for x86_64, i686,
aarch64, armv7, and riscv64.
These targets inherit from the corresponding upstream Linux GNU
targets and provide OpenEmbedded-specific target triples and
default linker settings. They are intended to serve as base
targets for downstream Yocto/OpenEmbedded-generated targets,
allowing vendor-specific targets to override metadata (for
example, TARGET_VENDOR) while reusing a common target
configuration.
This reduces duplication in Yocto-based Rust integrations and
avoids maintaining downstream copies of largely identical target
specifications.
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
[`armv7-oe-linux-gnueabihf`](platform-support/oe-linux-gnu.md) | ✓ | | ARMv7 OpenEmbedded/Yocto Linux (GNU)
312
314
[`armv7-rtems-eabihf`](platform-support/armv7-rtems-eabihf.md) | ? | | RTEMS OS for ARM BSPs
313
315
[`armv7-sony-vita-newlibeabihf`](platform-support/armv7-sony-vita-newlibeabihf.md) | ✓ | | Armv7-A Cortex-A9 Sony PlayStation Vita (requires VITASDK toolchain)
Targets for OpenEmbedded/Yocto-based Linux systems.
6
+
7
+
Target triplets available:
8
+
9
+
*`x86_64-oe-linux-gnu`
10
+
*`aarch64-oe-linux-gnu`
11
+
*`i686-oe-linux-gnu`
12
+
*`armv7-oe-linux-gnueabihf`
13
+
*`riscv64-oe-linux-gnu`
14
+
15
+
## Target maintainers
16
+
17
+
[@DeepeshWR](https://github.com/DeepeshWR)
18
+
19
+
## Requirements
20
+
21
+
### Operating System
22
+
23
+
These targets are intended for Linux systems built using the OpenEmbedded and Yocto Project build systems.
24
+
25
+
### C Toolchain
26
+
27
+
The targets use the architecture-specific OpenEmbedded GCC driver as the default linker and therefore require the corresponding OpenEmbedded cross-compilation toolchain to be available in the build environment.
28
+
29
+
## Building
30
+
31
+
These targets are intended for use with the OpenEmbedded/Yocto build system. They provide base target definitions from which downstream Yocto-generated targets may inherit.
32
+
33
+
## Building Rust programs
34
+
35
+
Rust does not currently ship precompiled artifacts for these targets.
36
+
37
+
Downstream Yocto-generated targets may inherit from these base OpenEmbedded targets and customize metadata or vendor-specific configuration as needed.
38
+
39
+
## Cross-compilation toolchains and C code
40
+
41
+
The targets support linking with C code through the corresponding OpenEmbedded cross-compilation toolchains.
0 commit comments