mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 22:34:18 +08:00
Make the drivers and drivers-initfs recipes agnostic to package location
This commit is contained in:
parent
ca86a9d162
commit
b8ec6bc78a
@ -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 \
|
||||
|
||||
@ -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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user