summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2015-01-14 10:17:34 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-17 15:16:48 +0000
commit7d480c304afa1708b7f780e7b10961c02f0ca20a (patch)
treee2ed355988bb1688190453f645ab3f2125638f26 /documentation
parentb83c526667869516a583c99ad3695c674259d3f7 (diff)
downloadpoky-7d480c304afa1708b7f780e7b10961c02f0ca20a.tar.gz
ref-manual: 13 new variables added to the glossary.
Added descriptions for the following variables: EXTRA_AUTORECONF KERNEL_IMAGE_MAXSIZE UPDATERCPN AUTO_LIBNAME_PKGS DEBIANNAME DEBIAN_NOAUTONAME TCLIBCAPPEND PACKAGEGROUP_DISABLE_COMPLEMENTARY CLEANBROKEN DISTRO_CODENAME BASE_WORKDIR DISTRO_FEATURES_DEFAULT DISTRO_FEATURES_LIBC Part of adding new variables is checking to see if a previously undocumented variable is used elsewhere in the manual. One occurrence was spotted and turned into a link for this list. (From yocto-docs rev: bb75387b7aa4fcb0b594d300772952d81a651644) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-tasks.xml3
-rw-r--r--documentation/ref-manual/ref-variables.xml270
2 files changed, 272 insertions, 1 deletions
diff --git a/documentation/ref-manual/ref-tasks.xml b/documentation/ref-manual/ref-tasks.xml
index f325f0e233..2b3031538f 100644
--- a/documentation/ref-manual/ref-tasks.xml
+++ b/documentation/ref-manual/ref-tasks.xml
@@ -628,7 +628,8 @@
628 628
629 <para> 629 <para>
630 Checks the size of the kernel image against 630 Checks the size of the kernel image against
631 <filename>KERNEL_IMAGE_MAXSIZE</filename> when set. 631 <link linkend='var-KERNEL_IMAGE_MAXSIZE'><filename>KERNEL_IMAGE_MAXSIZE</filename></link>
632 when set.
632 </para> 633 </para>
633 </section> 634 </section>
634 635
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index e3272fec79..da7a986b68 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -293,6 +293,28 @@
293 </glossdef> 293 </glossdef>
294 </glossentry> 294 </glossentry>
295 295
296 <glossentry id='var-AUTO_LIBNAME_PKGS'><glossterm><imagedata fileref="figures/define-generic.png" />AUTO_LIBNAME_PKGS</glossterm>
297 <info>
298 AUTO_LIBNAME_PKGS[doc] = "Specifies which packages should be checked for libraries and renamed according to Debian library package naming."
299 </info>
300 <glossdef>
301 <para>
302 When the
303 <link linkend='ref-classes-debian'><filename>debian</filename></link>
304 class is inherited, which is the default behavior,
305 <filename>AUTO_LIBNAME_PKGS</filename> specifies which
306 packages should be checked for libraries and renamed
307 according to Debian library package naming.
308 </para>
309
310 <para>
311 The default value is "${PACKAGES}", which causes the
312 OpenEmbedded build system to act on all packages that are
313 explicitly generated by the recipe.
314 </para>
315 </glossdef>
316 </glossentry>
317
296 <glossentry id='var-AUTO_SYSLINUXMENU'><glossterm><imagedata fileref="figures/define-generic.png" />AUTO_SYSLINUXMENU</glossterm> 318 <glossentry id='var-AUTO_SYSLINUXMENU'><glossterm><imagedata fileref="figures/define-generic.png" />AUTO_SYSLINUXMENU</glossterm>
297 <info> 319 <info>
298 AUTO_SYSLINUXMENU[doc] = "Enables creating an automatic menu for the syslinux bootloader." 320 AUTO_SYSLINUXMENU[doc] = "Enables creating an automatic menu for the syslinux bootloader."
@@ -461,6 +483,18 @@
461 </glossdef> 483 </glossdef>
462 </glossentry> 484 </glossentry>
463 485
486 <glossentry id='var-BASE_WORKDIR'><glossterm><imagedata fileref="figures/define-generic.png" />BASE_WORKDIR</glossterm>
487 <info>
488 BASE_WORKDIR[doc] = "Points to the base of the work directory for all recipes."
489 </info>
490 <glossdef>
491 <para>
492 Points to the base of the work directory for all recipes.
493 The default value is "${TMPDIR}/work".
494 </para>
495 </glossdef>
496 </glossentry>
497
464 <glossentry id='var-BB_DANGLINGAPPENDS_WARNONLY'><glossterm><imagedata fileref="figures/define-generic.png" />BB_DANGLINGAPPENDS_WARNONLY</glossterm> 498 <glossentry id='var-BB_DANGLINGAPPENDS_WARNONLY'><glossterm><imagedata fileref="figures/define-generic.png" />BB_DANGLINGAPPENDS_WARNONLY</glossterm>
465 <info> 499 <info>
466 BB_DANGLINGAPPENDS_WARNONLY[doc] = "Defines how BitBake handles situations where an append file (.bbappend) has no corresponding recipe file (.bb)." 500 BB_DANGLINGAPPENDS_WARNONLY[doc] = "Defines how BitBake handles situations where an append file (.bbappend) has no corresponding recipe file (.bb)."
@@ -1578,6 +1612,24 @@
1578 </glossdef> 1612 </glossdef>
1579 </glossentry> 1613 </glossentry>
1580 1614
1615 <glossentry id='var-CLEANBROKEN'><glossterm><imagedata fileref="figures/define-generic.png" />CLEANBROKEN</glossterm>
1616 <info>
1617 CLEANBROKEN[doc] = "Prevents the build system from running 'make clean' during the do_configure task."
1618 </info>
1619 <glossdef>
1620 <para>
1621 If set to "1" within a recipe,
1622 <filename>CLEANBROKEN</filename> specifies that
1623 the <filename>make clean</filename> command does
1624 not work for the software being built.
1625 Consequently, the OpenEmbedded build system will not try
1626 to run <filename>make clean</filename> during the
1627 <link linkend='ref-tasks-configure'><filename>do_configure</filename></link>
1628 task, which is the default behavior.
1629 </para>
1630 </glossdef>
1631 </glossentry>
1632
1581 <glossentry id='var-COMBINED_FEATURES'><glossterm><imagedata fileref="figures/define-generic.png" />COMBINED_FEATURES</glossterm> 1633 <glossentry id='var-COMBINED_FEATURES'><glossterm><imagedata fileref="figures/define-generic.png" />COMBINED_FEATURES</glossterm>
1582 <info> 1634 <info>
1583 COMBINED_FEATURES[doc] = "A set of features common between MACHINE_FEATURES and DISTRO_FEATURES." 1635 COMBINED_FEATURES[doc] = "A set of features common between MACHINE_FEATURES and DISTRO_FEATURES."
@@ -1995,6 +2047,52 @@
1995 </glossdef> 2047 </glossdef>
1996 </glossentry> 2048 </glossentry>
1997 2049
2050 <glossentry id='var-DEBIAN_NOAUTONAME'><glossterm><imagedata fileref="figures/define-generic.png" />DEBIAN_NOAUTONAME</glossterm>
2051 <info>
2052 DEBIAN_NOAUTONAME[doc] = "Prevents a particular package from being renamed according to Debian package naming."
2053 </info>
2054 <glossdef>
2055 <para>
2056 When the
2057 <link linkend='ref-classes-debian'><filename>debian</filename></link>
2058 class is inherited, which is the default behavior,
2059 <filename>DEBIAN_NOAUTONAME</filename> specifies a
2060 particular package should not be renamed according to
2061 Debian library package naming.
2062 You must use the package name as an override when you
2063 set this variable.
2064 Here is an example from the <filename>fontconfig</filename>
2065 recipe:
2066 <literallayout class='monospaced'>
2067 DEBIAN_NOAUTONAME_fontconfig-utils = "1"
2068 </literallayout>
2069 </para>
2070 </glossdef>
2071 </glossentry>
2072
2073 <glossentry id='var-DEBIANNAME'><glossterm><imagedata fileref="figures/define-generic.png" />DEBIANNAME</glossterm>
2074 <info>
2075 DEBIANNAME[doc] = "Allows you to override the library name for an individual package."
2076 </info>
2077 <glossdef>
2078 <para>
2079 When the
2080 <link linkend='ref-classes-debian'><filename>debian</filename></link>
2081 class is inherited, which is the default behavior,
2082 <filename>DEBIANNAME</filename> allows you to override the
2083 library name for an individual package.
2084 Overriding the library name in these cases is rare.
2085 You must use the package name as an override when you
2086 set this variable.
2087 Here is an example from the <filename>dbus</filename>
2088 recipe:
2089 <literallayout class='monospaced'>
2090 DEBIANNAME_${PN} = "dbus-1"
2091 </literallayout>
2092 </para>
2093 </glossdef>
2094 </glossentry>
2095
1998 <glossentry id='var-DEBUG_BUILD'><glossterm><imagedata fileref="figures/define-generic.png" />DEBUG_BUILD</glossterm> 2096 <glossentry id='var-DEBUG_BUILD'><glossterm><imagedata fileref="figures/define-generic.png" />DEBUG_BUILD</glossterm>
1999 <info> 2097 <info>
2000 DEBUG_BUILD[doc] = "Specifies to build packages with debugging information. This influences the value of the SELECTED_OPTIMIZATION variable." 2098 DEBUG_BUILD[doc] = "Specifies to build packages with debugging information. This influences the value of the SELECTED_OPTIMIZATION variable."
@@ -2307,6 +2405,17 @@
2307 </glossdef> 2405 </glossdef>
2308 </glossentry> 2406 </glossentry>
2309 2407
2408 <glossentry id='var-DISTRO_CODENAME'><glossterm><imagedata fileref="figures/define-generic.png" />DISTRO_CODENAME</glossterm>
2409 <info>
2410 DISTRO_CODENAME[doc] = "Specifies a codename for the distribution being built."
2411 </info>
2412 <glossdef>
2413 <para>
2414 Specifies a codename for the distribution being built.
2415 </para>
2416 </glossdef>
2417 </glossentry>
2418
2310 <glossentry id='var-DISTRO_EXTRA_RDEPENDS'><glossterm><imagedata fileref="figures/define-generic.png" />DISTRO_EXTRA_RDEPENDS</glossterm> 2419 <glossentry id='var-DISTRO_EXTRA_RDEPENDS'><glossterm><imagedata fileref="figures/define-generic.png" />DISTRO_EXTRA_RDEPENDS</glossterm>
2311 <info> 2420 <info>
2312 DISTRO_EXTRA_RDEPENDS[doc] = "Specifies a list of distro-specific packages to add to all images. The variable only applies to the images that include packagegroup-base." 2421 DISTRO_EXTRA_RDEPENDS[doc] = "Specifies a list of distro-specific packages to add to all images. The variable only applies to the images that include packagegroup-base."
@@ -2415,6 +2524,49 @@
2415 </glossdef> 2524 </glossdef>
2416 </glossentry> 2525 </glossentry>
2417 2526
2527 <glossentry id='var-DISTRO_FEATURES_DEFAULT'><glossterm><imagedata fileref="figures/define-generic.png" />DISTRO_FEATURES_DEFAULT</glossterm>
2528 <info>
2529 DISTRO_FEATURES_DEFAULT[doc] = "Provides the default list of distro features with the exception of any libc-specific features."
2530 </info>
2531 <glossdef>
2532 <para>
2533 A convenience variable that gives you the default
2534 list of distro features with the exception of any
2535 features specific to the C library
2536 (<filename>libc</filename>).
2537 </para>
2538
2539 <para>
2540 When creating a custom distribution, you might find it
2541 useful to be able to reuse the default
2542 <link linkend='var-DISTRO_FEATURES'><filename>DISTRO_FEATURES</filename></link>
2543 options without the need to write out the full set.
2544 Here is an example that uses
2545 <filename>DISTRO_FEATURES_DEFAULT</filename> from a
2546 custom distro configuration file:
2547 <literallayout class='monospaced'>
2548 DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} myfeature"
2549 </literallayout>
2550 </para>
2551 </glossdef>
2552 </glossentry>
2553
2554 <glossentry id='var-DISTRO_FEATURES_LIBC'><glossterm><imagedata fileref="figures/define-generic.png" />DISTRO_FEATURES_LIBC</glossterm>
2555 <info>
2556 DISTRO_FEATURES_LIBC[doc] = "Specifies the list of distro features that are specific to the C library (libc)."
2557 </info>
2558 <glossdef>
2559 <para>
2560 A convenience variable that specifies the list of distro
2561 features that are specific to the C library
2562 (<filename>libc</filename>).
2563 Typically, these features are prefixed with "libc-" and
2564 control which features are enabled at during the build
2565 within the C library itself.
2566 </para>
2567 </glossdef>
2568 </glossentry>
2569
2418 <glossentry id='var-DISTRO_NAME'><glossterm><imagedata fileref="figures/define-generic.png" />DISTRO_NAME</glossterm> 2570 <glossentry id='var-DISTRO_NAME'><glossterm><imagedata fileref="figures/define-generic.png" />DISTRO_NAME</glossterm>
2419 <info> 2571 <info>
2420 DISTRO_NAME[doc] = "The long name of the distribution." 2572 DISTRO_NAME[doc] = "The long name of the distribution."
@@ -2766,6 +2918,27 @@
2766 </glossdef> 2918 </glossdef>
2767 </glossentry> 2919 </glossentry>
2768 2920
2921 <glossentry id='var-EXTRA_AUTORECONF'><glossterm><imagedata fileref="figures/define-generic.png" />EXTRA_AUTORECONF</glossterm>
2922 <info>
2923 EXTRA_AUTORECONF[doc] = "Extra options passed to the autoreconf command, which is executed during do_configure."
2924 </info>
2925 <glossdef>
2926 <para>
2927 For recipes inheriting the <filename>autoconf</filename>
2928 class, you can use <filename>EXTRA_AUTORECONF</filename> to
2929 specify extra options to pass to the
2930 <filename>autoreconf</filename> command that is
2931 executed during the
2932 <link linkend='ref-tasks-configure'><filename>do_configure</filename></link>
2933 task.
2934 </para>
2935
2936 <para>
2937 The default value is "--exclude=autopoint".
2938 </para>
2939 </glossdef>
2940 </glossentry>
2941
2769 <glossentry id='var-EXTRA_IMAGE_FEATURES'><glossterm><imagedata fileref="figures/define-generic.png" />EXTRA_IMAGE_FEATURES</glossterm> 2942 <glossentry id='var-EXTRA_IMAGE_FEATURES'><glossterm><imagedata fileref="figures/define-generic.png" />EXTRA_IMAGE_FEATURES</glossterm>
2770 <info> 2943 <info>
2771 EXTRA_IMAGE_FEATURES[doc] = "The list of additional features to include in an image. Configure this variable in the conf/local.conf file in the Build Directory." 2944 EXTRA_IMAGE_FEATURES[doc] = "The list of additional features to include in an image. Configure this variable in the conf/local.conf file in the Build Directory."
@@ -5172,6 +5345,36 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
5172 </glossdef> 5345 </glossdef>
5173 </glossentry> 5346 </glossentry>
5174 5347
5348 <glossentry id='var-KERNEL_IMAGE_MAXSIZE'><glossterm><imagedata fileref="figures/define-generic.png" />KERNEL_IMAGE_MAXSIZE</glossterm>
5349 <info>
5350 KERNEL_IMAGE_MAXSIZE[doc] = "The maximum allowable size in kilobytes of the kernel image file."
5351 </info>
5352 <glossdef>
5353 <para>
5354 Specifies the maximum size of the kernel image file in
5355 kilobytes.
5356 If <filename>KERNEL_IMAGE_MAXSIZE</filename> is set,
5357 the size of the kernel image file is checked against
5358 the set value during the
5359 <link linkend='ref-tasks-sizecheck'><filename>do_sizecheck</filename></link>
5360 task.
5361 The task fails if the kernel image file is larger than
5362 the setting.
5363 </para>
5364
5365 <para>
5366 <filename>KERNEL_IMAGE_MAXSIZE</filename> is useful for
5367 target devices that have a limited amount of space in
5368 which the kernel image file must be stored.
5369 </para>
5370
5371 <para>
5372 By default, this variable is not set, which means the
5373 size of the kernel image is not checked.
5374 </para>
5375 </glossdef>
5376 </glossentry>
5377
5175 <glossentry id='var-KERNEL_IMAGETYPE'><glossterm><imagedata fileref="figures/define-generic.png" />KERNEL_IMAGETYPE</glossterm> 5378 <glossentry id='var-KERNEL_IMAGETYPE'><glossterm><imagedata fileref="figures/define-generic.png" />KERNEL_IMAGETYPE</glossterm>
5176 <info> 5379 <info>
5177 KERNEL_IMAGETYPE[doc] = "The type of kernel to build for a device, usually set by the machine configuration files and defaults to 'zImage'." 5380 KERNEL_IMAGETYPE[doc] = "The type of kernel to build for a device, usually set by the machine configuration files and defaults to 'zImage'."
@@ -7064,6 +7267,26 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
7064 </glossdef> 7267 </glossdef>
7065 </glossentry> 7268 </glossentry>
7066 7269
7270 <glossentry id='var-PACKAGEGROUP_DISABLE_COMPLEMENTARY'><glossterm><imagedata fileref="figures/define-generic.png" />PACKAGEGROUP_DISABLE_COMPLEMENTARY</glossterm>
7271 <info>
7272 PACKAGEGROUP_DISABLE_COMPLEMENTARY[doc] = "Prevents the packagegroup recipe from automatically creating the normal complementary packages such as -dev and -dbg."
7273 </info>
7274 <glossdef>
7275 <para>
7276 For recipes inheriting the
7277 <link linkend='ref-classes-packagegroup'><filename>packagegroup</filename></link>
7278 class, setting
7279 <filename>PACKAGEGROUP_DISABLE_COMPLEMENTARY</filename> to
7280 "1" specifies that the normal complementary packages
7281 (i.e. <filename>-dev</filename>,
7282 <filename>-dbg</filename>, and so forth) should not be
7283 automatically created by the
7284 <filename>packagegroup</filename> recipe, which is the
7285 default behavior.
7286 </para>
7287 </glossdef>
7288 </glossentry>
7289
7067 <glossentry id='var-PACKAGES'><glossterm><imagedata fileref="figures/define-generic.png" />PACKAGES</glossterm> 7290 <glossentry id='var-PACKAGES'><glossterm><imagedata fileref="figures/define-generic.png" />PACKAGES</glossterm>
7068 <info> 7291 <info>
7069 PACKAGES[doc] = "The list of packages to be created from the recipe." 7292 PACKAGES[doc] = "The list of packages to be created from the recipe."
@@ -10107,6 +10330,31 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
10107 </glossdef> 10330 </glossdef>
10108 </glossentry> 10331 </glossentry>
10109 10332
10333 <glossentry id='var-TCLIBCAPPEND'><glossterm><imagedata fileref="figures/define-generic.png" />TCLIBCAPPEND</glossterm>
10334 <info>
10335 TCLIBCAPPEND[doc] = "Specifies a suffix appended to TMPDIR that identifies the libc variant for the build."
10336 </info>
10337 <glossdef>
10338 <para>
10339 Specifies a suffix to be appended onto the
10340 <link linkend='var-TMPDIR'><filename>TMPDIR</filename></link>
10341 value.
10342 The suffix identifies the <filename>libc</filename> variant
10343 for building.
10344 </para>
10345
10346 <para>
10347 In the <filename>defaultsetup.conf</filename> file, the
10348 default value of <filename>TCLIBCAPPEND</filename> is
10349 "-${TCLIBC}".
10350 However, distros such as poky, which normally only support
10351 one <filename>libc</filename> variant, set
10352 <filename>TCLIBCAPPEND</filename> to "" in their distro
10353 configuration file resulting in no suffix being applied.
10354 </para>
10355 </glossdef>
10356 </glossentry>
10357
10110 <glossentry id='var-TCLIBC'><glossterm><imagedata fileref="figures/define-generic.png" />TCLIBC</glossterm> 10358 <glossentry id='var-TCLIBC'><glossterm><imagedata fileref="figures/define-generic.png" />TCLIBC</glossterm>
10111 <info> 10359 <info>
10112 TCLIBC[doc] = "Specifies GNU standard C library (libc) variant to use during the build process. You can select 'glibc' or 'uclibc'." 10360 TCLIBC[doc] = "Specifies GNU standard C library (libc) variant to use during the build process. You can select 'glibc' or 'uclibc'."
@@ -11080,6 +11328,28 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
11080 </glossdef> 11328 </glossdef>
11081 </glossentry> 11329 </glossentry>
11082 11330
11331 <glossentry id='var-UPDATERCPN'><glossterm><imagedata fileref="figures/define-generic.png" />UPDATERCPN</glossterm>
11332 <info>
11333 UPDATERCPN[doc] = "Specifies the package that contains the initscript that is to be enabled."
11334 </info>
11335 <glossdef>
11336 <para>
11337 For recipes inheriting the
11338 <link linkend='ref-classes-update-rc.d'><filename>update-rc.d</filename></link>
11339 class, <filename>UPDATERCPN</filename> specifies
11340 the package that contains the initscript that is to be
11341 enabled.
11342 </para>
11343
11344 <para>
11345 The default value is "${PN}".
11346 Given that almost all recipes that install initscripts
11347 package them in the main package for the recipe, you
11348 rarely need to set this variable in individual recipes.
11349 </para>
11350 </glossdef>
11351 </glossentry>
11352
11083 <glossentry id='var-UBOOT_ENTRYPOINT'><glossterm><imagedata fileref="figures/define-generic.png" />UBOOT_ENTRYPOINT</glossterm> 11353 <glossentry id='var-UBOOT_ENTRYPOINT'><glossterm><imagedata fileref="figures/define-generic.png" />UBOOT_ENTRYPOINT</glossterm>
11084 <info> 11354 <info>
11085 UBOOT_ENTRYPOINT[doc] = "Specifies the entry point for the U-Boot image." 11355 UBOOT_ENTRYPOINT[doc] = "Specifies the entry point for the U-Boot image."