]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agoAdd basic Mips core tune config
Richard Purdie [Tue, 26 Jul 2011 11:32:29 +0000 (12:32 +0100)]
Add basic Mips core tune config

Acked-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd ARM tune file overhaul based largely on work from Mark Hatle
Richard Purdie [Mon, 25 Jul 2011 18:03:24 +0000 (19:03 +0100)]
Add ARM tune file overhaul based largely on work from Mark Hatle

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: fixup_perms - change symlink processing
Mark Hatle [Tue, 26 Jul 2011 19:28:33 +0000 (14:28 -0500)]
package.bbclass: fixup_perms - change symlink processing

We switch to using os.lchown in order to avoid following a symlink.

We also now check if an item is a symlink, if so we avoid the
os.chmod as a symlink inherits the mode of it's target.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoncurses: Resolve header and man page multilib conflicts
Mark Hatle [Fri, 15 Jul 2011 14:24:41 +0000 (09:24 -0500)]
ncurses: Resolve header and man page multilib conflicts

By default man pages are compressed, the way ncurses compresses
them causes differences (timestamp and name) to be embedded into
the gziped file.  So each build will end up with a slightly
different file.  Avoid this, by not compressing the man pages.

Avoid header conflict with curses.h using the multilib header
helper.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoeglibc_2.13: Resolve multilib header conflicts
Mark Hatle [Tue, 26 Jul 2011 19:17:11 +0000 (14:17 -0500)]
eglibc_2.13: Resolve multilib header conflicts

Due to mismatches between various header definitions in i386 and x86_64
we need to overwrite the i386 versions of the headers with their x86_64
equivalents.

This can not be done for the syscall.h as it's dynamically generated,
so use the header conflict resolution helper for that.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agolinux-libc-headers: Fix file conflict -- ..install.cmd
Mark Hatle [Tue, 26 Jul 2011 18:00:27 +0000 (13:00 -0500)]
linux-libc-headers: Fix file conflict -- ..install.cmd

The ..install.cmd conflicts between various configure runs.

This isn't used anywhere, so remove it to avoid the conflict.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agobeecrypt: Fix multilib header conflict - beecrypt/gnu.h
Mark Hatle [Tue, 26 Jul 2011 17:59:49 +0000 (12:59 -0500)]
beecrypt: Fix multilib header conflict - beecrypt/gnu.h

beecrypt/gnu.h conflicts between 32-bit and 64-bit versions.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoapr: Fix multilib header conflict - apr.h
Mark Hatle [Tue, 26 Jul 2011 17:58:58 +0000 (12:58 -0500)]
apr: Fix multilib header conflict - apr.h

apr.h conflicts between 32-bit and 64-bit versions

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agobinutils: Fix multilib header conflict - bfd.h
Mark Hatle [Tue, 26 Jul 2011 17:57:54 +0000 (12:57 -0500)]
binutils: Fix multilib header conflict - bfd.h

bfd.h conflicts between 32-bit and 64-bit versions.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agomultilib_header.bbclass: Add oe_multilib_header wrapper
Mark Hatle [Fri, 1 Jul 2011 16:36:41 +0000 (11:36 -0500)]
multilib_header.bbclass: Add oe_multilib_header wrapper

This helper function and associated header will allow us to
resolve two/three header files that conflict due to contents
that change based on wordsize and ABI.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoclasses/image*: Revamp creation of live images
Saul Wold [Tue, 26 Jul 2011 15:30:08 +0000 (08:30 -0700)]
classes/image*: Revamp creation of live images

This creates a live image as an IMAGE_FSTYPES, thus removing the
need to have additional -live.bb recipes.  To create a live image
one just needs to add live to the IMAGE_FSTYPES list

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoutils.bbclass: Don't forget to pass the cmdline options
Saul Wold [Tue, 26 Jul 2011 20:31:45 +0000 (13:31 -0700)]
utils.bbclass: Don't forget to pass the cmdline options

This ensure that the command line options from the creation of the wrapper
are actaully passed into the wrapper.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoRemove -directdisk.bb recipes
Saul Wold [Mon, 25 Jul 2011 22:33:02 +0000 (15:33 -0700)]
Remove -directdisk.bb recipes

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoRemove -live.bb recipes
Saul Wold [Mon, 25 Jul 2011 22:32:25 +0000 (15:32 -0700)]
Remove -live.bb recipes

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agositeinfo: Rework the siteinfo for powerpc to fix uclibc fallout
Khem Raj [Sat, 23 Jul 2011 01:59:48 +0000 (18:59 -0700)]
siteinfo: Rework the siteinfo for powerpc to fix uclibc fallout

I believe that powerpc-linux is now a common file across 32bit/64bit
linux for powerpc be it uclibc or glibc. I compared the differences
between powerpc-linux-uclibc and powerpc-linux files and it
powerpc-linux was more uptodate and all the new stuff it had was needed
for uclibc anyway so we do not need to keep exact copy of powerpc-linux
as powerpc-linux-uclibc instead we use powerpc-linux for powerpc/uclibc
targets.

Secondly linux specific files were added in archinfo dictionary
which I think logically belongs to targetinfo dictionary therefore
moved them to targetinfo

now uclibc/powerpc is buildable again

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agositeinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libc
Tom Rini [Fri, 22 Jul 2011 00:17:35 +0000 (17:17 -0700)]
siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libc

These functions are determined by the C library so move them to common-glibc
and common-uclibc

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agositeinfo: Move general realloc/malloc values to common-$libc
Tom Rini [Thu, 14 Jul 2011 19:59:11 +0000 (12:59 -0700)]
siteinfo: Move general realloc/malloc values to common-$libc

These are tests for glibc behavior which we have enabled in uclibc.
Note that if we ever disable MALLOC_GLIBC_COMPAT the uclibc tests
will need to be changed (but I believe this would also entail massive
patching to the rest of userspace so this should be unlikely).

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agositeinfo: Move certain db entries to common-linux
Tom Rini [Thu, 14 Jul 2011 19:49:19 +0000 (12:49 -0700)]
siteinfo: Move certain db entries to common-linux

Note that we had a number of unused and ignored settings wrt mutex
support.  These have been dropped as they weren't being used and
implied some odd things to boot.  This is also a partial resync with
oe.dev which had some, but not all of these changes.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agositeinfo: Move certain mysql entries to common-linux
Tom Rini [Wed, 13 Jul 2011 21:06:16 +0000 (14:06 -0700)]
siteinfo: Move certain mysql entries to common-linux

More re-sync with oe.dev

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agox86_64-linux siteinfo: Add bash info
Tom Rini [Wed, 13 Jul 2011 20:06:35 +0000 (13:06 -0700)]
x86_64-linux siteinfo: Add bash info

Taken from oe.dev

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agositeinfo: Move certain bash entries to common-linux
Tom Rini [Wed, 13 Jul 2011 19:52:52 +0000 (12:52 -0700)]
siteinfo: Move certain bash entries to common-linux

More re-sync with oe.dev

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agositeinfo: Move certain samba entries to common-linux
Tom Rini [Wed, 13 Jul 2011 19:29:08 +0000 (12:29 -0700)]
siteinfo: Move certain samba entries to common-linux

Part of re-syncing with oe.dev, move samba_cv_HAVE_IFACE_* to common-linux

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agopolkit: Support pam
Xiaofeng Yan [Tue, 26 Jul 2011 09:08:02 +0000 (17:08 +0800)]
polkit: Support pam

Modify configuration "polkit-1" in /etc/pam.d/ for supporting pam.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agodropbear: Support pam
Xiaofeng Yan [Tue, 26 Jul 2011 09:06:29 +0000 (17:06 +0800)]
dropbear: Support pam

I make a patch and some changes in dropbear.inc for supporting pam.
- Enable pam in configure
- Modify file option.h to open pam supporting

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agoopenssh: Support PAM
Xiaofeng Yan [Tue, 26 Jul 2011 09:04:24 +0000 (17:04 +0800)]
openssh: Support PAM

Adding configuration file "sshd" in /etc/pam.d/ for supporting pam.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agoat: enable pam support
Wenzong Fan [Wed, 20 Jul 2011 02:29:22 +0000 (10:29 +0800)]
at: enable pam support

add patches to make at enable pam support

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agoshadow: update pam related configure files
Kang Kai [Wed, 20 Jul 2011 11:18:14 +0000 (19:18 +0800)]
shadow: update pam related configure files

add shadow-update-pam-conf.patch to update the pam related configure files
in oe way rather than Fedora.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agocronie: enable PAM support for cronie
Wenzong Fan [Wed, 20 Jul 2011 02:42:28 +0000 (02:42 +0000)]
cronie: enable PAM support for cronie

Enable PAM support for cronie and update its pam config file 'crond'.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agosudo: add pam support
Kang Kai [Wed, 20 Jul 2011 03:17:07 +0000 (11:17 +0800)]
sudo: add pam support

According to DISTRO_FEATURES to add pam support for sudo, and import
configure file from Fedora.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoscreen: add pam support
Kang Kai [Wed, 20 Jul 2011 02:16:47 +0000 (10:16 +0800)]
screen: add pam support

According to DISTRO_FEATURES then add screen pam support or not.
Press "Ctrl+a x" will lock the screen terminal, then unlock it will
use pam.
Add pam related configure file sceen.pam from Fedora.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agocups: add pam support
Kang Kai [Wed, 20 Jul 2011 01:57:12 +0000 (09:57 +0800)]
cups: add pam support

According to distro_feature then add pam support for cups or not.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agolibpam: update to 1.1.4 and add subpackage xtests
Kang Kai [Tue, 19 Jul 2011 09:08:31 +0000 (17:08 +0800)]
libpam: update to 1.1.4 and add subpackage xtests

Update libpam to 1.1.4, and add dependecy cracklib because run xtexts will
need pam-plugin-cracklib.
There are some additional checks under subdirectory xtests and make it
as a subpackage libpam-xtests.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agolibcap: Update to 2.22 with License Clarification
Saul Wold [Mon, 25 Jul 2011 17:35:42 +0000 (10:35 -0700)]
libcap: Update to 2.22 with License Clarification

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agomachine/qemu: set preferred linux-yocto kernel version
Bruce Ashfield [Mon, 25 Jul 2011 14:44:55 +0000 (10:44 -0400)]
machine/qemu: set preferred linux-yocto kernel version

The introduction of the linux-yocto-3.0 kernel is taking
precedence over the known working 2.6.37 version. Forcing
2.6.37 until 3.0 is validated on the qemu machines.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoscripts/combo-layer: keep carriage returns at the end of lines
Paul Eggleton [Mon, 25 Jul 2011 08:08:10 +0000 (09:08 +0100)]
scripts/combo-layer: keep carriage returns at the end of lines

Use --keep-cr option to "git am" or otherwise we lose carriage returns
which can be important for patches against files that use CRs.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoeglibc: remove unnecessary FILESPATHPKG usage
Paul Eggleton [Fri, 22 Jul 2011 09:15:50 +0000 (10:15 +0100)]
eglibc: remove unnecessary FILESPATHPKG usage

This was not doing anything (we don't even have the eglibc-svn directory).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agomodule-init-tools: do not build static utilities for -cross
Enrico Scholz [Mon, 25 Jul 2011 14:34:45 +0000 (16:34 +0200)]
module-init-tools: do not build static utilities for -cross

There is no need to have static module-init-tools for the cross
tools.  Building such binaries requires a static libc which is not
required by the rest of OE and which is deprecated and not installed
by distributions like Fedora.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
13 years agoconsole-tools: removed wildcard from SRC_URI
Enrico Scholz [Mon, 25 Jul 2011 14:27:42 +0000 (16:27 +0200)]
console-tools: removed wildcard from SRC_URI

Wildcards in SRC_URI are not supported by oe-core and work only
when last (or first?) FILESPATH element points to the containing
directory. Specifying plain dir works fine for this recipe.

Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
13 years agodropbear: don't override DISTRO_TYPE if it is already set
Koen Kooi [Mon, 25 Jul 2011 08:08:59 +0000 (10:08 +0200)]
dropbear: don't override DISTRO_TYPE if it is already set

The long term solution is to remove the IMAGE_FEATURE check since images are not allowed to influence recipe compile options.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agolibxcb: Add missing DEPENDS on libxdmcp
Khem Raj [Sat, 23 Jul 2011 01:59:49 +0000 (18:59 -0700)]
libxcb: Add missing DEPENDS on libxdmcp

Observed this to fail when populating new tmpdir
from shared state

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agometa/conf/local.conf.sample: improve terminal examples/comments
Paul Eggleton [Tue, 26 Jul 2011 10:33:52 +0000 (11:33 +0100)]
meta/conf/local.conf.sample: improve terminal examples/comments

Default to XTERM_TERM* instead of KONSOLE_TERM* since Konsole support
only works for KDE 3.x, and note this in the comments (see Yocto bug 1294
for further details.) Also add a comment about PATCHRESOLVE = "noop".

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agometa/conf/local.conf.sample: improve comments/layout
Paul Eggleton [Tue, 26 Jul 2011 09:59:56 +0000 (10:59 +0100)]
meta/conf/local.conf.sample: improve comments/layout

Some additions and grammar fixes to the comments, as well as moving
the locale options to the same place.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agometa/conf/local.conf.sample: remove oprofileui-native related settings
Paul Eggleton [Tue, 26 Jul 2011 10:01:38 +0000 (11:01 +0100)]
meta/conf/local.conf.sample: remove oprofileui-native related settings

oprofileui-nativesdk would be a better way to handle these kinds of
requirements with the modern system, and it is not something that most
users will need to configure anyway (nor was it supported.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agotune-core2.inc: Drop X86ARCH32 usage
Richard Purdie [Wed, 27 Jul 2011 09:34:31 +0000 (10:34 +0100)]
tune-core2.inc: Drop X86ARCH32 usage

Using i686 doesn't work well with locale generation and doesn't gain anything
so revert to the i586 default.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarch-ia32.inc: Fix up TUNE_ARCH variable conflicts
Richard Purdie [Tue, 26 Jul 2011 17:51:02 +0000 (18:51 +0100)]
arch-ia32.inc: Fix up TUNE_ARCH variable conflicts

The current approach causes duplicate values to appear in the TUNE_ARCH
field and this patch addresses that.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/image_types: IMAGE_TYPES was missing some entries
Joshua Lock [Tue, 26 Jul 2011 04:21:56 +0000 (21:21 -0700)]
classes/image_types: IMAGE_TYPES was missing some entries

Some of these entries are required by the GUI to enable the expected workflow
of the ADT, namely a compressed rootfs image.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoupstream status: add for libsdl and xserver patches
Yu Ke [Tue, 26 Jul 2011 07:12:58 +0000 (15:12 +0800)]
upstream status: add for libsdl and xserver patches

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoUpstream-Status: Add Upstream-Status for some missing patches
Dongxiao Xu [Tue, 26 Jul 2011 08:36:57 +0000 (16:36 +0800)]
Upstream-Status: Add Upstream-Status for some missing patches

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESS
Khem Raj [Tue, 26 Jul 2011 05:09:13 +0000 (22:09 -0700)]
meta: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESS

There is this discrepency in spelling. Lets fix it in
core. There are lot of layers using SITEINFO_ENDIANNESS
This was shielded since meta-oe had its own copy of
siteinfo class. But that class has now been deleted in
favor of oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolib/oe/utils: 'Fix' oe.utils.contains() behaviour
Richard Purdie [Mon, 25 Jul 2011 18:03:08 +0000 (19:03 +0100)]
lib/oe/utils: 'Fix' oe.utils.contains() behaviour

Currently oe.utils.contains(X, "A", true, false) will return true for substring matches,
e.g. if X = "ABC". This is not what most users expect from the function.

In the common OE use of this function there is the case of "touchscreen" and "screen" being
used as independent variables. Whilst it could be argued there isn't a problem in that
specific case (touchscreens are usually on screens), there is no substring usage of this
function is OE-Core so this patch changes the behaviour to match only full strings.

It also fixes a bug where duplicate entries would confuse multiple matches, e.g.
contains(X, ["A", "B"], ...) would match X = "A A" which is clearly wrong.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoMove architecture specific TARGET_OS mangling into tune files
Richard Purdie [Fri, 22 Jul 2011 16:54:32 +0000 (17:54 +0100)]
Move architecture specific TARGET_OS mangling into tune files

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconf/machine/include: Start to fill out architecture specific tune include files...
Richard Purdie [Fri, 22 Jul 2011 16:32:21 +0000 (17:32 +0100)]
conf/machine/include: Start to fill out architecture specific tune include files and tune features

These changes revolve around the idea of tune features. These are represented by
'flag' strings that are included in the TUNE_FEATURES variable.

Any string included in TUNE_FEATURES should also add a TUNEVALID[<name>] entry so
we can know which flags are available in TUNE_FEATURES and have documentation about
what the flags do. We will add sanity code to error if flags are listed in
TUNE_FEATURES but are not documented in TUNEVALID.

A given tune configuration will want to define one or more predetermined sets of
_FEATURE flag lists. These are defined in the form TUNE_FEATURES_tune-<name>.
For defined tune configuation, <name> should be added to the AVAILTUNE list so that
we can determine what tune configurations are available. Flags cannot be used in this
case as with TUNEVALID since its useful to be able to build up tune lists from other
TUNE_FEATURES_tune-yyy options.

A given tune configuration may also define PACKAGE_EXTRA_ARCHS_tune-<name> and
BASE_LIB_tune-<name> to control the multilib location. All options can be overridden
by the distro or local user configuration.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity: Increase bitbake minium version to 1.13.3 for bb.utils.contains() function
Richard Purdie [Mon, 25 Jul 2011 12:52:01 +0000 (13:52 +0100)]
sanity: Increase bitbake minium version to 1.13.3 for bb.utils.contains() function

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf/classes: Variable cleanup
Richard Purdie [Mon, 11 Jul 2011 13:44:04 +0000 (14:44 +0100)]
bitbake.conf/classes: Variable cleanup

This patch removes the variables BASE_PACKAGE_ARCH, BASEPKG_HOST_SYS,
BASEPKG_TARGET_SYS and also removes the immediate assignments in
several core classes as these are no longer required.

This should make it clearer what some of the core variables do and
simplfy some overly complex and confusing class code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoperl-dynloader.patch: Fix multilib issue for perl
Mei Lei [Mon, 25 Jul 2011 02:13:17 +0000 (10:13 +0800)]
perl-dynloader.patch: Fix multilib issue for perl

The perl-dynloader.patch can't support lib64 lib32, libx32, etc.
Relax the regular expression to fix this issue.

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorunqemu: report error if TMPDIR cannot be determined
Scott Garman [Sat, 23 Jul 2011 01:23:27 +0000 (18:23 -0700)]
runqemu: report error if TMPDIR cannot be determined

Invoking runqemu outside of the build directory for an
in-tree setup results in an empty TMPDIR because bitbake -e
cannot be run to find it.

A symptom of this problem is running runqemu and getting the
following error:

Error: Unable to find tunctl binary in <directory>

Catch this case and report the error to the user.

This fixes [YOCTO #1278]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agodocbook-dsssl-stylesheets-native: Add SYSROOT_PREPROCESS_FUNC
Saul Wold [Fri, 22 Jul 2011 23:39:42 +0000 (16:39 -0700)]
docbook-dsssl-stylesheets-native: Add SYSROOT_PREPROCESS_FUNC

[YOCTO #1250]

This added function will install a private install-catalog binary so that shared state
can find the binary as there is not a guarantee.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodocbook-sgml-dtd-native: Add SYSROOT_PREPROCESS_FUNC
Saul Wold [Fri, 22 Jul 2011 23:38:48 +0000 (16:38 -0700)]
docbook-sgml-dtd-native: Add SYSROOT_PREPROCESS_FUNC

[YOCTO #1250]

This added function will install a private install-catalog binary so that shared state
can find the binary as there is not a guarantee.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoopenjade-native: Add SYSROOT_PREPROCESS_FUNC
Saul Wold [Fri, 22 Jul 2011 23:38:09 +0000 (16:38 -0700)]
openjade-native: Add SYSROOT_PREPROCESS_FUNC

[YOCTO #1250]

This added function will install a private install-catalog binary so that shared state
can find the binary as there is not a guarantee.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogcc-4.6: Fix packaging of native toolchains
Kumar Gala [Fri, 22 Jul 2011 13:57:48 +0000 (08:57 -0500)]
gcc-4.6: Fix packaging of native toolchains

The base gcc package is missing liblto_plugin.so.  If we try a simple
hello world compile we get something like:

root@p5020-ds:~# gcc hello.c
gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.

We need to include liblto_plugin.so in the base gcc package and not
gcc-dev.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agodistro_tracking_fields.inc: update the info for tcf-agent
Dexuan Cui [Thu, 21 Jul 2011 13:50:09 +0000 (21:50 +0800)]
distro_tracking_fields.inc: update the info for tcf-agent

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agotcf-agent: upgrade to the latest stable revision 0.0+svnr1855
Dexuan Cui [Thu, 21 Jul 2011 13:25:58 +0000 (21:25 +0800)]
tcf-agent: upgrade to the latest stable revision 0.0+svnr1855

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoconf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCH
Richard Purdie [Fri, 22 Jul 2011 14:13:03 +0000 (15:13 +0100)]
conf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCH

Since we're updating the tune file format, it makes sense to abstract
the compiler tune arguments at this point too. This means that should
these need to be overridden at any point, the original values can
still be obtained in a similar manner to the other TUNE* variables.

Whilst this isn't strictly necessary for any current need, its likely
good practise to standardise this behaviour.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconf/machine/tune: Overhaul tune include file variables
Richard Purdie [Fri, 22 Jul 2011 13:15:20 +0000 (14:15 +0100)]
conf/machine/tune: Overhaul tune include file variables

There is currently consideradble confusion over how the tune files operate
and how these interact with the rest of the build system. This update/overhaul
changes things so the tune files are primarily resonsible for setting:

TUNE_ARCH - What was formerly set as TARGET_ARCH and is the value that
represents the architecture we're targetting.

TUNE_PKGARCH - The value that represents the tune confuration that this set
of tune parameters results in.

This allows the significant improvement that the core can now always determine
the target architecture value, even when TARGET_ARCH needs to be reset to
something different and likewise, there is one package architecture variable
the core can reference allowing simplification of the BASE_PACKAGE_ARCH, PACKAGE_ARCH
and FEED_ARCH variables.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf/cross.bbclass: Add ability to dynamically change library location
Richard Purdie [Fri, 22 Jul 2011 12:08:58 +0000 (13:08 +0100)]
bitbake.conf/cross.bbclass: Add ability to dynamically change library location

Add the ability to dynamically change the library directory from "lib" to
other values. This allows the tune files to specifiy altnerative ABIs
which can be dynamically enabled by the multilib BBCLASSEXTEND code.

A variety of approaches have been attempted with this, the immediate
expansions in cross.bbclass being problematic as they are they are expanded
before the bbclass extend event hander runs. This approach ensures the
${baselib} variable is retained in the expressions resolving that complication.

Derived from some ideas from Mark Hatle.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconsolekit 0.4.5: fix PAM installation dir
Koen Kooi [Fri, 22 Jul 2011 10:14:39 +0000 (12:14 +0200)]
consolekit 0.4.5: fix PAM installation dir

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognome-keyring 2.32.1: fix PAM support and make it conditional on DISTRO_FEATURES
Koen Kooi [Fri, 22 Jul 2011 10:09:08 +0000 (12:09 +0200)]
gnome-keyring 2.32.1: fix PAM support and make it conditional on DISTRO_FEATURES

The plugin got installed into the wrong dir leading to:

gdm-session-worker[515]: PAM unable to dlopen(/lib/security/pam_gnome_keyring.so): /lib/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/powerpc*-linux: refactor needed options that are common
Kumar Gala [Fri, 22 Jul 2011 09:17:03 +0000 (04:17 -0500)]
site/powerpc*-linux: refactor needed options that are common

Pulled common options that are needed for powerpc64-linux to build
out of powerpc32-linux and put them into powerpc-linux.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/powerpc64-linux: Start initial site config
Kumar Gala [Fri, 22 Jul 2011 09:16:52 +0000 (04:16 -0500)]
site/powerpc64-linux: Start initial site config

Use ac_cv_sizeof_* from eglibc as starting point for powerpc64-linux
site info.  We will refactor common bits that are needed out of
powerpc32-linux based on build issues.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/powerpc32-linux: Update with ac_cv_sizeof_* from eglibc
Kumar Gala [Fri, 22 Jul 2011 09:16:51 +0000 (04:16 -0500)]
site/powerpc32-linux: Update with ac_cv_sizeof_* from eglibc

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/powerpc64: Update power64-linux to include powerpc-linux
Kumar Gala [Fri, 22 Jul 2011 09:16:50 +0000 (04:16 -0500)]
site/powerpc64: Update power64-linux to include powerpc-linux

Now that we have a unique powerpc32-linux config, we share powerpc-linux
between ppc32 & ppc64.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/powerpc: Pull all powerpc config options into powerpc32-linux
Kumar Gala [Fri, 22 Jul 2011 09:16:49 +0000 (04:16 -0500)]
site/powerpc: Pull all powerpc config options into powerpc32-linux

powerpc-common was really Linux PPC32 specific.  So move all the options
in it to powerpc32-linux and we can refactor out common bits shared
between into powerpc-linux and powerpc-common.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopenssl: Add handling for building on linux-powerpc64
Kumar Gala [Fri, 22 Jul 2011 09:24:56 +0000 (04:24 -0500)]
openssl: Add handling for building on linux-powerpc64

If try to build for an ppc64 target openssl will fail to build since
the configure script didn't know how to handle a 'linux-powerpc64' target.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibart-lgpl: Add missing config file - allows builds on PowerPC 64
Kumar Gala [Fri, 22 Jul 2011 09:24:55 +0000 (04:24 -0500)]
libart-lgpl: Add missing config file - allows builds on PowerPC 64

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel-arch: Add handling of powerpc64
Kumar Gala [Fri, 22 Jul 2011 09:24:54 +0000 (04:24 -0500)]
kernel-arch: Add handling of powerpc64

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc: Add handling of powerpc64
Kumar Gala [Fri, 22 Jul 2011 09:24:53 +0000 (04:24 -0500)]
libc: Add handling of powerpc64

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane.bbclass: Recognise powerpc64
Kumar Gala [Fri, 22 Jul 2011 09:24:52 +0000 (04:24 -0500)]
insane.bbclass: Recognise powerpc64

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agofix Upstream-Status line for few patches
Nitin A Kamble [Thu, 21 Jul 2011 21:04:42 +0000 (14:04 -0700)]
fix Upstream-Status line for few patches

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agopython: fix security vulnerability
Nitin A Kamble [Tue, 19 Jul 2011 22:42:48 +0000 (15:42 -0700)]
python: fix security vulnerability

This Fixes bug: [Yocto #1254]

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-1015

Issue #2254: Fix CGIHTTPServer information disclosure.  Relative paths are
  now collapsed within the url properly before looking in cgi_directories.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoglib-2.0: fix a compilation issue due to dtrace
Nitin A Kamble [Wed, 20 Jul 2011 14:48:59 +0000 (07:48 -0700)]
glib-2.0: fix a compilation issue due to dtrace

With multilib & x32 builds dtrace is getting turned-on by the glib-2.0
configure, which causes following compilation failure.

| x86_64-linux-libtool: link: ccache gcc
-isystem/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/include
-O2 -pipe -Wall -Wl,-rpath-link
-Wl,/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib
-Wl,-rpath
-Wl,/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib
-Wl,-O1 -o .libs/gtester gtester.o
-L/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib
./.libs/libglib-2.0.so -lrt -Wl,-rpath
-Wl,/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_SLICE_ALLOC'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_REALLOC'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_SLICE_FREE'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_ALLOC'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_FREE'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_QUARK_NEW'
| collect2: ld returned 1 exit status
| make[4]: *** [gtester] Error 1

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agotclibc-uclibc: Fix TARGET_OS for powerpc
Khem Raj [Fri, 22 Jul 2011 03:18:29 +0000 (20:18 -0700)]
tclibc-uclibc: Fix TARGET_OS for powerpc

1a9ae8ea8c0540d41b8ff4d95c0420d6df754634 removed -uclibc
hence it got all wrong for powerpc. uclibc TARGET_OS
for classic ppc is linux-uclibc and for ppc w/ SPE its
linux-uclibcspe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years ago.gitignore: Update build ignores to have wildcard
Kumar Gala [Thu, 21 Jul 2011 14:04:50 +0000 (09:04 -0500)]
.gitignore: Update build ignores to have wildcard

ignore not just build/* but any build*/* cases.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoutil-linux: Replace sigsetmask with posix compliant functions
Khem Raj [Thu, 21 Jul 2011 06:10:17 +0000 (23:10 -0700)]
util-linux: Replace sigsetmask with posix compliant functions

This patch is not needed upstream since the code using sigsetmask
has been deleted.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agostrace: Define own sigmask macro if not defined already in signal.h
Khem Raj [Thu, 21 Jul 2011 06:10:16 +0000 (23:10 -0700)]
strace: Define own sigmask macro if not defined already in signal.h

This is required especially on uclibc systems where BSD compatible
obsolete functions are disabled by kconfig. Therefore we check
if the macro is undefined then we define it. Therefore eglibc/glibc
builds should work as they use to.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc: Add patch header for sync_file_range2.patch
Khem Raj [Thu, 21 Jul 2011 06:10:15 +0000 (23:10 -0700)]
uclibc: Add patch header for sync_file_range2.patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotask-core-tools.bb: Exclude lttng-ust for x86_64/uclibc
Khem Raj [Thu, 21 Jul 2011 06:10:13 +0000 (23:10 -0700)]
task-core-tools.bb: Exclude lttng-ust for x86_64/uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agomesa-xlib, mesa-dri: Probe for newlocale() before using it.
Khem Raj [Thu, 21 Jul 2011 06:10:12 +0000 (23:10 -0700)]
mesa-xlib, mesa-dri: Probe for newlocale() before using it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agodefault-versions: Update pulseaudio as arm no longer needs a seperate backport
Saul Wold [Thu, 21 Jul 2011 16:38:10 +0000 (09:38 -0700)]
default-versions: Update pulseaudio as arm no longer needs a seperate backport

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agokern-tools: update SRCREV
Bruce Ashfield [Thu, 21 Jul 2011 04:19:17 +0000 (00:19 -0400)]
kern-tools: update SRCREV

Fixes [YOCTO #1261]

Updating the SRCREV to pickup some branch creation fixes that
were causing an invalid branch name to be used on a repository
that couldn't support it (i.e. standard/base on a 2.6.34).

With this the 2.6.34 and 3.0 -rt branches will build.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agodhcp: Fix libdir issue for multilib
Mei Lei [Thu, 21 Jul 2011 08:46:35 +0000 (16:46 +0800)]
dhcp: Fix libdir issue for multilib

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agolinux-yocto: kernel-3.0 support recipe
Bruce Ashfield [Wed, 20 Jul 2011 20:17:40 +0000 (16:17 -0400)]
linux-yocto: kernel-3.0 support recipe

Establish the infrastructure to start more comprehensive linux-3.0
testing. With this in place, the populated linux-yocto 3.0 can
optionally be built for supported machines.

Note: this commit does not change the default for any targets and
as such, it would need to be explicitly set as the preferred version
to be built. The staged introduction allows some remaining issues to
be solved, while making this available. Subsequent commits will be
done to switch qemu machines ones they have been validated. If the
default for a machine is not this kernel, consider it best effort.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agokernel: copy defconfig to {B} vs {S}
Bruce Ashfield [Wed, 20 Jul 2011 20:22:31 +0000 (16:22 -0400)]
kernel: copy defconfig to {B} vs {S}

For kernel's that use a split source/object build the copy
of defconfig to {S} in the base kernel class is problematic.
The previous solution for this was to override the do_configure
of the base kernel class in a subclass. While this is still
a viable/valid option, it does mean that changes to the base
do_configure will be missed.

The solution to this is to copy a defconfig to {B} which is
typically the same as {S}, so most kernel recipes won't see or
care about this change.

With this change in place, linux-yocto.bbclass can drop its
override of do_configure.

Tested with linux-yocto and oe linux recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: update LICENSE to GPLv2
Bruce Ashfield [Thu, 21 Jul 2011 01:19:42 +0000 (21:19 -0400)]
linux-yocto: update LICENSE to GPLv2

As reported by Koen Kooi, the LICENSE for linux-yocto can be tightened
up to specifiy the particular version of the GPL.

cc: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolibiconv: Fix build failure on 1.13.1
Khem Raj [Thu, 21 Jul 2011 21:23:22 +0000 (14:23 -0700)]
libiconv: Fix build failure on 1.13.1

It needs a different patch for 1.13.1 for autoconf'ing
Rename files to libiconv-1.11.1 and have a separate
directory for libiconv-1.13.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolocal.conf.sample: Add a note about ASSUME_PROVIDED for help2man
Tom Rini [Tue, 19 Jul 2011 18:00:11 +0000 (11:00 -0700)]
local.conf.sample: Add a note about ASSUME_PROVIDED for help2man

Similar, but opposite of oe.dev example.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoMake intltool use perlnative instead of perl on host
Matthew McClintock [Wed, 20 Jul 2011 20:14:05 +0000 (15:14 -0500)]
Make intltool use perlnative instead of perl on host

intltool recipe was using perl from the host instead of perl from
poky. This forces the recipe to use poky's perl (along with perl
modules it pulls in)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agogettext: Add depends to gettext to avoid host contamination
Saul Wold [Thu, 21 Jul 2011 07:07:56 +0000 (00:07 -0700)]
gettext: Add depends to gettext to avoid host contamination

[YOCTO #1242]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoclutter-box2d: fix isfinite.patch
Saul Wold [Thu, 21 Jul 2011 00:18:27 +0000 (17:18 -0700)]
clutter-box2d: fix isfinite.patch

The original patch lost ^M and was not appliable.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agopython: add patch to fix cross compilation on host with linux-3.0
Martin Jansa [Wed, 20 Jul 2011 19:52:15 +0000 (21:52 +0200)]
python: add patch to fix cross compilation on host with linux-3.0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agopython: save Makefile.sysroot in do_compile
Martin Jansa [Wed, 20 Jul 2011 18:47:36 +0000 (20:47 +0200)]
python: save Makefile.sysroot in do_compile

* otherwise calling do_install twice results in Makefile.sysroot == Makefile.orig and distutils using wrong LIBDIR (from host)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>