Skip to content
Snippets Groups Projects
Commit b8ec6bc7 authored by bjorn3's avatar bjorn3
Browse files

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

parent ca86a9d1
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,8 @@ mkdir -pv "${COOKBOOK_STAGE}/bin" ...@@ -49,7 +49,8 @@ mkdir -pv "${COOKBOOK_STAGE}/bin"
for bin in "${BINS[@]}" for bin in "${BINS[@]}"
do do
"${COOKBOOK_CARGO}" rustc --release \ "${COOKBOOK_CARGO}" rustc --release \
--manifest-path "${COOKBOOK_SOURCE}/${bin}/Cargo.toml" \ --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
-p "${bin}" \
--bin "${bin}" \ --bin "${bin}" \
-- \ -- \
-C opt-level=s \ -C opt-level=s \
......
...@@ -35,7 +35,8 @@ mkdir -pv "${COOKBOOK_STAGE}/bin" ...@@ -35,7 +35,8 @@ mkdir -pv "${COOKBOOK_STAGE}/bin"
for bin in "${BINS[@]}" for bin in "${BINS[@]}"
do do
"${COOKBOOK_CARGO}" rustc --release \ "${COOKBOOK_CARGO}" rustc --release \
--manifest-path "${COOKBOOK_SOURCE}/${bin}/Cargo.toml" \ --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
-p "${bin}" \
--bin "${bin}" \ --bin "${bin}" \
-- \ -- \
-C opt-level=s \ -C opt-level=s \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment