Exit devshell. Find dependency for next-task after compile task from bitbake -g linux-yocto. In here the task consuming the result of compile task is bitbake -C deploy linux-yocto. Note the capital C. This invokes the task but also all the tasks that follow it.