Skip to content
Snippets Groups Projects
Commit 074c16ff authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub
Browse files

Merge pull request #43 from ids1024/repo

Fix repo.sh call for build depends
parents 1a67b4b2 b0e362c3
No related branches found
No related tags found
No related merge requests found
...@@ -95,19 +95,19 @@ function op { ...@@ -95,19 +95,19 @@ function op {
fi fi
;; ;;
prepare) prepare)
rm -rf sysroot rm -rf sysroot
mkdir sysroot mkdir sysroot
if [ ${#BUILD_DEPENDS} -gt 0 ] if [ ${#BUILD_DEPENDS} -gt 0 ]
then then
for i in "${BUILD_DEPENDS[@]}" pushd $ROOT
do ./repo.sh "${BUILD_DEPENDS[@]}"
pushd "$ROOT" popd
./repo.sh "$i"
popd
CC=cc cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- --target=$TARGET install --root sysroot "$REPO/$i.tar.gz" for i in "${BUILD_DEPENDS[@]}"
done do
CC=cc cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- --target=$TARGET install --root sysroot "$REPO/$i.tar.gz"
done
fi fi
rm -rf build rm -rf build
......
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