summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2014-10-09 12:23:54 +0300
committerSamuli Piippo <samuli.piippo@digia.com>2014-10-14 08:20:45 +0300
commitf7458f3ea4941360a5f1cbcf50dfb1903014bd7b (patch)
treedabd8bf22c928a738e8bbb6e0900b5609f0d07ba /conf
parenteb498abc47e8f01c77d27506fa430ac1fdbf6f44 (diff)
downloadmeta-boot2qt-f7458f3ea4941360a5f1cbcf50dfb1903014bd7b.tar.gz
Update local.conf.sample
Match with meta-poky version. Parallel threads are now configured based on the CPU count. Change-Id: If82e8b55778c9c822e5aa8e7558a68919b74f666 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/include/apalis-imx6.conf2
-rw-r--r--conf/distro/include/toradex.inc1
-rw-r--r--conf/local.conf.sample58
3 files changed, 32 insertions, 29 deletions
diff --git a/conf/distro/include/apalis-imx6.conf b/conf/distro/include/apalis-imx6.conf
index ea5a1e1..25c87d3 100644
--- a/conf/distro/include/apalis-imx6.conf
+++ b/conf/distro/include/apalis-imx6.conf
@@ -20,6 +20,8 @@
20## 20##
21############################################################################# 21#############################################################################
22 22
23include conf/distro/include/toradex.inc
24
23IMAGE_FSTYPES = "tar.gz" 25IMAGE_FSTYPES = "tar.gz"
24 26
25BOOTFS_CONTENT = "\ 27BOOTFS_CONTENT = "\
diff --git a/conf/distro/include/toradex.inc b/conf/distro/include/toradex.inc
new file mode 100644
index 0000000..616b77f
--- /dev/null
+++ b/conf/distro/include/toradex.inc
@@ -0,0 +1 @@
BBMASK += "|meta-toradex/recipes-mozilla|meta-toradex/recipes-browser|meta-toradex/recipes-lxde|meta-toradex/recipes-connectivity|meta-toradex/recipes-gnome|meta-toradex/recipes/trdx-config|meta-toradex/recipes-multimedia/webm|meta-toradex/recipes-qt|meta-toradex/recipes-core/psplash|meta-toradex/recipes-support/florence|meta-toradex/recipes-core/systemd|meta-toradex/recipes-efl|meta-toradex/recipes-core/dropbear"
diff --git a/conf/local.conf.sample b/conf/local.conf.sample
index 9b24789..b5986c4 100644
--- a/conf/local.conf.sample
+++ b/conf/local.conf.sample
@@ -39,12 +39,18 @@
39# These two options control how much parallelism BitBake should use. The first 39# These two options control how much parallelism BitBake should use. The first
40# option determines how many tasks bitbake should run in parallel: 40# option determines how many tasks bitbake should run in parallel:
41# 41#
42BB_NUMBER_THREADS = "4" 42BB_NUMBER_THREADS ?= "4"
43#
44# Default to setting automatically based on cpu count
45#BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
43# 46#
44# The second option controls how many processes make should run in parallel when 47# The second option controls how many processes make should run in parallel when
45# running compile tasks: 48# running compile tasks:
46# 49#
47PARALLEL_MAKE = "-j 4" 50PARALLEL_MAKE ?= "-j 4"
51#
52# Default to setting automatically based on cpu count
53#PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
48# 54#
49# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would 55# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
50# be appropriate for example. 56# be appropriate for example.
@@ -64,10 +70,11 @@ PARALLEL_MAKE = "-j 4"
64# There are also the following hardware board target machines included for 70# There are also the following hardware board target machines included for
65# demonstration purposes: 71# demonstration purposes:
66# 72#
67#MACHINE ?= "atom-pc" 73#MACHINE ?= "beaglebone"
68#MACHINE ?= "beagleboard" 74#MACHINE ?= "genericx86"
75#MACHINE ?= "genericx86-64"
69#MACHINE ?= "mpc8315e-rdb" 76#MACHINE ?= "mpc8315e-rdb"
70#MACHINE ?= "routerstationpro" 77#MACHINE ?= "edgerouter"
71# 78#
72# This sets the default machine to be qemux86 if no other machine is selected: 79# This sets the default machine to be qemux86 if no other machine is selected:
73MACHINE ??= "qemux86" 80MACHINE ??= "qemux86"
@@ -86,9 +93,6 @@ MACHINE_HOSTNAME ?= "b2qt-linux-${MACHINE}"
86# 93#
87DL_DIR ?= "${TOPDIR}/../downloads" 94DL_DIR ?= "${TOPDIR}/../downloads"
88 95
89PREMIRRORS = "http://qt-rnd.it-local/yocto/"
90
91
92# 96#
93# Where to place shared-state files 97# Where to place shared-state files
94# 98#
@@ -149,9 +153,9 @@ PACKAGE_CLASSES ?= "package_ipk"
149# 153#
150# SDK/ADT target architecture 154# SDK/ADT target architecture
151# 155#
152# This variable specified the architecture to build SDK/ADT items for and means 156# This variable specifies the architecture to build SDK/ADT items for and means
153# you can build the SDK packages for architectures other than the machine you are 157# you can build the SDK packages for architectures other than the machine you are
154# running the build on (i.e. building i686 packages on an x86_64 host._ 158# running the build on (i.e. building i686 packages on an x86_64 host).
155# Supported values are i686 and x86_64 159# Supported values are i686 and x86_64
156#SDKMACHINE ?= "i686" 160#SDKMACHINE ?= "i686"
157 161
@@ -198,23 +202,9 @@ USER_CLASSES ?= "buildstats image-mklibs"
198# 202#
199# The build system can test booting virtual machine images under qemu (an emulator) 203# The build system can test booting virtual machine images under qemu (an emulator)
200# after any root filesystems are created and run tests against those images. To 204# after any root filesystems are created and run tests against those images. To
201# enable this uncomment this line 205# enable this uncomment this line. See classes/testimage(-auto).bbclass for
202#IMAGETEST = "qemu" 206# further details.
203# 207#TEST_IMAGE = "1"
204# This variable controls which tests are run against virtual images if enabled
205# above. The following would enable bat, boot the test case under the sanity suite
206# and perform toolchain tests
207#TEST_SCEN = "sanity bat sanity:boot toolchain"
208#
209# Because of the QEMU booting slowness issue (see bug #646 and #618), the
210# autobuilder may suffer a timeout issue when running sanity tests. We introduce
211# the variable TEST_SERIALIZE here to reduce the time taken by the sanity tests.
212# It is set to 1 by default, which will boot the image and run cases in the same
213# image without rebooting or killing the machine instance. If it is set to 0, the
214# image will be copied and tested for each case, which will take longer but be
215# more precise.
216#TEST_SERIALIZE = "1"
217
218# 208#
219# Interactive shell configuration 209# Interactive shell configuration
220# 210#
@@ -268,6 +258,18 @@ BB_DISKMON_DIRS = "\
268#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ 258#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
269#file://.* file:///some/local/dir/sstate/PATH" 259#file://.* file:///some/local/dir/sstate/PATH"
270 260
261
262#
263# Qemu configuration
264#
265# By default qemu will build with a builtin VNC server where graphical output can be
266# seen. The two lines below enable the SDL backend too. This assumes there is a
267# libsdl library available on your build system.
268#PACKAGECONFIG_pn-qemu-native = "sdl"
269#PACKAGECONFIG_pn-nativesdk-qemu = "sdl"
270#ASSUME_PROVIDED += "libsdl-native"
271
272
271# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to 273# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
272# track the version of this file when it was generated. This can safely be ignored if 274# track the version of this file when it was generated. This can safely be ignored if
273# this doesn't mean anything to you. 275# this doesn't mean anything to you.
@@ -275,8 +277,6 @@ CONF_VERSION = "1"
275 277
276INHERIT += "rm_work" 278INHERIT += "rm_work"
277 279
278BBMASK = "meta-ti/recipes-misc"
279BBMASK += "|meta-toradex/recipes/images|meta-toradex/recipes-browser|meta-toradex/recipes-connectivity|meta-toradex/recipes-gnome|meta-toradex/recipes-mozilla|meta-toradex/recipes-graphics|meta-toradex/recipes-devtools/mtd|meta-toradex/recipes-core/psplash|meta-toradex/recipes-lxde|meta-toradex/recipes-multimedia/webm|meta-toradex/recipes/trdx-config|meta-toradex/recipes-core/util-linux|meta-toradex/recipes-core/systemd|meta-toradex/recipes-support|meta-toradex/recipes-core/dropbear|meta-toradex/recipes/base-files|meta-toradex/recipes-multimedia/gstreamer|meta-toradex/recipes-qt"
280ACCEPT_FSL_EULA = "1" 280ACCEPT_FSL_EULA = "1"
281LICENSE_FLAGS_WHITELIST = "commercial" 281LICENSE_FLAGS_WHITELIST = "commercial"
282 282