2011-08-11 23:30:22 +00:00
|
|
|
# BBMASK is a regular expression that can be used to tell BitBake to ignore
|
|
|
|
# certain recipes.
|
|
|
|
#BBMASK = ""
|
|
|
|
|
2011-10-11 08:25:29 +00:00
|
|
|
# eglibc configurability is used to reduce minimal image's size.
|
2011-06-07 08:02:53 +00:00
|
|
|
# the all supported eglibc options are listed in DISTRO_FEATURES_LIBC
|
|
|
|
# and disabled by default. Uncomment and copy the DISTRO_FEATURES_LIBC
|
|
|
|
# and DISTRO_FEATURES definitions to local.conf to enable the options.
|
|
|
|
#DISTRO_FEATURES_LIBC = "ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \
|
|
|
|
# libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \
|
2013-07-05 14:39:20 +00:00
|
|
|
# libc-getlogin libc-idn libc-inet libc-inet-anl libc-libm libc-locales libc-locale-code \
|
2011-06-07 08:02:53 +00:00
|
|
|
# libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \
|
|
|
|
# libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \
|
|
|
|
# libc-posix-wchar-io"
|
|
|
|
|
|
|
|
#DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci ${DISTRO_FEATURES_LIBC}"
|
2011-08-11 23:30:22 +00:00
|
|
|
|
2013-12-12 23:17:06 +00:00
|
|
|
# If you want to get an image based on gtk+directfb without x11, Please copy this variable to build/conf/local.conf
|
2011-11-08 11:29:12 +00:00
|
|
|
#DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g directfb ${DISTRO_FEATURES_LIBC}"
|
|
|
|
|
2011-08-11 23:30:22 +00:00
|
|
|
# ENABLE_BINARY_LOCALE_GENERATION controls the generation of binary locale
|
|
|
|
# packages at build time using qemu-native. Disabling it (by setting it to 0)
|
|
|
|
# will save some build time at the expense of breaking i18n on devices with
|
|
|
|
# less than 128MB RAM.
|
|
|
|
#ENABLE_BINARY_LOCALE_GENERATION = "1"
|
|
|
|
|
|
|
|
# Set GLIBC_GENERATE_LOCALES to the locales you wish to generate should you not
|
|
|
|
# wish to perform the time-consuming step of generating all LIBC locales.
|
|
|
|
# NOTE: If removing en_US.UTF-8 you will also need to uncomment, and set
|
|
|
|
# appropriate values for IMAGE_LINGUAS and LIMIT_BUILT_LOCALES
|
|
|
|
# WARNING: this may break localisation!
|
|
|
|
#GLIBC_GENERATE_LOCALES = "en_GB.UTF-8 en_US.UTF-8"
|
|
|
|
# See message above as to whether setting these is required
|
|
|
|
#IMAGE_LINGUAS ?= "en-gb"
|
|
|
|
#LIMIT_BUILT_LOCALES ?= "POSIX en_GB"
|
|
|
|
|
|
|
|
# The following are used to control options related to debugging.
|
|
|
|
#
|
|
|
|
# Uncomment this to change the optimization to make debugging easer, at the
|
|
|
|
# possible cost of performance.
|
|
|
|
# DEBUG_BUILD = "1"
|
|
|
|
#
|
|
|
|
# Uncomment this to disable the stripping of the installed binaries
|
|
|
|
# INHIBIT_PACKAGE_STRIP = "1"
|
|
|
|
#
|
|
|
|
# Uncomment this to disable the split of the debug information into -dbg files
|
|
|
|
# INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
|
|
|
#
|
|
|
|
# When splitting debug information, the following controls the results of the
|
|
|
|
# file splitting.
|
|
|
|
#
|
|
|
|
# .debug (default):
|
|
|
|
# When splitting the debug information will be placed into
|
|
|
|
# a .debug directory in the same dirname of the binary produced:
|
|
|
|
# /bin/foo -> /bin/.debug/foo
|
|
|
|
#
|
|
|
|
# debug-file-directory:
|
|
|
|
# When splitting the debug information will be placed into
|
|
|
|
# a central debug-file-directory, /usr/lib/debug:
|
|
|
|
# /bin/foo -> /usr/lib/debug/bin/foo.debug
|
|
|
|
#
|
|
|
|
# Any source code referenced in the debug symbols will be copied
|
|
|
|
# and made available within the /usr/src/debug directory
|
|
|
|
#
|
|
|
|
#PACKAGE_DEBUG_SPLIT_STYLE = '.debug'
|
|
|
|
# PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'
|
|
|
|
|
|
|
|
# Uncomment these to build a package such that you can use gprof to profile it.
|
|
|
|
# NOTE: This will only work with 'linux' targets, not
|
|
|
|
# 'linux-uclibc', as uClibc doesn't provide the necessary
|
|
|
|
# object files. Also, don't build glibc itself with these
|
|
|
|
# flags, or it'll fail to build.
|
|
|
|
#
|
|
|
|
# PROFILE_OPTIMIZATION = "-pg"
|
|
|
|
# SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"
|
|
|
|
# LDFLAGS =+ "-pg"
|
|
|
|
|
|
|
|
# TCMODE controls the characteristics of the generated packages/images by
|
|
|
|
# telling poky which toolchain 'profile' to use.
|
|
|
|
#
|
2013-12-12 23:17:06 +00:00
|
|
|
# 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"
|
2011-08-11 23:30:22 +00:00
|
|
|
|
|
|
|
# mklibs library size optimization is more useful to smaller images,
|
|
|
|
# and less useful for bigger images. Also mklibs library optimization
|
|
|
|
# can break the ABI compatibility, so should not be applied to the
|
|
|
|
# images which are to be extended or upgraded later.
|
|
|
|
#This enabled mklibs library size optimization just for the specified image.
|
|
|
|
#MKLIBS_OPTIMIZED_IMAGES ?= "core-image-minimal"
|
|
|
|
#This enable mklibs library size optimization will be for all the images.
|
|
|
|
#MKLIBS_OPTIMIZED_IMAGES ?= "all"
|
|
|
|
|
|
|
|
# Uncomment this if your host distribution provides the help2man tool.
|
|
|
|
#ASSUME_PROVIDED += "help2man-native"
|
|
|
|
|
|
|
|
# This value is currently used by pseudo to determine if the recipe should
|
|
|
|
# build both the 32-bit and 64-bit wrapper libraries on a 64-bit build system.
|
|
|
|
#
|
|
|
|
# Pseudo will attempt to determine if a 32-bit wrapper is necessary, but
|
|
|
|
# it doesn't always guess properly. If you have 32-bit executables on
|
|
|
|
# your 64-bit build system, you likely want to set this to "0",
|
|
|
|
# otherwise you could end up with incorrect file attributes on the
|
|
|
|
# target filesystem.
|
|
|
|
#
|
|
|
|
# Default is to not build 32 bit libs on 64 bit systems, uncomment this
|
|
|
|
# if you need the 32 bits libs
|
|
|
|
#NO32LIBS = "0"
|
|
|
|
|
|
|
|
# Uncomment the following lines to enable multilib builds
|
|
|
|
#require conf/multilib.conf
|
|
|
|
#MULTILIBS = "multilib:lib32"
|
|
|
|
#DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
|
|
|
|
|
|
|
|
# The network based PR service host and port
|
2012-01-12 03:40:29 +00:00
|
|
|
# Uncomment the following lines to enable PRservice.
|
2013-01-23 14:54:56 +00:00
|
|
|
# Set PRSERV_HOST to 'localhost:0' to automatically
|
2012-01-12 03:40:29 +00:00
|
|
|
# start local PRService.
|
|
|
|
# Set to other values to use remote PRService.
|
2013-01-23 14:54:56 +00:00
|
|
|
#PRSERV_HOST = "localhost:0"
|
2011-11-07 19:20:04 +00:00
|
|
|
|
|
|
|
# Additional image generation features
|
|
|
|
#
|
|
|
|
# The following is a list of classes to import to use in the generation of images
|
|
|
|
# currently an example class is image_types_uboot
|
|
|
|
# IMAGE_CLASSES = " image_types_uboot"
|
2011-12-28 09:25:20 +00:00
|
|
|
|
|
|
|
# Incremental rpm image generation, the rootfs would be totally removed
|
|
|
|
# and re-created in the second generation by default, but with
|
|
|
|
# INC_RPM_IMAGE_GEN = "1", the rpm based rootfs would be kept, and will
|
|
|
|
# do update(remove/add some pkgs) on it. NOTE: This is not suggested
|
|
|
|
# when you want to create a productive rootfs
|
|
|
|
#INC_RPM_IMAGE_GEN = "1"
|
2012-02-02 00:28:59 +00:00
|
|
|
|
|
|
|
# This is a list of packages that require a commercial license to ship
|
|
|
|
# product. If shipped as part of an image these packages may have
|
|
|
|
# implications so they are disabled by default. To enable them,
|
|
|
|
# un-comment the below as appropriate.
|
|
|
|
#LICENSE_FLAGS_WHITELIST = "commercial_gst-fluendo-mp3 \
|
|
|
|
# commercial_gst-openmax \
|
|
|
|
# commercial_gst-plugins-ugly \
|
|
|
|
# commercial_lame \
|
|
|
|
# commercial_libmad \
|
|
|
|
# commercial_libomxil \
|
|
|
|
# commercial_mpeg2dec \
|
|
|
|
# commercial_qmmp"
|
2012-02-26 08:48:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Disk space monitor, take action when the disk space or the amount of
|
|
|
|
# inode is running low, it is enabled when BB_DISKMON_DIRS is set.
|
|
|
|
#
|
2013-03-20 06:31:05 +00:00
|
|
|
# Set the directory for the monitor, the format is:
|
2012-02-26 08:48:16 +00:00
|
|
|
# "action,directory,minimum_space,minimum_free_inode"
|
|
|
|
#
|
|
|
|
# The "action" must be set and should be one of:
|
|
|
|
# ABORT: Immediately abort
|
|
|
|
# STOPTASKS: The new tasks can't be executed any more, will stop the build
|
|
|
|
# when the running tasks have been done.
|
|
|
|
# WARN: show warnings (see BB_DISKMON_WARNINTERVAL for more information)
|
|
|
|
#
|
|
|
|
# The "directory" must be set, any directory is OK.
|
|
|
|
#
|
|
|
|
# Either "minimum_space" or "minimum_free_inode" (or both of them)
|
|
|
|
# should be set, otherwise the monitor would not be enabled,
|
|
|
|
# the unit can be G, M, K or none, but do NOT use GB, MB or KB
|
|
|
|
# (B is not needed).
|
|
|
|
#BB_DISKMON_DIRS = "STOPTASKS,${TMPDIR},1G,100K WARN,${SSTATE_DIR},1G,100K"
|
|
|
|
#
|
|
|
|
# Set disk space and inode interval (only works when the action is "WARN",
|
|
|
|
# the unit can be G, M, or K, but do NOT use the GB, MB or KB
|
|
|
|
# (B is not needed), the format is:
|
|
|
|
# "disk_space_interval,disk_inode_interval", the default value is
|
|
|
|
# "50M,5K" which means that it would warn when the free space is
|
|
|
|
# lower than the minimum space(or inode), and would repeat the warning
|
|
|
|
# when the disk space reduces 50M (or the amount of inode reduces 5k).
|
|
|
|
#BB_DISKMON_WARNINTERVAL = "50M,5K"
|
|
|
|
|
2013-12-12 23:17:06 +00:00
|
|
|
# Archiving source code configuration
|
|
|
|
#
|
|
|
|
# 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:
|
|
|
|
#
|
|
|
|
# INHERIT += "archive-original-source"
|
|
|
|
# INHERIT += "archive-patched-source"
|
|
|
|
#INHERIT =+ "archive-configured-source"
|
|
|
|
#
|
|
|
|
# Type of archive:
|
|
|
|
# SOURCE_ARCHIVE_PACKAGE_TYPE = 'srpm'
|
|
|
|
#SOURCE_ARCHIVE_PACKAGE_TYPE ?= 'tar'
|
|
|
|
#
|
|
|
|
# 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
|
2012-08-26 06:18:36 +00:00
|
|
|
#ARCHIVER_MODE ?= "original"
|
2012-05-30 09:17:10 +00:00
|
|
|
#ARCHIVER_MODE[type] ?= "tar"
|
|
|
|
#ARCHIVER_MODE[log_type] ?= "logs_with_scripts"
|
2012-06-26 06:15:28 +00:00
|
|
|
#ARCHIVER_MODE[filter] ?= "no"
|
2012-05-30 09:17:10 +00:00
|
|
|
#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}"
|
|
|
|
#INHERIT += "${ARCHIVER_CLASS}"
|
2013-05-07 06:09:31 +00:00
|
|
|
|
|
|
|
# Remove the old image before the new one generated to save disk space
|
|
|
|
#RM_OLD_IMAGE = "1"
|
2013-06-28 18:49:53 +00:00
|
|
|
|
2013-10-16 16:33:05 +00:00
|
|
|
#
|
|
|
|
# GCC/LD FLAGS to enable more secure code generation
|
|
|
|
#
|
|
|
|
# By including the security_flags include file you enable flags
|
|
|
|
# to the compiler and linker that cause them to generate more secure
|
|
|
|
# code, this is enabled by default in the poky-lsb distro.
|
|
|
|
# This does affect compile speed slightly.
|
|
|
|
#
|
2013-06-28 18:49:53 +00:00
|
|
|
# Use the following line to enable the security compiler and linker flags to your build
|
|
|
|
#require conf/distro/include/security_flags.inc
|
|
|
|
|
2013-07-17 06:13:34 +00:00
|
|
|
# Image level user/group configuration.
|
|
|
|
# Inherit extrausers to make the setting of EXTRA_USERS_PARAMS effective.
|
|
|
|
#INHERIT += "extrausers"
|
|
|
|
# User / group settings
|
|
|
|
# The settings are sperated by the ; character.
|
|
|
|
# Each setting is actually a command. The supported commands are useradd,
|
|
|
|
# groupadd, userdel, groupdel, usermod and groupmod.
|
|
|
|
#EXTRA_USERS_PARAMS = "\
|
|
|
|
#useradd -p '' tester; \
|
|
|
|
#groupadd developers; \
|
|
|
|
#userdel nobody; \
|
|
|
|
#groupdel -g video; \
|
|
|
|
#groupmod -g 1020 developers; \
|
|
|
|
#usermod -s /bin/sh tester; \
|
|
|
|
#"
|
2013-09-05 21:14:01 +00:00
|
|
|
|
|
|
|
# Enabling FORTRAN
|
|
|
|
# Note this is not officially supported and is just illustrated here to
|
|
|
|
# show an example of how it can be done
|
2013-12-05 00:49:12 +00:00
|
|
|
# You'll also need your fortran recipe to depend on libgfortran
|
|
|
|
#FORTRAN_forcevariable = ",fortran"
|
|
|
|
#RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath"
|
2013-08-22 23:04:27 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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"
|
|
|
|
|