Skip to content
Snippets Groups Projects

Fix repo.sh call for build depends

Merged Ian Douglas Scott requested to merge ids1024:repo into master
1 file
+ 9
9
Compare changes
  • Side-by-side
  • Inline
+ 9
9
@@ -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
Loading