How to resolve the building cross compiler issue in YOCTO, G40M i.MX8MP SMARC SOM?

Sometimes fetch error occurs because of the network or third party website issues.
Kindly try cleaning the package and try re-compiling:

$ bitbake -c cleanall <package_name>
ex:
$ bitbake -c cleanall libdrm
$ bitbake -k core-image-minimal -c populate_sdk

For further inquiries, please get in touch with mktg@iwave-global.com

Please find the detailed G40M product information in the below link,