From a1970eb17bc8fde08aeca1128d5286c0bbc88ebf Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 18 Feb 2016 09:30:13 -0800 Subject: dev-manual: Updated devshell section. Fixes [YOCTO #9114] Added more detail on how to run commands from within the devshell. (From yocto-docs rev: 6535a8b80bbad3a4ece191c7e5a145ef5e09f1e2) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-model.xml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'documentation/dev-manual/dev-manual-model.xml') diff --git a/documentation/dev-manual/dev-manual-model.xml b/documentation/dev-manual/dev-manual-model.xml index f82a489fac..cad204d3b7 100644 --- a/documentation/dev-manual/dev-manual-model.xml +++ b/documentation/dev-manual/dev-manual-model.xml @@ -2832,10 +2832,33 @@ - When you are finished, you just exit the shell or close the terminal window. + To manually run a specific task using devshell, + run the corresponding run.* script in + the + ${WORKDIR}/temp + (e.g., run.do_configure.pid). + If a task's script does not exist, which would be the case if the task was + skipped by way of the sstate cache, you can create the task by first running + it outside of the devshell: + + $ bitbake -c task + + + + + Remember, that the devshell is a mechanism that allows + you to get into the BitBake task execution environment. + And as such, all commands must be called just as BitBake would call them. + That means you need to provide the appropriate options for + cross-compilation and so forth as applicable. + + + + When you are finished using devshell, exit the shell + or close the terminal window. - + Notes It is worth remembering that when using devshell you need to use the full compiler name such as arm-poky-linux-gnueabi-gcc -- cgit v1.2.3-54-g00ecf