All of lore.kernel.org
 help / color / mirror / Atom feed
* How to do the specified tasks instead of many default ones
@ 2012-09-20  7:41 Liu
  2012-09-20  9:37 ` Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Liu @ 2012-09-20  7:41 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

Hi all,
     I'm compiling a test package  "helloworld",then I just want to do the standard tasks of "do_fetch","do_unpack" until the task "do_compile",and I do not want to the next tasks like "do_build","do_package". I think there exist the task dependency chain,but can hardly find how to remove the tasks I do not want to do.Can anyone tell me something detailed about this question ?
 Best wishes,
 --------------Liu

[-- Attachment #2: Type: text/html, Size: 484 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to do the specified tasks instead of many default ones
  2012-09-20  7:41 Liu
@ 2012-09-20  9:37 ` Paul Eggleton
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2012-09-20  9:37 UTC (permalink / raw)
  To: Liu; +Cc: yocto

On Thursday 20 September 2012 15:41:54 Liu wrote:
>      I'm compiling a test package  "helloworld",then I just want to do the
> standard tasks of "do_fetch","do_unpack" until the task "do_compile",and I
> do not want to the next tasks like "do_build","do_package". I think there
> exist the task dependency chain,but can hardly find how to remove the tasks
> I do not want to do.Can anyone tell me something detailed about this
> question ?

If you mean for a single execution, just run "bitbake -c compile helloworld".

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to do the specified tasks instead of many default ones
       [not found] <tencent_5829A72418D0015B153A11E6@qq.com>
@ 2012-09-20 10:25 ` Paul Eggleton
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2012-09-20 10:25 UTC (permalink / raw)
  To: Liu; +Cc: yocto

On Thursday 20 September 2012 17:59:56 Liu wrote:
> That's not what i mean.I want to remove the tasks like
> "do_build","do_package" from the default tasks list,and reserve the tasks
> (do_fetch,do_unpack,do_compile) I need. I know there exist some dependency
> between tasks and then generate a default list of tasks  for all
> packages.And now I just want to use the several tasks for my packages. Can
> you tell me detally about how to remove the tasks "do_build" ,and the tasks
> after "do_build" ?

What do you mean by tasks after do_build? There should not be any, at least 
not for the same target.

There are several ways of disabling tasks - the first that comes to mind is to 
mark the task as noexec, for example:

do_package[noexec] = "1"

My question would be though, what are you trying to achieve by doing this?

Cheers,
Paul

PS: please reply on the mailing list, thanks.

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-20 10:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <tencent_5829A72418D0015B153A11E6@qq.com>
2012-09-20 10:25 ` How to do the specified tasks instead of many default ones Paul Eggleton
2012-09-20  7:41 Liu
2012-09-20  9:37 ` Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.