diff --git a/recipes/core/drivers-initfs/recipe.toml b/recipes/core/drivers-initfs/recipe.toml index 80622ca87612c0c45258ebc1f8556cb68ae53b4e..ddb2e209a46128dfa91e7450b9384765e4cb2096 100644 --- a/recipes/core/drivers-initfs/recipe.toml +++ b/recipes/core/drivers-initfs/recipe.toml @@ -49,7 +49,8 @@ mkdir -pv "${COOKBOOK_STAGE}/bin" for bin in "${BINS[@]}" do "${COOKBOOK_CARGO}" rustc --release \ - --manifest-path "${COOKBOOK_SOURCE}/${bin}/Cargo.toml" \ + --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \ + -p "${bin}" \ --bin "${bin}" \ -- \ -C opt-level=s \ diff --git a/recipes/core/drivers/recipe.toml b/recipes/core/drivers/recipe.toml index 8d3f5d23b7114816f96abff63c3adea9e870e365..076d703e2f44afd456b1ac2eda993907c8b3da55 100644 --- a/recipes/core/drivers/recipe.toml +++ b/recipes/core/drivers/recipe.toml @@ -35,7 +35,8 @@ mkdir -pv "${COOKBOOK_STAGE}/bin" for bin in "${BINS[@]}" do "${COOKBOOK_CARGO}" rustc --release \ - --manifest-path "${COOKBOOK_SOURCE}/${bin}/Cargo.toml" \ + --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \ + -p "${bin}" \ --bin "${bin}" \ -- \ -C opt-level=s \