Bug 7718 - target:task syntax not mentioned in --help
Summary: target:task syntax not mentioned in --help
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.7
Hardware: All Multiple
: Medium minor
Target Milestone: 2.2 M4
Assignee: Scott Rifenbark
QA Contact:
URL:
Whiteboard: 29 July 2016: RESOLVED
Depends on:
Blocks:
 
Reported: 2015-05-05 15:06 UTC by Paul Eggleton
Modified: 2016-07-29 21:22 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Done (doc changes complete)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2015-05-05 15:06:41 UTC
Since the daisy release we have supported target:task syntax on the bitbake command line allowing you to specify different tasks for each target when specifying multiple targets. At the moment bitbake --help does not list this syntax, so we should ensure that it does (and update the bitbake manual as needed).
Comment 1 Paul Eggleton 2015-07-08 13:32:09 UTC
Thanks to Ross there is at least a mention of the syntax now in the --help output in master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=18d71ed16ed3fd0ef0036280612503e33f840587
Comment 2 Paul Eggleton 2015-08-27 14:56:41 UTC
Moving to 2.1 - really the remaining bit is to update the bitbake manual.
Comment 3 Paul Eggleton 2016-04-27 02:17:27 UTC
So we need to work this into the BitBake manual - the --help text quoted by the manual does include it but we ought to explicitly mention it. Probably we ought to have a small section after "Executing Tasks Against a Set of Recipe Files", perhaps "Executing a List of Task/Recipe Combinations" or something similar (a better title would be welcome).
Comment 4 Scott Rifenbark 2016-06-06 16:55:52 UTC
Hi, 

See the new section at http://www.yoctoproject.org/docs/2.2/bitbake-user-manual/bitbake-user-manual.html#executing-a-list-of-task-and-recipe-combinations and please give me feedback.  The example I used is contrived.  If there is a better, more realistic way to do this let me know.  

Thanks,
Scott
Comment 5 Scott Rifenbark 2016-06-27 18:11:56 UTC
Still needs reviewed.  Setting target to M4.
Comment 6 Richard Purdie 2016-07-25 21:39:58 UTC
  $ bitbake myfirstrecipe recipe:do_taskA mysecondrecipe recipe:do_taskB
needs to be:
  $ bitbake myfirstrecipe:do_taskA mysecondrecipe:do_taskB
Comment 7 Scott Rifenbark 2016-07-29 21:22:46 UTC
Thank Richard for the look...  See http://www.yoctoproject.org/docs/2.2/bitbake-user-manual/bitbake-user-manual.html#executing-a-list-of-task-and-recipe-combinations for the change.  

I am going to close this bug now.

Scott