2010-04-29 12:34:05 +00:00
|
|
|
# CONF_VERSION is increased each time build/conf/ changes incompatibly
|
|
|
|
CONF_VERSION = "1"
|
|
|
|
|
2010-07-19 10:31:40 +00:00
|
|
|
# Uncomment and change to cache the files Poky downloads in an alternative
|
2011-07-26 09:59:56 +00:00
|
|
|
# location, default is ${TOPDIR}/downloads
|
2010-09-16 14:14:58 +00:00
|
|
|
#DL_DIR ?= "${TOPDIR}/downloads"
|
2010-07-19 10:31:40 +00:00
|
|
|
# Uncomment and change to cache Poky's built staging output in an alternative
|
2011-07-26 09:59:56 +00:00
|
|
|
# location, default is ${TOPDIR}/sstate-cache
|
2010-09-29 10:19:22 +00:00
|
|
|
#SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
|
2005-08-31 10:47:56 +00:00
|
|
|
|
2008-09-11 22:41:08 +00:00
|
|
|
# Uncomment and set to allow bitbake to execute multiple tasks at once.
|
|
|
|
# For a quadcore, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
|
|
|
|
# be appropriate.
|
|
|
|
# BB_NUMBER_THREADS = "4"
|
|
|
|
# Also, make can be passed flags so it run parallel threads e.g.:
|
|
|
|
# PARALLEL_MAKE = "-j 4"
|
2005-08-31 10:47:56 +00:00
|
|
|
|
2011-02-18 15:52:02 +00:00
|
|
|
# Set a default machine to target unless a machine is selected from the
|
|
|
|
# lists below.
|
|
|
|
MACHINE ??= "qemux86"
|
2006-10-12 13:05:06 +00:00
|
|
|
|
2011-02-18 15:20:01 +00:00
|
|
|
# Supported emulation machines
|
2008-10-21 14:01:02 +00:00
|
|
|
#MACHINE ?= "qemuarm"
|
2011-02-18 15:20:01 +00:00
|
|
|
#MACHINE ?= "qemumips"
|
|
|
|
#MACHINE ?= "qemuppc"
|
|
|
|
#MACHINE ?= "qemux86"
|
2010-09-15 03:55:45 +00:00
|
|
|
#MACHINE ?= "qemux86-64"
|
2011-02-18 15:20:01 +00:00
|
|
|
|
|
|
|
# Supported target hardware for demonstration purposes
|
2010-10-07 20:04:23 +00:00
|
|
|
#MACHINE ?= "atom-pc"
|
2011-02-18 15:20:01 +00:00
|
|
|
#MACHINE ?= "beagleboard"
|
|
|
|
#MACHINE ?= "emenlow"
|
|
|
|
#MACHINE ?= "mpc8315e-rdb"
|
|
|
|
#MACHINE ?= "routerstationpro"
|
2006-12-15 19:51:03 +00:00
|
|
|
|
2007-03-20 17:22:39 +00:00
|
|
|
DISTRO ?= "poky"
|
2006-12-15 19:51:03 +00:00
|
|
|
# For bleeding edge / experimental / unstable package versions
|
2007-03-20 17:22:39 +00:00
|
|
|
# DISTRO ?= "poky-bleeding"
|
2005-08-31 10:47:56 +00:00
|
|
|
|
2011-07-26 09:59:56 +00:00
|
|
|
# BBMASK is a regular expression that can be used to tell BitBake to ignore
|
|
|
|
# certain recipes.
|
2008-09-11 22:41:08 +00:00
|
|
|
BBMASK = ""
|
|
|
|
|
2008-01-10 23:50:30 +00:00
|
|
|
# EXTRA_IMAGE_FEATURES allows extra packages to be added to the generated images
|
2006-12-20 00:00:03 +00:00
|
|
|
# (Some of these are automatically added to certain image types)
|
2007-06-29 14:31:00 +00:00
|
|
|
# "dbg-pkgs" - add -dbg packages for all installed packages
|
|
|
|
# (adds symbol information for debugging/profiling)
|
|
|
|
# "dev-pkgs" - add -dev packages for all installed packages
|
|
|
|
# (useful if you want to develop against libs in the image)
|
|
|
|
# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.)
|
|
|
|
# "tools-debug" - add debugging tools (gdb, strace)
|
|
|
|
# "tools-profile" - add profiling tools (oprofile, exmap, lttng valgrind (x86 only))
|
|
|
|
# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
|
|
|
|
# "debug-tweaks" - make an image for suitable of development
|
|
|
|
# e.g. ssh root access has a blank password
|
2011-04-20 23:14:53 +00:00
|
|
|
# There are other application targets too, see meta/classes/core-image.bbclass
|
|
|
|
# and meta/recipes-core/tasks/task-core.bb for more details.
|
2011-06-07 22:11:09 +00:00
|
|
|
# The -sdk image includes these features by default now.
|
|
|
|
EXTRA_IMAGE_FEATURES = "debug-tweaks"
|
2008-01-09 10:35:01 +00:00
|
|
|
|
2006-11-24 17:14:24 +00:00
|
|
|
# A list of packaging systems used in generated images
|
|
|
|
# The first package type listed will be used for rootfs generation
|
|
|
|
# include 'package_deb' for debs
|
|
|
|
# include 'package_ipk' for ipks
|
2010-09-28 15:44:37 +00:00
|
|
|
# include 'package_rpm' for rpms
|
|
|
|
#PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
|
2010-10-07 09:23:30 +00:00
|
|
|
PACKAGE_CLASSES ?= "package_rpm package_ipk"
|
2005-08-31 10:47:56 +00:00
|
|
|
|
2011-04-30 20:57:15 +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.
|
2011-01-25 16:43:10 +00:00
|
|
|
#This enabled mklibs library size optimization just for the specified image.
|
2011-04-20 23:14:53 +00:00
|
|
|
#MKLIBS_OPTIMIZED_IMAGES ?= "core-image-minimal"
|
2011-01-25 16:43:10 +00:00
|
|
|
#This enable mklibs library size optimization will be for all the images.
|
|
|
|
#MKLIBS_OPTIMIZED_IMAGES ?= "all"
|
|
|
|
|
2010-08-06 18:40:55 +00:00
|
|
|
# A list of additional classes to use when building the system
|
2011-01-25 16:43:10 +00:00
|
|
|
# include 'image-mklibs' to reduce shared library files size for an image
|
2010-08-06 18:40:55 +00:00
|
|
|
# include 'image-prelink' in order to prelink the filesystem image
|
2010-10-08 15:56:51 +00:00
|
|
|
# include 'image-swab' to perform host system intrusion detection
|
2011-01-25 16:43:10 +00:00
|
|
|
# NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink
|
|
|
|
USER_CLASSES ?= "image-mklibs image-prelink"
|
2010-08-06 18:40:55 +00:00
|
|
|
|
2007-08-01 13:23:41 +00:00
|
|
|
# POKYMODE controls the characteristics of the generated packages/images by
|
|
|
|
# telling poky which type of toolchain to use.
|
|
|
|
#
|
|
|
|
# Options include several different EABI combinations and a compatibility
|
|
|
|
# mode for the OABI mode poky previously used.
|
|
|
|
#
|
|
|
|
# The default is "eabi"
|
|
|
|
# Use "oabi" for machines with kernels < 2.6.18 on ARM for example.
|
2007-11-07 10:58:31 +00:00
|
|
|
# Use "external-MODE" to use the precompiled external toolchains where MODE
|
|
|
|
# is the type of external toolchain to use e.g. eabi.
|
|
|
|
# POKYMODE = "external-eabi"
|
2007-01-08 21:02:07 +00:00
|
|
|
|
2006-07-21 12:16:39 +00:00
|
|
|
# Uncomment this to specify where BitBake should create its temporary files.
|
|
|
|
# Note that a full build of everything in OpenEmbedded will take GigaBytes of hard
|
|
|
|
# disk space, so make sure to free enough space. The default TMPDIR is
|
|
|
|
# <build directory>/tmp
|
2011-04-20 23:14:53 +00:00
|
|
|
#TMPDIR = "${COREBASE}/build/tmp"
|
2005-08-31 10:47:56 +00:00
|
|
|
|
2011-02-09 03:46:47 +00:00
|
|
|
# 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'
|
|
|
|
|
2005-08-31 10:47:56 +00:00
|
|
|
# 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"
|
|
|
|
|
|
|
|
# Uncomment this if you want BitBake to emit the log if a build fails.
|
|
|
|
BBINCLUDELOGS = "yes"
|
|
|
|
|
2009-12-11 14:28:22 +00:00
|
|
|
# The architecture to build SDK items for, by setting this you can build SDK
|
2011-02-08 19:48:20 +00:00
|
|
|
# packages for architectures other than the host i.e. building i686 packages
|
2009-12-11 14:28:22 +00:00
|
|
|
# on an x86_64 host.
|
2011-02-08 19:48:20 +00:00
|
|
|
# Supported values are i686 and x86_64
|
|
|
|
#SDKMACHINE ?= "i686"
|
2010-01-29 12:27:30 +00:00
|
|
|
|
2011-07-20 09:54:14 +00:00
|
|
|
# The build system can check data caches for prebuilt data objects before
|
|
|
|
# it builds the data itself. This can be a filesystem directory, or a remote url
|
|
|
|
# such as http or ftp. These would contain the sstate-cache results from previous
|
|
|
|
# builds (possibly from other machines). This variable works like fetcher
|
|
|
|
# MIRRORS/PREMIRRORS and points to the cache locations to check for the shared objects.
|
2010-10-07 14:42:56 +00:00
|
|
|
#SSTATE_MIRRORS ?= "\
|
|
|
|
#file://.* http://someserver.tld/share/sstate/ \n \
|
|
|
|
#file://.* file:///some/local/dir/sstate/"
|
2010-07-07 18:06:58 +00:00
|
|
|
|
|
|
|
# Set IMAGETEST to qemu if you want to build testcases and start
|
|
|
|
# testing in qemu after do_rootfs.
|
2010-07-29 18:20:16 +00:00
|
|
|
#IMAGETEST = "qemu"
|
2010-07-07 18:06:58 +00:00
|
|
|
|
2010-08-18 14:02:08 +00:00
|
|
|
# By default test cases in sanity suite will be ran. If you want to run other
|
|
|
|
# test suite or specific test case(e.g. bat or boot test case under sanity suite),
|
|
|
|
# list them like following.
|
2011-05-03 02:07:30 +00:00
|
|
|
#TEST_SCEN = "sanity bat sanity:boot toolchain"
|
2010-10-01 12:11:30 +00:00
|
|
|
|
2011-01-13 01:46:14 +00:00
|
|
|
#Because of the QEMU booting slowness issue(see bug #646 and #618), autobuilder
|
|
|
|
#may suffer a timeout issue when running sanity test. We introduce variable
|
2011-01-18 16:22:30 +00:00
|
|
|
#TEST_SERIALIZE here to reduce the time on sanity test. It is by default set
|
|
|
|
#to 1. Poky will start image and run cases in the same image without reboot
|
|
|
|
#or kill. If it is set to 0, the image will be copied and tested for each
|
|
|
|
#case, which will take much time.
|
|
|
|
#TEST_SERIALIZE = "1"
|
2011-01-13 01:46:14 +00:00
|
|
|
|
2011-07-26 09:59:56 +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"
|
|
|
|
|
2010-10-01 12:11:30 +00:00
|
|
|
# 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.
|
2010-11-26 14:23:16 +00:00
|
|
|
# NOTE: If removing en_US.UTF-8 you will also need to uncomment, and set
|
|
|
|
# appropriate values for IMAGE_LINGUAS and LIMIT_BUILT_LOCALES
|
2010-10-01 12:11:30 +00:00
|
|
|
# WARNING: this may break localisation!
|
|
|
|
#GLIBC_GENERATE_LOCALES = "en_GB.UTF-8 en_US.UTF-8"
|
2010-11-26 14:23:16 +00:00
|
|
|
# See message above as to whether setting these is required
|
|
|
|
#IMAGE_LINGUAS ?= "en-gb"
|
|
|
|
#LIMIT_BUILT_LOCALES ?= "POSIX en_GB"
|
2010-10-21 22:28:14 +00:00
|
|
|
|
2011-07-26 09:59:56 +00:00
|
|
|
# This value is currently used by pseudo to determine if the recipe should
|
2011-02-04 00:54:58 +00:00
|
|
|
# build both the 32-bit and 64-bit wrapper libraries on a 64-bit build system.
|
|
|
|
#
|
2011-07-26 09:59:56 +00:00
|
|
|
# Pseudo will attempt to determine if a 32-bit wrapper is necessary, but
|
2011-02-04 00:54:58 +00:00
|
|
|
# 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.
|
|
|
|
#
|
2010-10-21 22:28:14 +00:00
|
|
|
# Default to not build 32 bit libs on 64 bit systems, comment this
|
|
|
|
# out if that is desired
|
|
|
|
NO32LIBS = "1"
|
|
|
|
|
2010-11-26 16:43:05 +00:00
|
|
|
# If you do not use (or have installed) gnome-terminal you will need to
|
|
|
|
# uncomment these variables and set them to the terminal you wish to use
|
|
|
|
# when resolving patches which cannot be applied
|
|
|
|
# Supported shell prefixes for *_TERMCMD and *_TERMCMDRUN ARE:
|
|
|
|
# GNOME, SCREEN, XTERM and KONSOLE
|
2011-07-26 10:33:52 +00:00
|
|
|
# Note: currently, Konsole support only works for KDE 3.x due to the way
|
|
|
|
# newer Konsole versions behave
|
|
|
|
#TERMCMD = "${XTERM_TERMCMD}"
|
|
|
|
#TERMCMDRUN = "${XTERM_TERMCMDRUN}"
|
|
|
|
# Alternatively, if you prefer you can disable patch resolution:
|
|
|
|
#PATCHRESOLVE = "noop"
|
2011-05-27 06:31:47 +00:00
|
|
|
|
|
|
|
# The network based PR service host and port
|
|
|
|
#PRSERV_HOST = "localhost"
|
|
|
|
#PRSERV_PORT = "8585"
|
2011-07-19 17:45:09 +00:00
|
|
|
|
|
|
|
# Uncomment this if your host distribution provides the help2man tool.
|
|
|
|
#ASSUME_PROVIDED += "help2man-native"
|
2011-06-07 09:27:03 +00:00
|
|
|
|
|
|
|
# Uncomment the following lines to enable multilib builds
|
|
|
|
#require conf/multilib.conf
|
|
|
|
#MULTILIBS = "multilib:lib32"
|
|
|
|
#TUNENAME_virtclass-multilib-lib32 = "x86"
|