buildroot supports to download packages from git repo. But my git repo contains submodules.
How to order buildroot to download package with submodule?
This is not supported today. In general, the submodules are used to fetch external libraries, and prefer to see them packaged as separate Buildroot packages.
That being said, if you provided a specific example, I could probably have a look and give a more specific answer.