Re: Dependencies are not resolved correctly when building the SDK


asconcepcion
 

Please post the exact error that you're getting.
Sorry, I haven't posted the exact error because I thought it is quite specific to the recipe I'm building. My first question was also too vague, sorry for that. The problem is that it fails in building that package because of a missing file that should be populated by that dependency.

The error happens in the do_compile task:

| make[1]: *** No rule to make target 'm4_image.bin', needed by 'flash_linux_m40'.  Stop.                                                                                                                             
| make: *** [Makefile:23: flash_linux_m40] Error 2                                                                                                                                                                    
| WARNING: exit code 2 from a shell command.
So, the package expects that the file 'm4_image.bin' exists, and this file is generated by the dependency (it works well when building the yocto image, but not when building the SDK from scratch).

Thanks,
Alejandro

Join yocto@lists.yoctoproject.org to automatically receive all group messages.