
上QQ阅读APP看书,第一时间看更新
How to do it...
The starting point for debugging a package build error is the BitBake error message printed on the build process. This will usually point us to the task that failed to build.
- To list all the tasks available for a given recipe, with descriptions, we execute the following:
$ bitbake -c listtasks <target>
- If you need to recreate the error, you can force a build with the following:
$ bitbake -f <target>
- Or you can ask BitBake to force-run only a specific task using the following command:
$ bitbake -c compile -f <target>
Forcing a task to run will taint the task and BitBake will show a warning. This is meant to inform that the build has been modified. You can remove the warnings by cleaning the work directory with the -c clean argument.