First of all, please install necessary packages by the following command.
sudo apt install cmake sudo apt install ninja-build sudo apt install u-boot-tools sudo apt install doxygen graphviz sudo apt install indent