I have deleted tmp/deploy/images/imx8mmevk by mistake,is there any way to rebuild image?
Hello Ming Liao,
You should run a clean and then build again. (Deleting the build directory would also work but it’s not necessary and it would take a bit more time as all tasks would need to be rerun).
$ bitbake –c clean <IMAGE>
$ bitbake <IMAGE>
I hope this helps!
in yocto root dir run
source setup-environment <build-dir> bitbake <image-name>
<image-name> is the image name you have built.
After implement cmd you provide,the images folder still not generate,should i delete build-dir and clean build?
Note that bitbake –c clean <IMAGE> will also delete the source code build dir, rebuilding image will take some time.What you need is redeploying the image. Retry any of the cmds below:
bitbake <image> -c deploy bitbake -f <image>
If this is still not work, try the clean command gusarambula provide.
Retrieving data ...