From: Tim Bird <tim.bird@am.sony.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: bitbake and OE opperation
Date: Wed, 28 Mar 2007 10:54:25 -0700 [thread overview]
Message-ID: <460AABD1.4080409@am.sony.com> (raw)
In-Reply-To: <1174641616.5813.9.camel@localhost.localdomain>
Richard Purdie wrote:
>
>> What triggers do_configure to be executed and when?
>
> Read base.bbclass. It sets up a number of tasks and a default task,
> "build". You'd add configure after patch, before compile. compile would
> be before build. "bitbake somefile" would cause the default task (and
> its dependent tasks) to be executed. You could also do "bitbake somefile
> -c configure" to specifically execute the configure task.
I'm sorry, but I don't understand most of that paragraph.
I've read the manuals - maybe I missed it, but I have the same question.
In <oe>/classes/base.bbclass I see:
BB_DEFAULT_TASK = "build"
at the top of the file.
There's no "def build()" or "def do_build()"
There are the following lines - I don't know if they're related or not:
addtask build after do_populate_staging
do_build = ""
do_build[func] = "1"
In <bitbake>/classes/base.bbclass I see:
addtask build
do_build[dirs] = "${TOPDIR}"
do_build[nostamp] = "1"
python base_do_build () {
bb.note("The included, default BB base.bbclass does not define a useful default task.")
bb.note("Try running the 'listtasks' task against a .bb to see what tasks are defined.")
}
Maybe I'm thinking procedurally, and this is all declarative, but where
the heck are the actual statements executed during a "build"?
Back to Mark's point, how are the stages "fetch", "compile", "install"
known to the system, and sequenced. Are these hardcoded in bitbake?
I'm guessing not, from the answer above and the structure of the
"addtask <foo> before|after <bar>" statements. But I can't find
anywhere in the bbclass files where this is expressed.
Please help me understand this.
Thanks,
-- Tim
=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================
next prev parent reply other threads:[~2007-03-28 17:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-20 3:31 bitbake and OE opperation Mark Gross
2007-03-22 14:34 ` Richard Purdie
2007-03-22 18:37 ` Lee Studley
2007-03-22 18:43 ` Lee Studley
2007-03-23 4:31 ` Mark Gross
2007-03-23 9:20 ` Richard Purdie
2007-03-23 13:09 ` Mark Gross
2007-03-28 17:54 ` Tim Bird [this message]
2007-03-28 19:15 ` Richard Purdie
2007-03-28 20:10 ` Tim Bird
2007-03-28 20:19 ` Koen Kooi
2007-03-28 21:12 ` Philip Balister
2007-03-28 21:34 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=460AABD1.4080409@am.sony.com \
--to=tim.bird@am.sony.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.