Hi,
it seems you are looking for the yocto package ‘module-init-tools-depmod’.
If you want to build an image with that tool, you can edit
and append:
IMAGE_INSTALL += "module-init-tools-depmod"
That should do the trick.
After a build you should get an image that is flashable with fastboot with depmod available.