Hi @kavyav,
I hope you are doing well.
From the image, It is seen that error is with the below statement
"make -r -j4 all" terminated with exit code 2. The build might be incomplete.
I have a few queries to ask.
->Which IMX board are you using?
->Have you made any changes to Makefile or are you using the default given SDK
I have shared a link to docs please refer to section 5.1 (Build an app using Linux host) for reference only.
https://community.nxp.com/
Thanks & Regards,
Dhruvit Vasavada