mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-30 06:53:05 +00:00
4575b35479
This code is gated behind the CHAINLOADING define. To build a release-style m1n1 with chainloading for use with the installer or kmutil, use: make CHAINLOADING=1 RELEASE=1 To tell m1n1 to chainload another binary, use this var payload: chainload=<ESP partition UUID>;<file path> e.g. chainload=a17b7e46-e950-bb4f-bc82-8ab1047a058e;m1n1/m1n1.bin Closes: #154 Co-authored-by: Finn Behrens <me@kloenk.dev> Co-authored-by: Joey Gouly <joey.gouly@arm.com> Signed-off-by: Hector Martin <marcan@marcan.st>
26 lines
746 B
TOML
26 lines
746 B
TOML
[package]
|
|
name = "rust"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
repository = "https://github.com/AsahiLinux/m1n1"
|
|
license = "MIT"
|
|
publish = false
|
|
|
|
[lib]
|
|
crate-type = [ "staticlib" ]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[dependencies]
|
|
fatfs = { path = "vendor/rust-fatfs", default-features = false, features = ["lfn", "alloc"] }
|
|
cstr_core = "0.2.5"
|
|
uuid = { version = "1.0.0-alpha.1", default-features = false }
|
|
cty = "0.2.2"
|
|
|
|
[patch.crates-io]
|
|
uuid = { path = "vendor/uuid" }
|
|
cty = { path = "vendor/cty" }
|
|
cstr_core = { path = "vendor/cstr_core" }
|
|
memchr = { path = "vendor/memchr" }
|
|
log = { path = "vendor/log" }
|
|
bitflags = { path = "vendor/bitflags" }
|
|
cfg-if = { path = "vendor/cfg-if" }
|