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
|
2010-09-16 14:14:58 +00:00
|
|
|
# location, default it ${TOPDIR}/downloads
|
|
|
|
#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
|
2010-09-29 10:19:22 +00:00
|
|
|
# location, default ${TOPDIR}/sstate-cache
|
|
|
|
#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
|
|
|
|
2006-07-21 12:16:39 +00:00
|
|
|
# The machine to target
|
2009-12-11 14:24:45 +00:00
|
|
|
MACHINE ?= "qemux86"
|
2006-10-12 13:05:06 +00:00
|
|
|
|
|
|
|
# Other supported machines
|
2008-10-21 14:01:02 +00:00
|
|
|
#MACHINE ?= "qemuarm"
|
2010-09-15 03:55:45 +00:00
|
|
|
#MACHINE ?= "qemux86-64"
|
2010-10-07 20:04:23 +00:00
|
|
|
#MACHINE ?= "atom-pc"
|
2006-11-23 12:15:52 +00:00
|
|
|
#MACHINE ?= "c7x0"
|
|
|
|
#MACHINE ?= "akita"
|
|
|
|
#MACHINE ?= "spitz"
|
|
|
|
#MACHINE ?= "nokia770"
|
2008-02-15 11:28:09 +00:00
|
|
|
#MACHINE ?= "nokia800"
|
|
|
|
#MACHINE ?= "fic-gta01"
|
|
|
|
#MACHINE ?= "bootcdx86"
|
|
|
|
#MACHINE ?= "cm-x270"
|
|
|
|
#MACHINE ?= "em-x270"
|
|
|
|
#MACHINE ?= "htcuniversal"
|
|
|
|
#MACHINE ?= "mx31ads"
|
|
|
|
#MACHINE ?= "mx31litekit"
|
|
|
|
#MACHINE ?= "mx31phy"
|
|
|
|
#MACHINE ?= "zylonite"
|
2010-06-19 09:23:17 +00:00
|
|
|
#MACHINE ?= "igep0020"
|
|
|
|
#MACHINE ?= "igep0030"
|
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
|
|
|
|
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
|
|
|
|
# There are other application targets too, see meta/classes/poky-image.bbclass
|
|
|
|
# and meta/packages/tasks/task-poky.bb for more details.
|
|
|
|
|
2008-01-10 23:50:30 +00:00
|
|
|
EXTRA_IMAGE_FEATURES = "tools-debug tools-profile tools-testapps debug-tweaks"
|
2005-08-31 10:47:56 +00:00
|
|
|
|
2008-01-09 10:35:01 +00:00
|
|
|
# The default IMAGE_FEATURES above are too large for the mx31phy and
|
|
|
|
# c700/c750 machines which have limited space. The code below limits
|
|
|
|
# the default features for those machines.
|
2008-01-10 23:50:30 +00:00
|
|
|
EXTRA_IMAGE_FEATURES_c7x0 = "tools-testapps debug-tweaks"
|
2008-01-14 17:12:04 +00:00
|
|
|
EXTRA_IMAGE_FEATURES_mx31phy = "debug-tweaks"
|
2008-02-20 12:34:35 +00:00
|
|
|
EXTRA_IMAGE_FEATURES_mx31ads = "tools-testapps 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
|
|
|
|
2010-08-06 18:40:55 +00:00
|
|
|
# A list of additional classes to use when building the system
|
|
|
|
# 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
|
2010-08-06 18:40:55 +00:00
|
|
|
USER_CLASSES ?= "image-prelink"
|
|
|
|
|
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
|
2010-07-21 13:55:39 +00:00
|
|
|
#TMPDIR = "${POKYBASE}/build/tmp"
|
2005-08-31 10:47:56 +00:00
|
|
|
|
2006-11-22 15:33:16 +00:00
|
|
|
|
2007-08-09 10:52:43 +00:00
|
|
|
# Uncomment this if you are using the Openedhand provided qemu deb - see README
|
|
|
|
# ASSUME_PROVIDED += "qemu-native"
|
2006-12-05 14:48:50 +00:00
|
|
|
|
2008-01-28 23:35:32 +00:00
|
|
|
# Comment this out if you don't have a 3.x gcc version available and wish
|
|
|
|
# poky to build one for you. The 3.x gcc is required to build qemu-native.
|
2008-04-25 22:06:25 +00:00
|
|
|
# ASSUME_PROVIDED += "gcc3-native"
|
2008-01-28 23:35:32 +00:00
|
|
|
|
2005-08-31 10:47:56 +00:00
|
|
|
# Uncomment these two if you want BitBake to build images useful for debugging.
|
|
|
|
# DEBUG_BUILD = "1"
|
|
|
|
# INHIBIT_PACKAGE_STRIP = "1"
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
2006-07-21 12:16:39 +00:00
|
|
|
# Uncomment this if you want BitBake to emit debugging output
|
|
|
|
# BBDEBUG = "yes"
|
2005-08-31 10:47:56 +00:00
|
|
|
# Uncomment this if you want BitBake to emit the log if a build fails.
|
|
|
|
BBINCLUDELOGS = "yes"
|
|
|
|
|
2007-08-14 12:46:44 +00:00
|
|
|
# Set this if you wish to make pkgconfig libraries from your system available
|
|
|
|
# for native builds. Combined with extra ASSUME_PROVIDEDs this can allow
|
|
|
|
# native builds of applications like oprofileui-native (unsupported feature).
|
|
|
|
#EXTRA_NATIVE_PKGCONFIG_PATH = ":/usr/lib/pkgconfig"
|
|
|
|
#ASSUME_PROVIDED += "gtk+-native libglade-native"
|
|
|
|
|
2006-04-13 13:59:34 +00:00
|
|
|
ENABLE_BINARY_LOCALE_GENERATION = "1"
|
2009-12-11 14:28:22 +00:00
|
|
|
|
|
|
|
# The architecture to build SDK items for, by setting this you can build SDK
|
|
|
|
# packages for architectures other than the host i.e. building i586 packages
|
|
|
|
# on an x86_64 host.
|
2009-12-11 17:25:52 +00:00
|
|
|
# Supported values are i586 and x86_64
|
2010-07-29 18:20:16 +00:00
|
|
|
#SDKMACHINE ?= "i586"
|
2010-01-29 12:27:30 +00:00
|
|
|
|
|
|
|
# Poky can try and fetch packaged-staging packages from a http, https or ftp
|
|
|
|
# mirror. Set this variable to the root of a pstage directory on a server.
|
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.
|
|
|
|
#TEST_SCEN = "sanity bat sanity:boot"
|
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
|
|
|
|
|
|
|
# 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
|
|
|
|
#TERMCMD = "${KONSOLE_TERMCMD}"
|
|
|
|
#TERMCMDRUN = "${KONSOLE_TERMCMDRUN}"
|