From 2aba525b98e59ac64836c8307cb567be07005d49 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 2 Jun 2014 09:46:06 +0300 Subject: ref-manual: Updates to several variables. I implemented some review feedback from Paul Eggleton on these variables: TARGET_CFLAGS BUILD_OPTIMIZATION SDKMACHINE IMAGE_ROOTFS_ALIGNMENT IMAGE_DEVICE_TABLES EXTRA_IMAGECMD SSTATE_MIRROR_ALLOW_NETWORK PACKAGE_ARCHS SDK_PACKAGE_ARCHS (From yocto-docs rev: 6fd804376367449494d5a5cfeb7e9bb2f4c04de1) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 44 ++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 11 deletions(-) (limited to 'documentation/ref-manual') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index fc81b00227..2de8473bdb 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -932,7 +932,7 @@ Specifies the optimization flags passed to the C compiler - when building for the host or the SDK. + when building for the build host or the SDK. The flags are passed through the BUILD_CFLAGS and @@ -2350,6 +2350,12 @@ Specifies additional options for the image creation command that has been specified in IMAGE_CMD. + When setting this variable, you should + use an override for the associated type. + Here is an example: + + EXTRA_IMAGECMD_ext3 ?= "-i 4096" + @@ -3196,9 +3202,10 @@ created under /dev within the image. If IMAGE_DEVICE_TABLES is not set, files/device_table-minimal.txt is - used. + used, which is located by + BBPATH. For details on how you should write device table files, - see the files/device_table-minimal.txt + see files/device_table-minimal.txt as an example. @@ -3533,7 +3540,7 @@ If the size of the image is not a multiple of this value, then the size is rounded up to the nearest multiple of the value. - The default value is 1 Kbyte. + The default value is "1". See IMAGE_ROOTFS_SIZE for additional information. @@ -5478,10 +5485,10 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" Specifies a list of architectures compatible with the target machine. - Separate the entries using spaces and list them in order - of priority. This variable is set automatically and should not normally be hand-edited. + Entries are separated using spaces and listed in order + of priority. The default value for PACKAGE_ARCHS is "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}". @@ -7096,10 +7103,10 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" Specifies a list of architectures compatible with the SDK machine. - Separate the entries using spaces and list them in order - of priority. This variable is set automatically and should not normally be hand-edited. + Entries are separated using spaces and listed in order + of priority. The default value for SDK_PACKAGE_ARCHS is "all any noarch ${SDK_ARCH}-${SDKPKGSUFFIX}". @@ -7132,6 +7139,20 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" .conf file under conf/machine-sdk/. + + + You can use "i686" and "x86_64" as possible values + for this variable. The variable defaults to "i686" + and is set in the local.conf file in the Build Directory. + + SDKMACHINE ?= "i686" + + + You cannot set the SDKMACHINE + variable in your distribution configuration file. + If you do, the configuration will not take affect. + + @@ -7161,7 +7182,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" Specifies the optimization flags passed to the C compiler when building for the target. - The flags are passed through the default + The flags are passed through the default value of the TARGET_CFLAGS variable. @@ -7635,8 +7656,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" If set to "1", allows fetches from mirrors that are specified in SSTATE_MIRRORS - to work even when BB_NO_NETWORK - is set to "1", which disables fetching from the network. + to work even when fetching from the network has been + disabled by setting BB_NO_NETWORK + to "1". Using the SSTATE_MIRROR_ALLOW_NETWORK variable is useful if you have set -- cgit v1.2.3-54-g00ecf