Use the following command sequence:
$ bitbake -c cleansstate virtual/kernel
$ bitbake -c patch virtual/kernel
Configure kernel.
$ bitbake -c menuconfig virtual/kernel
$ bitbake virtual/kernel // Rebuild kernel:
Note for clean commands:
clean:remove the work folder of the package
•cleansstate:clean+ delete the cached binary
−when a known good package fails to build unexpectedly, or an image build fails with "error: Failed dependencies", do -c cleansstatefirst on the failing package, then rebuild
•patch:install source including all patches
Use with care:
•cleanall: delete the source archive from../sources
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------