From bf91da6c0a7fcd081a4cd70a70f0a545382dc7da Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 21 Aug 2013 15:10:09 +0300 Subject: ref-manual, mega-manual: new section on config/compile for expanded build Fixes [YOCTO #2808] Added a new section on configuration and compilation for the expanded discussion for the build process. This involved a new figure that had to be added to both the ref-manual and mega-manual figures directories. (From yocto-docs rev: 9ba90c79990b79226d6e95e4a01ddedeccb94b35) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../figures/configuration-compile-autoreconf.png | Bin 0 -> 48116 bytes .../figures/configuration-compile-autoreconf.png | Bin 0 -> 48116 bytes documentation/ref-manual/technical-details.xml | 59 +++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 documentation/mega-manual/figures/configuration-compile-autoreconf.png create mode 100644 documentation/ref-manual/figures/configuration-compile-autoreconf.png (limited to 'documentation') diff --git a/documentation/mega-manual/figures/configuration-compile-autoreconf.png b/documentation/mega-manual/figures/configuration-compile-autoreconf.png new file mode 100644 index 0000000000..596a8941b2 Binary files /dev/null and b/documentation/mega-manual/figures/configuration-compile-autoreconf.png differ diff --git a/documentation/ref-manual/figures/configuration-compile-autoreconf.png b/documentation/ref-manual/figures/configuration-compile-autoreconf.png new file mode 100644 index 0000000000..596a8941b2 Binary files /dev/null and b/documentation/ref-manual/figures/configuration-compile-autoreconf.png differ diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml index 5ee2615e5c..260766191a 100644 --- a/documentation/ref-manual/technical-details.xml +++ b/documentation/ref-manual/technical-details.xml @@ -1066,6 +1066,65 @@ section. + +
+ Configuration and Compilation + + + After source code is patched, BitBake executes tasks that + configure and compile the source code: + + + + + This step in the build process consists of three tasks: + + do_configure: + This task configures the source by enabling and + disabling any build-time and configuration options for + the software being built. + Configurations can come from the recipe itself as well + as from an inherited class. + Additionally, the software itself might configure itself + depending on the target for which it is being built. + + + The configurations handled by the + do_configure task are specific + to source code configuration for the source code + being built by the recipe. + + If you are using + autotools.bbclass, + you can add additional configuration options by using + the EXTRA_OECONF + variable. + For information on how this variable works within + that class, see the + meta/classes/autotools.bbclass. + + do_compile: + Once a configuration task has been satisfied, BitBake + compiles the source using the + do_compile task. + Compilation occurs in the directory pointed to by the + B + variable. + Realize that the B directory, by + default, is the same as the + S + directory. + do_install: + Once compilation is done, BitBake executes the + do_install task. + This task copies files from the B + directory and places them in a holding area pointed to + by the + D + variable. + + +
-- cgit v1.2.3-54-g00ecf