diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-09-11 22:41:08 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-09-11 22:41:08 +0000 |
| commit | 96a71ae11620b26c51eec434fe1ececb4687bbaf (patch) | |
| tree | 14b9ca7f861cdd0b0905dcac0edd885a2b17711d | |
| parent | fc6f464b57037e95ba8abe7138b25b315c309a05 (diff) | |
| download | poky-96a71ae11620b26c51eec434fe1ececb4687bbaf.tar.gz | |
local.conf.sample: Make the parallel threads documentation more visible and update with a quadcore example
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5189 311d38ba-8fff-0310-9ca6-ca027cbcb966
| -rw-r--r-- | build/conf/local.conf.sample | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/build/conf/local.conf.sample b/build/conf/local.conf.sample index 25c3c375b7..619dccabbc 100644 --- a/build/conf/local.conf.sample +++ b/build/conf/local.conf.sample | |||
| @@ -2,22 +2,12 @@ | |||
| 2 | DL_DIR ?= "${OEROOT}/sources" | 2 | DL_DIR ?= "${OEROOT}/sources" |
| 3 | BBFILES = "${OEROOT}/meta/packages/*/*.bb" | 3 | BBFILES = "${OEROOT}/meta/packages/*/*.bb" |
| 4 | 4 | ||
| 5 | # Poky has various extra metadata collections (openmoko, extras). | 5 | # Uncomment and set to allow bitbake to execute multiple tasks at once. |
| 6 | # To enable these, uncomment all (or some of) the following lines: | 6 | # For a quadcore, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would |
| 7 | # BBFILES = "\ | 7 | # be appropriate. |
| 8 | # ${OEROOT}/meta/packages/*/*.bb | 8 | # BB_NUMBER_THREADS = "4" |
| 9 | # ${OEROOT}/meta-extras/packages/*/*.bb | 9 | # Also, make can be passed flags so it run parallel threads e.g.: |
| 10 | # ${OEROOT}/meta-openmoko/packages/*/*.bb | 10 | # PARALLEL_MAKE = "-j 4" |
| 11 | # " | ||
| 12 | # BBFILE_COLLECTIONS = "normal extras openmoko" | ||
| 13 | # BBFILE_PATTERN_normal = "^${OEROOT}/meta/" | ||
| 14 | # BBFILE_PATTERN_extras = "^${OEROOT}/meta-extras/" | ||
| 15 | # BBFILE_PATTERN_openmoko = "^${OEROOT}/meta-openmoko/" | ||
| 16 | # BBFILE_PRIORITY_normal = "5" | ||
| 17 | # BBFILE_PRIORITY_extras = "5" | ||
| 18 | # BBFILE_PRIORITY_openmoko = "5" | ||
| 19 | |||
| 20 | BBMASK = "" | ||
| 21 | 11 | ||
| 22 | # The machine to target | 12 | # The machine to target |
| 23 | MACHINE ?= "qemuarm" | 13 | MACHINE ?= "qemuarm" |
| @@ -44,6 +34,23 @@ DISTRO ?= "poky" | |||
| 44 | # For bleeding edge / experimental / unstable package versions | 34 | # For bleeding edge / experimental / unstable package versions |
| 45 | # DISTRO ?= "poky-bleeding" | 35 | # DISTRO ?= "poky-bleeding" |
| 46 | 36 | ||
| 37 | # Poky has various extra metadata collections (openmoko, extras). | ||
| 38 | # To enable these, uncomment all (or some of) the following lines: | ||
| 39 | # BBFILES = "\ | ||
| 40 | # ${OEROOT}/meta/packages/*/*.bb | ||
| 41 | # ${OEROOT}/meta-extras/packages/*/*.bb | ||
| 42 | # ${OEROOT}/meta-openmoko/packages/*/*.bb | ||
| 43 | # " | ||
| 44 | # BBFILE_COLLECTIONS = "normal extras openmoko" | ||
| 45 | # BBFILE_PATTERN_normal = "^${OEROOT}/meta/" | ||
| 46 | # BBFILE_PATTERN_extras = "^${OEROOT}/meta-extras/" | ||
| 47 | # BBFILE_PATTERN_openmoko = "^${OEROOT}/meta-openmoko/" | ||
| 48 | # BBFILE_PRIORITY_normal = "5" | ||
| 49 | # BBFILE_PRIORITY_extras = "5" | ||
| 50 | # BBFILE_PRIORITY_openmoko = "5" | ||
| 51 | |||
| 52 | BBMASK = "" | ||
| 53 | |||
| 47 | # EXTRA_IMAGE_FEATURES allows extra packages to be added to the generated images | 54 | # EXTRA_IMAGE_FEATURES allows extra packages to be added to the generated images |
| 48 | # (Some of these are automatically added to certain image types) | 55 | # (Some of these are automatically added to certain image types) |
| 49 | # "dbg-pkgs" - add -dbg packages for all installed packages | 56 | # "dbg-pkgs" - add -dbg packages for all installed packages |
| @@ -93,11 +100,6 @@ PACKAGE_CLASSES ?= "package_ipk" | |||
| 93 | # <build directory>/tmp | 100 | # <build directory>/tmp |
| 94 | TMPDIR = "${OEROOT}/build/tmp" | 101 | TMPDIR = "${OEROOT}/build/tmp" |
| 95 | 102 | ||
| 96 | # Uncomment and set to allow bitbake to execute multiple tasks at once. | ||
| 97 | # Note, This option is currently experimental - YMMV. | ||
| 98 | # BB_NUMBER_THREADS = "1" | ||
| 99 | # Also, make can be passed flags so it run parallel threads e.g.: | ||
| 100 | # PARALLEL_MAKE = "-j 4" | ||
| 101 | 103 | ||
| 102 | # Uncomment this if you are using the Openedhand provided qemu deb - see README | 104 | # Uncomment this if you are using the Openedhand provided qemu deb - see README |
| 103 | # ASSUME_PROVIDED += "qemu-native" | 105 | # ASSUME_PROVIDED += "qemu-native" |
