Last active
August 8, 2020 10:01
-
-
Save dmitvitalii/f66d87b3b49729b7b07732c66aedbfce to your computer and use it in GitHub Desktop.
Setup AOSP 7-10 build environment on Fedora 32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf update -y | |
sudo dnf install -y zip curl flex bison gperf xz-lzma-compat \ | |
glibc-devel.{x86_64,i686} zlib-devel.{x86_64,i686} \ | |
ncurses-devel.i686 libX11-devel.i686 libstdc++.i686 \ | |
readline-devel.i686 libXrender.i686 libXrandr.i686 \ | |
perl-Digest-MD5-File python-markdown git schedtool \ | |
mesa-libGL-devel.i686 pngcrush ncurses-compat-libs \ | |
ImageMagick-devel.x86_64 ImageMagick-c++-devel.x86_64 \ | |
gcc gcc-c++ \ # not needed for Android 8+ (TODO: make sure this is correct) | |
java-1.8.0-openjdk-devel # not needed for Android 10+ | |
echo 'export PATH=$HOME/bin:$PATH' >> ~/.bashrc | |
mkdir $HOME/bin | |
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > $HOME/bin/repo && chmod +x $HOME/bin/repo | |
# Can't get the sources w/o settings these configs | |
git config --global user.email "[email protected]" | |
git config --global user.name "Your Name" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment