Downloading Mesa Demo Source Code
The Mesa third-party library is used during the compilation of the Kbox Android image. Download its source code as described in this section.
- Create a sourcecode directory in the user directory and grant the read, write, and execute permissions to the directory owner.
1 2
mkdir ~/sourcecode chmod -R 700 ~/sourcecode
- Download the Mesa source package according to Software Environment, upload the package to the ~/sourcecode directory, and decompress the package. Then rename the extracted file and copy it to the aosp/external directory.
1 2 3 4 5
cd ~/sourcecode unzip mesa-24.3.4.zip mv mesa-24.3.4 mesa3d rm -rf ~/aosp/external/mesa3d cp -rf ./mesa3d ~/aosp/external/
Parent topic: Compiling the AOSP Source Code and Creating an Image