git clone --no-checkout https://github.com/Xilinx/embeddedsw.git --depth=100
cd embeddedsw/
git config core.sparseCheckout true
#Add the directories and files that needed to be checkout
echo "XilinxProcessorIPLib/drivers/aiengine/*" > .git/info/sparse-checkout
git checkout master