Make the drivers and drivers-initfs recipes agnostic to package location

This commit is contained in:
bjorn3 2024-01-08 22:16:57 +01:00
parent ca86a9d162
commit b8ec6bc78a
2 changed files with 4 additions and 2 deletions

View File

@ -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 \

View File

@ -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 \