Op 5 jun. 2012, om 07:58 heeft u...@emagii.com het volgende geschreven:

> From: Ulf Samuelsson <u...@emagii.com>
> 
> Build jffs2 and ubifs as well as tar.bz2
> Add OE_CORES env variable for parallellity
> Add some PREMIRRORS
> 
> Signed-off-by: Ulf Samuelsson <u...@emagii.com>
> ---
> conf/local.conf |   37 ++++++++++++++++++++++++++++++++++---
> 1 files changed, 34 insertions(+), 3 deletions(-)
> 
> diff --git a/conf/local.conf b/conf/local.conf
> index 2477a90..77a6350 100644
> --- a/conf/local.conf
> +++ b/conf/local.conf
> @@ -8,13 +8,15 @@ INHERIT += "rm_work"
> BBMASK = ""
> 
> # What kind of images do we want?
> -IMAGE_FSTYPES += "tar.bz2"
> +IMAGE_FSTYPES += "tar.bz2 jffs2 ubi"

This is too specific for generic setupscripts

> 
> # Make use of SMP:
> #   PARALLEL_MAKE specifies how many concurrent compiler threads are spawned 
> per bitbake process
> #   BB_NUMBER_THREADS specifies how many concurrent bitbake tasks will be run
> -PARALLEL_MAKE     = "-j2"
> -BB_NUMBER_THREADS = "2"
> +OE_CORES ?= "4"
> +PARALLEL_MAKE         = "-j"
> +PARALLEL_MAKE        += " ${OE_CORES}"
> +BB_NUMBER_THREADS ?= "${OE_CORES}"

And that name is too confusing.

> 
> DISTRO = "angstrom-v2012.05"
> 
> @@ -43,3 +45,32 @@ PATCHRESOLVE = "noop"
> #SSTATE_MIRRORS ?= "\
> #file://.* http://dominion.thruhere.net/angstrom/sstate-mirror/ \n "
> 
> +PREMIRRORS_append = "\
> +bzr://.*/.*   http://pokylinux.org/sources/ \n \
> +cvs://.*/.*   http://pokylinux.org/sources/ \n \
> +git://.*/.*   http://pokylinux.org/sources/ \n \
> +hg://.*/.*    http://pokylinux.org/sources/ \n \
> +osc://.*/.*   http://pokylinux.org/sources/ \n \
> +p4://.*/.*    http://pokylinux.org/sources/ \n \
> +svk://.*/.*   http://pokylinux.org/sources/ \n \
> +svn://.*/.*   http://pokylinux.org/sources/ \n \
> +bzr://.*/.*   http://autobuilder.pokylinux.org/sources/ \n \
> +cvs://.*/.*   http://autobuilder.pokylinux.org/sources/ \n \
> +git://.*/.*   http://autobuilder.pokylinux.org/sources/ \n \
> +hg://.*/.*    http://autobuilder.pokylinux.org/sources/ \n \
> +osc://.*/.*   http://autobuilder.pokylinux.org/sources/ \n \
> +p4://.*/.*    http://autobuilder.pokylinux.org/sources/ \n \
> +svk://.*/.*   http://autobuilder.pokylinux.org/sources/ \n \
> +svn://.*/.*   http://autobuilder.pokylinux.org/sources/ \n"
> +
> +MIRRORS += "\
> +${KERNELORG_MIRROR}  ftp://ftp.sunet.se/pub/Linux/kernel.org \n \"
> +
> +MIRRORS_append = "\
> +ftp://.*/.*     http://pokylinux.org/sources/ \n \
> +http://.*/.*    http://pokylinux.org/sources/ \n \
> +https://.*/.*   http://pokylinux.org/sources/ \n \
> +ftp://.*/.*      http://autobuilder.pokylinux.org/sources/ \n \
> +http://.*/.*     http://autobuilder.pokylinux.org/sources/ \n \
> +https://.*/.*    http://autobuilder.pokylinux.org/sources/ \n \

And that belongs in the meta-angstrom layer.
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to