Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions sadtoni.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,24 @@ COMMIT_HEAD=$(git log --oneline -1)
clone() {
echo " "
msg "|| Cloning GCC ||"
if [ -d "$KERNEL_DIR/gcc64" ]; then
echo "gcc64 folder found! Removing..."
rm -rf "$KERNEL_DIR/gcc64" || true;
fi
if [ -d "$KERNEL_DIR/gcc32" ]; then
echo "gcc32 folder found! Removing..."
rm -rf "$KERNEL_DIR/gcc32" || true;
fi
git clone --depth=1 https://github.com/mvaisakh/gcc-arm64 -b gcc-new gcc64
git clone --depth=1 https://github.com/mvaisakh/gcc-arm -b gcc-new gcc32
GCC64_DIR=$KERNEL_DIR/gcc64
GCC32_DIR=$KERNEL_DIR/gcc32

msg "|| Cloning Anykernel ||"
if [ -d "$KERNEL_DIR/AnyKernel3" ]; then
echo "AnyKernel3 folder found! Removing..."
rm -rf "$KERNEL_DIR/AnyKernel3" || true;
fi
git clone --depth 1 --no-single-branch https://github.com/Reinazhard/AnyKernel3.git -b sadtoni
}

Expand Down