From 8a3bcfa1204811c5a26d5485e0b2ef3b389e74ec Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 12 Dec 2013 23:17:06 +0000 Subject: [PATCH] local.conf.extended: Bring into sync with OE-Core Signed-off-by: Richard Purdie --- meta-yocto/conf/local.conf.sample.extended | 96 +++++++++++++++------- 1 file changed, 65 insertions(+), 31 deletions(-) diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended index dfa4233d97b..9585432bc60 100644 --- a/meta-yocto/conf/local.conf.sample.extended +++ b/meta-yocto/conf/local.conf.sample.extended @@ -15,7 +15,7 @@ #DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci ${DISTRO_FEATURES_LIBC}" -# If you want to get an image based on directfb without x11, Please copy this variable to build/conf/local.conf +# If you want to get an image based on gtk+directfb without x11, Please copy this variable to build/conf/local.conf #DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g directfb ${DISTRO_FEATURES_LIBC}" # ENABLE_BINARY_LOCALE_GENERATION controls the generation of binary locale @@ -78,11 +78,21 @@ # TCMODE controls the characteristics of the generated packages/images by # telling poky which toolchain 'profile' to use. # -# The default is "default" -# Use "external-MODE" to use the precompiled external toolchains where MODE -# is the type of external toolchain to use e.g. eabi. You need to ensure -# the toolchain you want to use is included in an appropriate layer -# TCMODE = "external-eabi" +# The default is "default" which uses the internal toolchain. With +# additional layers, it is possible to set this to use a precompiled +# external toolchain. One example is the Sourcery G++ Toolchain, support +# for which is now in the separate meta-sourcery layer: +# +# http://github.com/MentorEmbedded/meta-sourcery/ +# +# meta-sourcery can be used as a template for adding support for other +# external toolchains. See the link above for further details. +# +# TCMODE points the system to a file in conf/distro/include/tcmode-${TCMODE}.inc, +# so for meta-sourcery which has conf/distro/include/tcmode-external-sourcery.inc +# you would set it as follows: +# +# TCMODE ?= "external-sourcery" # mklibs library size optimization is more useful to smaller images, # and less useful for bigger images. Also mklibs library optimization @@ -178,37 +188,33 @@ # when the disk space reduces 50M (or the amount of inode reduces 5k). #BB_DISKMON_WARNINTERVAL = "50M,5K" -# Archiving source code, configure what kind of sources will be archived -# and the output format. The output files will be put in -# ${DEPLOY_DIR}/sources/. +# Archiving source code configuration # -# You can add the following 3 lines to the conf file to get a quick -# usage: -#ARCHIVER_MODE ?= "original" -#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}" -#INHERIT += "${ARCHIVER_CLASS}" +# The following variables control which files to archive and the type to archive to generate. +# There are three basic class defintions of common operations that might be desired and these +# can be enabled by uncommenting one of the following lines: # -# Detailed configuration: -# What kind of sources will be archived, the ARCHIVER_MODE could be: -# original: the ${S} after do_unpack -# patched : the ${S} after do_patch -# configured: the ${S} after do_configure -#ARCHIVER_MODE ?= "original" +# INHERIT += "archive-original-source" +# INHERIT += "archive-patched-source" +#INHERIT =+ "archive-configured-source" # -# The output format type, tar or srpm, the default is "tar". -#ARCHIVER_MODE[type] ?= "tar" +# Type of archive: +# SOURCE_ARCHIVE_PACKAGE_TYPE = 'srpm' +#SOURCE_ARCHIVE_PACKAGE_TYPE ?= 'tar' # -# Whether include the log file under ${T} and the recipe (.bb and .inc), -# the default is "logs_with_scripts". +# Whether to include WORKDIR/temp, .bb and .inc files: +# 'logs_with_scripts' include WORKDIR/temp directory and .bb and .inc files +# 'logs' only include WORKDIR/temp +# ARCHIVER_MODE[log_type] = "logs logs_with_scripts" +# There are three basic class defintions of common operations +# that might be desired and these can be enabled by +# uncommenting five of the following lines: +# ARCHIVER_MODE[filter] ?= "yes no" +# Filter packages according to license +#ARCHIVER_MODE ?= "original" +#ARCHIVER_MODE[type] ?= "tar" #ARCHIVER_MODE[log_type] ?= "logs_with_scripts" -# -# license filter: -# yes: Only the COPYLEFT_LICENSE_INCLUDE recipe will be archived -# no: All kinds lof license will be archived -# The default is "no" #ARCHIVER_MODE[filter] ?= "no" -# -# Put the following two lines in the conf file with intact. #ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}" #INHERIT += "${ARCHIVER_CLASS}" @@ -241,3 +247,31 @@ #groupmod -g 1020 developers; \ #usermod -s /bin/sh tester; \ #" + +# Enabling FORTRAN +# Note this is not officially supported and is just illustrated here to +# show an example of how it can be done +# You'll also need your fortran recipe to depend on libgfortran +#FORTRAN_forcevariable = ",fortran" +#RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath" + +# +# Kernel image features +# +# The INITRAMFS_IMAGE image variable will cause an additional recipe to +# be built as a dependency to the what ever rootfs recipe you might be +# using such as core-image-sato. The initramfs might be needed for +# the initial boot of of the target system such as to load kernel +# modules prior to mounting the root file system. +# +# INITRAMFS_IMAGE_BUNDLE variable controls if the image recipe +# specified by the INITRAMFS_IMAGE will be run through an extra pass +# through the kernel compilation in order to build a single binary +# which contains both the kernel image and the initramfs. The +# combined binary will be deposited into the tmp/deploy directory. +# NOTE: You can set INITRAMFS_IMAGE in an image recipe, but +# INITRAMFS_IMAGE_BUNDLE can only be set in a conf file. +# +#INITRAMFS_IMAGE = "core-image-minimal-initramfs" +#INITRAMFS_IMAGE_BUNDLE = "1" + -- 2.47.3