Merge branch 'drivers_recipe' into 'master'

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

See merge request redox-os/cookbook!339
This commit is contained in:
Jeremy Soller 2024-01-08 21:53:18 +00:00
commit 174fc6f9e2
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 \