diff --git a/local/recipes/drivers/linux-kpi/recipe.toml b/local/recipes/drivers/linux-kpi/recipe.toml index 47a79897..4e88eb6c 100644 --- a/local/recipes/drivers/linux-kpi/recipe.toml +++ b/local/recipes/drivers/linux-kpi/recipe.toml @@ -1,8 +1,15 @@ +#TODO: linux-kpi — build-ordering marker. Downstream driver builds compile the crate via Cargo path deps. +# The cookbook cargo template cannot install a library-only crate cleanly here, so keep this as a +# custom no-op recipe until the cookbook grows first-class Rust library packaging. [source] path = "source" [build] -template = "cargo" +template = "custom" dependencies = [ "redox-driver-sys", ] +script = """ +echo "linux-kpi: build-ordering marker — actual crate is compiled by downstream Cargo builds" +mkdir -p "${COOKBOOK_STAGE}/usr" +""" diff --git a/local/recipes/gpu/redox-drm/source/Cargo.toml b/local/recipes/gpu/redox-drm/source/Cargo.toml index b3a3cf80..ea28e85b 100644 --- a/local/recipes/gpu/redox-drm/source/Cargo.toml +++ b/local/recipes/gpu/redox-drm/source/Cargo.toml @@ -5,8 +5,8 @@ edition = "2021" description = "DRM scheme daemon for Redox OS — provides GPU modesetting and buffer management" [dependencies] -redox-driver-sys = { version = "0.1", path = "../../drivers/redox-driver-sys/source" } -linux-kpi = { version = "0.1", path = "../../drivers/linux-kpi/source" } +redox-driver-sys = { version = "0.1", path = "../../../drivers/redox-driver-sys/source" } +linux-kpi = { version = "0.1", path = "../../../drivers/linux-kpi/source" } libredox = "0.1" redox_syscall = { version = "0.7", features = ["std"] } syscall04 = { package = "redox_syscall", version = "0.4" } @@ -16,5 +16,5 @@ thiserror = "2" bitflags = "2" [patch.crates-io] -redox-driver-sys = { path = "../../drivers/redox-driver-sys/source" } -linux-kpi = { path = "../../drivers/linux-kpi/source" } +redox-driver-sys = { path = "../../../drivers/redox-driver-sys/source" } +linux-kpi = { path = "../../../drivers/linux-kpi/source" }