Skip to content

Instantly share code, notes, and snippets.

@matteyeux
Last active April 30, 2017 15:27
Show Gist options
  • Save matteyeux/03ba97a11257a3b421d19df7369eda5d to your computer and use it in GitHub Desktop.
Save matteyeux/03ba97a11257a3b421d19df7369eda5d to your computer and use it in GitHub Desktop.
#!/bin/bash
if [[ $(uname) != 'Linux' ]]; then
echo "This script is only for Linux Distros"
exit 1
fi
sudo apt-get install -y libusb-1.0-0 libusb-1.0-0-dev \
libreadline6-dev readline-common libreadline6 \
libreadline-dev texinfo cmake git-core build-essential \
texinfo libreadline-dev libssl-dev libusb-1.0-0-dev libpng12-dev \
libusb-dev autoconf automake libnewlib-dev git
git clone https://github.com/iDroid-Project/OpeniBoot-toolchain.git
cd OpeniBoot-toolchain
sudo ./build-toolchain.sh make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment