I plan on writing up a more detailed sheet on the steps that I took but this is a quick overview.
Created a Ubuntu Server EC2 in AWS.
Clone the repository with the firmware
Here are some useful git comments:
- git clone –recursive URL
- git add .
- git commit -m “comment for commit”
- git push
- git submodule add <url>
- git submodule update –init –recursive
If pip needs to be installed you will run
sudo apt-get install python3-pip
Download the firmware distribution you are wanting to customize and then run
pip3 install -r scripts/requirements.txt
This will make sure all the required addons are installed for compiling.
If you have the calculator plugin installed then you need to make the following change to build the calculator app, you need to comment the line “-Werror”, in file site_scons/cc.scons
The following command will create a distro install file
./fbt COMPACT=1 DEBUG=0 VERBOSE=1 updater_package copro_dist