Support for drivers in Rust
Some preparatory changes:
- Add '
c_' prefix to compiler configuration field and variables - module: Disable
MODVERSIONSandMODULE_ALLOW_BTF_MISMATCH - d/l/p/debian_linux/debian.py: Allow adding restrictions to
PackageRelationGroup
Infrastructure changes for building (or not building) Rust code:
- Implement configuration for Rust compiler and other build-dependencies
- d/rules.real: Set
KRUSTFLAGSandHOSTRUSTFLAGSto make filenames relative
Configuration changes to enable it and the currently useful Rust code:
- [amd64,arm64,armhf,loong64,riscv64] Enable building Rust drivers and features
- Enable Rust PHY drivers and their dependencies
- Enable DRM panic handler with QR code generator
Edited by Ben Hutchings