mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 14:24:18 +08:00
Fix install rules
This commit is contained in:
parent
d475d54575
commit
12379a90b2
@ -36,8 +36,9 @@ function recipe_stage {
|
||||
binpath="$1/bin"
|
||||
libpath="$1/lib/rustlib/${TARGET}/lib"
|
||||
mkdir -p "$binpath" "$libpath"
|
||||
cp -fv "build/${TARGET}/stage2/bin/"* "$binpath"
|
||||
cp -fv "build/"*"/stage2-rustc/${TARGET}/release/rustc_binary" "$binpath/rustc"
|
||||
cp -fv "build/"*"/stage2-tools/${TARGET}/release/rustdoc_tool_binary" "$binpath/rustdoc"
|
||||
cp -fv $(find "build/"*"/stage2/lib/rustlib/${TARGET}/lib/" -type f | grep -v librustc) "$libpath"
|
||||
${STRIP} "$binpath/"*
|
||||
cp -fv $(find build/*/stage2/lib/rustlib/${TARGET}/lib/ -type f | grep -v librustc) "$libpath"
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user