The commands I executed is following:
git clone <https://github.com/beagleboard/linux.git>
cd linux
git branch -a
git checkout 5.10
sudo apt install gcc-arm-linux-gnueabihf
make omap2plus_defconfig
**Turn on the two options in the below figures**
make -j8 zImage