scm/bb/tizen-distro.git
12 years agoperf: add perl, python to DEPENDS
Tom Zanussi [Thu, 12 Jul 2012 07:17:11 +0000 (07:17 +0000)]
perf: add perl, python to DEPENDS

perf has perl and python compile-time dependendencies, add them.

(From OE-Core rev: 1b40dac2c501ae8c8d812cf2866fe7917f144a19)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.0: perf scripting support
Bruce Ashfield [Wed, 11 Jul 2012 14:44:20 +0000 (10:44 -0400)]
linux-yocto/3.0: perf scripting support

Updating the 3.0 SRCREVs to pickup the recent perf scripting fixes.

  cef17a1 perf: add sgidefs.h to for mips builds
  3258da3 perf: change --root to --prefix for python install
  1f9c25b perf: add 'libperl not found' warning
  f2b1bf1 perf: use pkg-config instead of python-config
  568e05f perf tools: Add support to install perf python extension
  7e47f81 Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON"

(From OE-Core rev: 20405bdab18b7a2b101f818e72863d289d5945e4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/__init__.py: Warn user if SRC_URI is using "proto" and not "protocol"
Andrei Gherzan [Tue, 10 Jul 2012 21:34:17 +0000 (00:34 +0300)]
bitbake: fetch2/__init__.py: Warn user if SRC_URI is using "proto" and not "protocol"

As well, if "proto" is used, get the associated value as "protocol"

(Bitbake rev: 53e6b630f0463d2d07cdaa9c9eb36794dc9b6b69)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/bzr.py: Use "protocol" parameter to get the protocol
Andrei Gherzan [Tue, 10 Jul 2012 21:34:16 +0000 (00:34 +0300)]
bitbake: fetch2/bzr.py: Use "protocol" parameter to get the protocol

(Bitbake rev: 630876b40ed181312e84f902c4cfb97361afbe81)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/hg.py: Use "protocol" parameter to get the protocol
Andrei Gherzan [Tue, 10 Jul 2012 21:34:15 +0000 (00:34 +0300)]
bitbake: fetch2/hg.py: Use "protocol" parameter to get the protocol

(Bitbake rev: f4a780a7f50fdd8f2bd75888dad790bcfe95b873)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/osc.py: Use "protocol" parameter to get the protocol
Andrei Gherzan [Tue, 10 Jul 2012 21:34:14 +0000 (00:34 +0300)]
bitbake: fetch2/osc.py: Use "protocol" parameter to get the protocol

(Bitbake rev: 01040efce82cfbaa76f46d9f95c984be8f9ea810)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake: Abort build if runtime dependency conflict
Wenzong Fan [Wed, 11 Jul 2012 03:28:11 +0000 (11:28 +0800)]
bitbake: bitbake: Abort build if runtime dependency conflict

Currently if there are multiple preferred providers available for
a runtime dependency, bitbake will print an Error message and let
the build go on. Anyways the build should abort while any Errors
occured.

[YOCTO #2734]

(Bitbake rev: 5f81a714f4fca785780bef555b419f0250e5ec1c)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman-gnome: remove unused patches, they were all merged upstream
Ross Burton [Wed, 11 Jul 2012 13:05:08 +0000 (14:05 +0100)]
connman-gnome: remove unused patches, they were all merged upstream

(From OE-Core rev: bf134eaf752cd5db6cce79ad4c1ae0f25d46b08e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgomp: add libgomp (openmp) library, and build for powerpc targets by default
Matthew McClintock [Tue, 10 Jul 2012 16:12:29 +0000 (16:12 +0000)]
libgomp: add libgomp (openmp) library, and build for powerpc targets by default

(From OE-Core rev: b76a7bc8dcb7aed7d6f026e77a226837004c50af)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: gcc-cross-canadian: use correct location for libraries for powerpc64
Matthew McClintock [Tue, 10 Jul 2012 04:29:22 +0000 (04:29 +0000)]
gcc: gcc-cross-canadian: use correct location for libraries for powerpc64

This fixes the issue where gcc invokes the linker with an incorrect -L
library location and gives up because it can't find libraries. It was
looking in a /lib folder instead of /lib64

(From OE-Core rev: 1b428f0151a5b86332b501871bf4a925b43580a5)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-configure-common.inc: use --with-long-double-128 on powerpc to comply with ABI
Matthew McClintock [Tue, 28 Feb 2012 23:54:52 +0000 (23:54 +0000)]
gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply with ABI

(From OE-Core rev: 243539efec94e79dade2525d0ab3586eea48c529)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenjade-native_1.3.2.bb: fix typo and change the deps exclusion to correct var
Matthew McClintock [Tue, 10 Jul 2012 19:45:35 +0000 (14:45 -0500)]
openjade-native_1.3.2.bb: fix typo and change the deps exclusion to correct var

(From OE-Core rev: 4be17f018f8dd0ed576498badc03ee13095b2263)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodtc.inc: fix for libdir == /usr/lib64
Matthew McClintock [Wed, 11 Jul 2012 02:29:40 +0000 (21:29 -0500)]
dtc.inc: fix for libdir == /usr/lib64

On 64bit systems dtc will still install libaries in /usr/lib
unless we havet this override

(From OE-Core rev: b60579e66601ba60669a9e1194409fcd8b80530e)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovalgrind: fix default.supp missing issue
Zhenhua Luo [Wed, 11 Jul 2012 07:42:17 +0000 (15:42 +0800)]
valgrind: fix default.supp missing issue

    When run valgrind, following error appears:
    ==2254== FATAL: can't open suppressions file "/usr/lib/valgrind/default.supp"

(From OE-Core rev: 0b3261d513cdad80174a9b9e804981c50bcb7ca2)

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodirectfb: disable imlib2 explicitly
Dennis Lan [Wed, 11 Jul 2012 07:49:54 +0000 (07:49 +0000)]
directfb: disable imlib2 explicitly

When HOST machine installed imlib2, compiling directfb in OE will
direct this library, and try to use it. This is wrong, since there is
no imlib in OE, so we should disable it explicitly here.

Error as following:
| idirectfbimageprovider_imlib2.c:64:20: fatal error: Imlib2.h: No such
file or directory

Config.log as following (which is wrong):
configure:19602: checking for imlib2-config
configure:19620: found /usr/bin/imlib2-config
configure:19633: result: /usr/bin/imlib2-config

(From OE-Core rev: fbdee213465f38791f3dd6c2663f2fe295be3596)

Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosubversion: do_install failed (parallel issue)
Robert Yang [Tue, 10 Jul 2012 09:35:50 +0000 (17:35 +0800)]
subversion: do_install failed (parallel issue)

install-neon-lib needs libsvn_delta-1.la which will be regenerated
during libsvn_delta-1.la's installation, if libsvn_delta-1.la is
in regenerating and at the same time install-neon-lib links it, the
error willl happen.

The error message is:
/bin/ld: cannot find -lsvn_delta-1
collect2: error: ld returned 1 exit status

This is a parallel issue, so it doesn't happen often.

Note:
The autoreconf doesn't generate build-outputs.mk, it would be generated
by autogen.sh (use build.conf as the input), but autogen.sh isn't
suitable for cross compiling, so both modified build-outputs.mk and
build.conf.

[YOCTO #2727]

(From OE-Core rev: ce37c45abb4cf43e5009867f695982de2eb33450)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognupg: ensure deterministic build by disabling libcurl
Saul Wold [Mon, 9 Jul 2012 22:04:34 +0000 (15:04 -0700)]
gnupg: ensure deterministic build by disabling libcurl

gnupg has it's own fake curl, since we use gnupg with zypper, there does not
seem to be a strong reason to add curl to the depends list.

(From OE-Core rev: 44ea2cf548ca20488449d347f8f3b7d49f7e7493)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: add perf-tui feature
Tom Zanussi [Mon, 9 Jul 2012 17:07:11 +0000 (12:07 -0500)]
perf: add perf-tui feature

Add a new feature named 'perf-tui'.  Adding this into the
PERF_FEATURES variable in perf.inc will enable the perf TUI (Text-base
UI) user interface on a target, which adds libnewt and turns on the
perf text UI options in perf, if perf is included in an image.

If 'perf-tui' isn't named as a feature (the default), the perf TUI
will be disabled and unavailable.

(From OE-Core rev: 4fd8a550886f02189e4ed127d0a2f16e92f8474c)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: add perf-scripting feature
Tom Zanussi [Mon, 9 Jul 2012 17:07:10 +0000 (12:07 -0500)]
perf: add perf-scripting feature

Add a new feature named 'perf-scripting'.  Adding this into the
PERF_FEATURES variable in perf.inc will enable perf scripting on a
target, which will turn on all the language bindings currently
available in perf (Perl and Python), if perf is included in an image.

If 'perf-scripting' isn't named as a feature (the default), all perf
language bindings will be disabled and unavailable.

(From OE-Core rev: fc0661041436013b9099dbd659994a2b8b292c19)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: add perf.inc
Tom Zanussi [Mon, 9 Jul 2012 17:07:09 +0000 (12:07 -0500)]
perf: add perf.inc

Add a perf.inc to contain utility functions and definitions and to
avoid cluttering up the main recipe.

(From OE-Core rev: 414d00be5b350ea84fc7e1ff690f78b3396cfcd0)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: perf, unionfs and yaffs2 fixes
Bruce Ashfield [Tue, 10 Jul 2012 17:11:04 +0000 (13:11 -0400)]
linux-yocto/3.4: perf, unionfs and yaffs2 fixes

Updating the 3.4 SRCREVs to pickup the following changes:

  6297e4c perf: add sgidefs.h to for mips builds
  69b7817 yaffs: add leading underscore to mtd_info function names
  160f1ac yaffs: change type for mode to umode_t
  2d875e8 Unionfs: use mode_t

(From OE-Core rev: 9d75c34948f5d961cff9d72fbaa628ff58821cc7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.2: perf: fix mips build
Bruce Ashfield [Tue, 10 Jul 2012 17:11:03 +0000 (13:11 -0400)]
linux-yocto/3.2: perf: fix mips build

Updating SRCREVs for the following fix:

Author: Tom Zanussi <tom.zanussi@intel.com>
Date:   Tue Jul 10 09:38:40 2012 -0500

    perf: add sgidefs.h to for mips builds

    Allow Python.h to find the definitions it needs on mips i.e. get rid
    of the error: "_ABIN32" is not defined.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
(From OE-Core rev: 04396899dc7973261404d5fbec3f85aa03a32e03)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: fix installation of dev / dbg packages
Paul Eggleton [Tue, 10 Jul 2012 16:22:50 +0000 (17:22 +0100)]
opkg: fix installation of dev / dbg packages

OE-Core revision ffe93e2a099e4cadb1829dc12a58a6d7bef9a5a7 moved opkg's
configuration file into /etc/opkg, and opkg always reads all files under
this directory even if -f is specified (as it is during do_rootfs in
order to specify our own generated config file), and this means that
after opkg-collateral is installed into the rootfs, this version of the
config is used, resulting in opkg ignoring the list of packages it has
already downloaded (since it now sees list_dir as /var/lib/opkg instead
of the default /var/lib/opkg/lists) and thus it fails to install any of
the "attemptonly" packages (including *-dev, *-dbg, etc.).

If we change the -f option to ignore configuration files in /etc/opkg
then we no longer have this problem.

Fixes [YOCTO #2595].

(From OE-Core rev: 37df134557802ba116f001597b7cd5e9bc39e188)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/wget: Use FETCHCMD_wget to provide the commandline and options
Richard Purdie [Mon, 9 Jul 2012 16:44:08 +0000 (16:44 +0000)]
bitbake: fetch2/wget: Use FETCHCMD_wget to provide the commandline and options

This also changes to use  -t 2 -T 30 as the defaults which are more sane for
a modern fetcher and already specified in OpenEmbedded metadata.

(Bitbake rev: bf0e5dddf0f63cdb0648fb6d872af5ceef6fbfb0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/cvs.py: Switch to use FETCHCMD_cvs and handle parameters in the fetch...
Richard Purdie [Mon, 9 Jul 2012 16:43:27 +0000 (16:43 +0000)]
bitbake: fetch2/cvs.py: Switch to use FETCHCMD_cvs and handle parameters in the fetcher itself

This brings the cvs fetcher more into line with the others and allows consistent usage
of the FETCHCMD variable and option handling.

(Bitbake rev: 390ad59739356422852e976fa246375abc6aba08)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoccache: Ensure CCACHE_DIR is cleaned by do_clean task
Richard Purdie [Mon, 9 Jul 2012 11:40:29 +0000 (11:40 +0000)]
ccache: Ensure CCACHE_DIR is cleaned by do_clean task

This ensures a rebuild does really build from scratch when ccache is in use.

[YOCTO #2696]

(From OE-Core rev: ddf52d0161096b089fad8f3ace69b6515d7b7226)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml2: Fix libzypp ansidecl related build failures
Richard Purdie [Tue, 10 Jul 2012 12:04:31 +0000 (12:04 +0000)]
libxml2: Fix libzypp ansidecl related build failures

cmake looks at all include statements, even if they're not used. To make
builds deterministic and avoid needing to add binutils as a dependency
for libzypp, completely remove the include from the header file, even if
it is never used.

This avoids issues where you'd build binutils, then libzypp, then remove
binutils (and hence ansidecl.h) and then recompile libzypp which would
still have the dependency and hence fail.

(From OE-Core rev: bfaaeb44c5023e2d2a9414c07694c75fa527283b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Drop the remainder for the FETCH/CHECK/RESUMECOMMAND variables
Richard Purdie [Mon, 9 Jul 2012 16:48:13 +0000 (16:48 +0000)]
bitbake.conf: Drop the remainder for the FETCH/CHECK/RESUMECOMMAND variables

This completes the removal of these older variables and their replacement
with FETCHCMD. This change requires the latest bitbake to operate optimally.

(From OE-Core rev: 7dd2a12ebe49865720dcea60cd2ed13205c0c4fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Add passive-ftp option to the default FETCHCMD_wget
Richard Purdie [Mon, 9 Jul 2012 16:47:01 +0000 (16:47 +0000)]
bitbake.conf: Add passive-ftp option to the default FETCHCMD_wget

This brings it into sync with the wget FETCHCOMMAND and RESUMECOMMAND
variables.

(From OE-Core rev: 0f8290ff1c9bc86c744f67ce6194dd6911533012)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Drop the old svn FETCH/UPDATE/RESUMECOMMAND variables
Richard Purdie [Mon, 9 Jul 2012 16:45:49 +0000 (16:45 +0000)]
bitbake.conf: Drop the old svn FETCH/UPDATE/RESUMECOMMAND variables

The svn fetcher converted to use FETCHCMD a long time ago. This drops
several variables which are effectively useless.

(From OE-Core rev: 34a8cdafee145d04f8b526b094341c34cf36ba1b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocore-image-*.bb: Remove usage of EXTRA_IMAGE_FEATURES from some .bb files
Robert P. J. Day [Mon, 9 Jul 2012 17:12:54 +0000 (13:12 -0400)]
core-image-*.bb: Remove usage of EXTRA_IMAGE_FEATURES from some .bb files

Replace the usage of EXTRA_IMAGE_FEATURES in a small number of .bb
files with IMAGE_FEATURES, and leave the use of EXTRA_IMAGE_FEATURES
for developers in their local.conf files, to avoid the possibility of
undesirable side effects.

(From OE-Core rev: 347fc6e82a3d1c1ac7dbabd9e5cdd08abd864bfb)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocore-image-*: remove copyright notices
Paul Eggleton [Mon, 9 Jul 2012 17:03:09 +0000 (18:03 +0100)]
core-image-*: remove copyright notices

These image recipes are meant to be examples that people can copy and
modify completely for their own purposes, and most of them are so
trivial they don't really need copyright notices anyway, so trim them
off.

(From OE-Core rev: 22db8917f6301595a48f6dcbcccc27627c8a3941)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocore-image-minimal-dev: base on core-image-minimal
Paul Eggleton [Mon, 9 Jul 2012 17:03:08 +0000 (18:03 +0100)]
core-image-minimal-dev: base on core-image-minimal

When core-image-minimal has been updated in the past, we have on several
occasions missed applying those updates to this recipe, so let's just
base it directly on core-image-minimal and completely avoid that problem
in future.

(From OE-Core rev: 7681e50da86606f4d7b63504f0c9233a1c87b642)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgsmd - remove
Paul Eggleton [Mon, 9 Jul 2012 17:03:07 +0000 (18:03 +0100)]
libgsmd - remove

This project has been unmaintained for some time, and even the OpenMoko
project is not using it any more (in favour of FSO). Since we have ofono
in OE-Core which replaces and surpasses its functionality, we can remove
libgsmd.

(From OE-Core rev: 4cd880c61e9d74dbf1a747f3654239cadadf45ce)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.2: perf scripting updates
Bruce Ashfield [Mon, 9 Jul 2012 17:31:15 +0000 (13:31 -0400)]
linux-yocto/3.2: perf scripting updates

Updating the 3.2 SRCREVs to reflect the perf scripting fixes by TomZ

standard/default/base:
  0ec416e perf: change --root to --prefix for python install
  18ad076 perf: add 'libperl not found' warning
  e0f641d perf: use pkg-config instead of python-config
  3195098 Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON"

meta:
  07ee09b features/ftrace: enable FTRACE_SYSCALLS

(From OE-Core rev: c8f60299424dd912c6402847773f89c0490a1857)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake/cooker: Print which pkgs would be built in -g output
Robert Yang [Thu, 21 Jun 2012 02:28:54 +0000 (10:28 +0800)]
bitbake: bitbake/cooker: Print which pkgs would be built in -g output

This is for giving the user a clear list to show which pkg would be
built, we have the "bitbake -g", but it is not easy to read for people,
it is for "dot". Improve the "bitbake -g" to also save a pn-buildlist:

$ bitbake -g core-image-sato
...
NOTE: PN build list saved to 'pn-buildlist'
[snip]

The contents of pn-buildlist:

busybox
shadow-native
pth
sysfsutils
qemu-helper-native
curl-native
ncurses-native
gdbm
xserver-xorg
linux-libc-headers
[snip]

[YOCTO #2404]

(Bitbake rev: 18aff925aece774d0172894e25584353519ca03f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: perf scripting & unionfs fixes
Bruce Ashfield [Mon, 9 Jul 2012 14:59:06 +0000 (10:59 -0400)]
linux-yocto/3.4: perf scripting & unionfs fixes

Updating the SRCREVs to pickup the following changes:

standard/base:
 95c79fb Unionfs: update ->show_options prototype
 49f1599 perf: change --root to --prefix for python install
 8ff1ab6 perf: add 'libperl not found' warning
 b4bc865 perf: use pkg-config instead of python-config
 a2257bf Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON"

meta:
 a8cf770 features/ftrace: enable FTRACE_SYSCALLS

(From OE-Core rev: 8d8b9e77aa3403e880cbbdfefc7f24a993b3161f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopsplash - Update to latest psplash version. LIC_CHKSUM Tweak
Franklin S Cooper Jr [Mon, 9 Jul 2012 15:27:44 +0000 (10:27 -0500)]
psplash - Update to latest psplash version. LIC_CHKSUM Tweak

* Update psplash to the latest version.
* Change the license checksum to use the lines in the psplash.h that contains
  license information instead of doing a checksum on the entire file.

(From OE-Core rev: e15dd9dede74c8906e118647ab93941c1fcb35b1)

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: add non-santized kernel provides
Bruce Ashfield [Fri, 6 Jul 2012 15:52:41 +0000 (11:52 -0400)]
kernel.bbclass: add non-santized kernel provides

If the kernel version string uses characters or symbols that
need to be santized for the package name, we can end up with a
mismatch between module requirements and what the kernel
provides.

The kernel version is pulled from utsrelease.h, which contains
the exact string that was passed to the kernel build, not
one that is santized, this can result in:

 echo "CONFIG_LOCALVERSION="\"MYVER+snapshot_standard\" >> ${B}/.config

 <build>

 % rpm -qp kernel-module-uvesafb-3.4-r0.qemux86.rpm --requires
update-modules
kernel-3.4.3-MYVER+snapshot_standard
 % rpm -qp kernel-3.4.3-myver+snapshot-standard-3.4-r0.qemux86.rpm --provides
kernel-3.4.3-myver+snapshot-standard = 3.4-r0

At rootfs assembly time, we'll have a dependency issue with the kernel
providing the santizied string and the modules requiring the utsrelease.h
string.

To not break existing use cases, we can add a second provides to the
kernel packaging with the unsantized version string, and allowing the
kernel module packaging to be unchanged.

   RPROVIDES_kernel-base += "kernel-${KERNEL_VERSION}"

 % rpm -qp kernel-3.4.3-myver+snapshot-standard-3.4-r0.qemux86.rpm --provides
kernel-3.4.3-MYVER+snapshot_standard
kernel-3.4.3-myver+snapshot-standard = 3.4-r0

(From OE-Core rev: 7be043178f5b9d16d9a06696bc0b96689f202a8d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: ship the empty plugins directory in the connman package
Ross Burton [Fri, 6 Jul 2012 11:05:42 +0000 (12:05 +0100)]
connman: ship the empty plugins directory in the connman package

Otherwise we get a QA warning that /usr/lib/connman/packages isn't shipped.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: remove some obviously wrong (circa early-GNOME 2?) directories from FILES
Ross Burton [Fri, 6 Jul 2012 11:04:50 +0000 (12:04 +0100)]
connman: remove some obviously wrong (circa early-GNOME 2?) directories from FILES

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoncurses: fix packaging issue in multilib build
Saul Wold [Fri, 6 Jul 2012 21:59:28 +0000 (14:59 -0700)]
ncurses: fix packaging issue in multilib build

ERROR: QA Issue: lib32-ncurses: Files/directories were installed but not shipped
  /usr/bin/clear.ncurses
  /usr/bin/reset.ncurses

(From OE-Core rev: e3a29405a59df45ff72f088c602181e1435d8abe)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4: fix packaging issue after update
Saul Wold [Fri, 6 Jul 2012 21:57:49 +0000 (14:57 -0700)]
bluez4: fix packaging issue after update

WARNING: QA Issue: bluez4: Files/directories were installed but not shipped
  /usr/share/dbus-1
  /usr/share/dbus-1/system-services
  /usr/share/dbus-1/system-services/org.bluez.service

(From OE-Core rev: 8635372d8e1886d3f0c066341f6909e5015d81f6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagedata.py: Fix get_subpkgedata_fn for multilib
Matthew McClintock [Fri, 6 Jul 2012 20:08:00 +0000 (15:08 -0500)]
packagedata.py: Fix get_subpkgedata_fn for multilib

This happens when tryng to add libgcc-dev to as a multilib package
(e.g. IMAGE_INSTALL_append = " lib32-libgcc-dev")

| Processing task-core-boot...
| Processing fman-ucode...
| Processing dosfstools...
| Processing lib32-libgcc-dev...
| Unable to find package lib32-libgcc-dev (libgcc-dev)!
NOTE: package fsl-image-full-1.0-r1.1.3.6: task do_rootfs: Failed

RPM (or bitbake?) is looking in the tmp/pkgdata, however some of these file
paths are mungned for the multilib scenario:

$ find tmp/pkgdata/ | grep libgcc-dev$
tmp/pkgdata/ppce5500-fsl-linux/runtime/lib32-libgcc-dev
tmp/pkgdata/ppc64e5500-fsl-linux/runtime/libgcc-dev

This patch fixes where we look for these files so they can be found and
properly installed for the multilib root file system

(From OE-Core rev: 4e65ddda5d351bd9f2172e77e656903f61a52f34)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu-0.15.1: add patch to fix compilatation problems on powerpc
Matthew McClintock [Fri, 6 Jul 2012 18:15:24 +0000 (13:15 -0500)]
qemu-0.15.1: add patch to fix compilatation problems on powerpc

ERROR: Function failed: do_compile (see /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447 for further information)
ERROR: Logfile of failure stored in: /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447
Log data follows:
| DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', 'common']
| ERROR: Function failed: do_compile (see /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447 for further information)
| NOTE: make -j 24
|   LINK  ppc-linux-user/qemu-ppc
| /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/sysroots/x86_64-linux/usr/libexec/ppc64e5500-fsl-linux/gcc/powerpc64-fsl-linux/4.6.4/ld:/opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/qemu-0.15.1/ppc64.ld:84: syntax error
| collect2: ld returned 1 exit status
| make[1]: *** [qemu-ppc] Error 1
| make: *** [subdir-ppc-linux-user] Error 2
| make: *** Waiting for unfinished jobs....
| ERROR: oe_runmake failed

(From OE-Core rev: a9207aad5b163a071cd8298517d61514c587e0ed)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml-parser-perl_2.41.bb: fix MakeMaker issues with using wrong CC/LD/etc
Matthew McClintock [Thu, 5 Jul 2012 19:18:35 +0000 (14:18 -0500)]
libxml-parser-perl_2.41.bb: fix MakeMaker issues with using wrong CC/LD/etc

MakeMaker has a bug where it does not propagate CC/LD/etc information
down to subproject it generates Makefiles for... this recipe has has an
Expat subproject which has issues building if we are using sstate-cache
and it will reference the old sysroots and be unable to build properly.
There is an upstream MakeMaker bug for this issue but we can work around
it by fixing up the Makefiles for now

See:
https://rt.cpan.org/Public/Bug/Display.html?id=28632

(From OE-Core rev: 2c3629a698e537c69c71039bc6172b3c0e617ff1)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutils.bbclass: add helper function to add all multilib variants of a specific package
Richard Purdie [Thu, 5 Jul 2012 19:23:11 +0000 (14:23 -0500)]
utils.bbclass: add helper function to add all multilib variants of a specific package

This is useful for the scenario where we want to add 'gcc' to
the root file system for all multilib variants

(From OE-Core rev: 7cd54693363882854cd026ebe071e9f2e03d364e)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: Update to 1.3.1 (fixing chroot crash)
Peter Seebach [Thu, 5 Jul 2012 18:25:58 +0000 (13:25 -0500)]
pseudo: Update to 1.3.1 (fixing chroot crash)

Yocto bug #2639.  If a chroot path was long, expanding absolute
paths within the chroot path could overrun a buffer.

(From OE-Core rev: 282cbf7002112f6b58ca1ee070c0b1285b838db7)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub-efi: Do not use help2man
Darren Hart [Mon, 2 Jul 2012 19:52:20 +0000 (12:52 -0700)]
grub-efi: Do not use help2man

Fixes [YOCTO #2527]

Modify configure.ac and the generated configure script to avoid using
help2man during the compilation process. For grub-efi we are only
deploying the EFI payload and are not installing grub on the target
root filesystem. Therefor, we do not need the man pages.

Cleanup the SRC_URI whitespace while we add a line to it.

(From OE-Core rev: 035bc3f5ee99ed3bd74219d9717239299e4bc765)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
CC: Radu Moisan <radu.moisan@intel.com>
grub-efi-native whitespace cleanup (INC)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinit-install: Clean up partition alignment
Darren Hart [Tue, 3 Jul 2012 23:21:57 +0000 (16:21 -0700)]
init-install: Clean up partition alignment

The current partitioning scheme leaves a 1MB gap between all the
generated partitions by adding a 1 to the end of the last partition to
use as the start of the next. parted is smart enough to not overlap
start and end positions of the same value. This avoids the 1 MB gaps.

Rather than pad the disk with 1MB in the beginning and cut it off at the
MB boundary on the end, we can use 0% and 100% to allow parted to do the
required math and use as much of the disk as possible.

(From OE-Core rev: 8aac6ecc5194c734dfd3d677017ab3ea045b2339)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinit-install: Correct ext2->ext3 typo in logging
Darren Hart [Tue, 3 Jul 2012 20:26:00 +0000 (13:26 -0700)]
init-install: Correct ext2->ext3 typo in logging

We create both the boot and root partitions as ext3 now, update the
logging accordingly.

(From OE-Core rev: 4436639eed57d818992596d6f0f7b53d3bbd4800)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinit-install: Use swap_ratio in the calulation of swap_size
Darren Hart [Tue, 3 Jul 2012 20:02:50 +0000 (13:02 -0700)]
init-install: Use swap_ratio in the calulation of swap_size

swap_size currently uses a hard coded percentage and ignores the
swap_ratio variable. Fortunately they are the same value currently. Make
the calculation use the variable to avoid problems in the future.

(From OE-Core rev: 2678ce668499af0e90994b9da8c518e85de56651)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/license: fix manifest to work with deb
Paul Eggleton [Thu, 5 Jul 2012 14:48:23 +0000 (15:48 +0100)]
classes/license: fix manifest to work with deb

Prepend the license manifest creation call to ROOTFS_POSTPROCESS_COMMAND
instead of appending to ROOTFS_POSTINSTALL_COMMAND. The latter is not
implemented for the deb backend (and probably ought to just be removed
completely), and by using _prepend we can still ensure it occurs before
package info is removed (and before buildhistory in case it is needed
there in future).

(From OE-Core rev: 56fafe083fdb63f156a081344fb1d836e3182bf0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: fix support for ext4 rootfs images
Scott Garman [Thu, 5 Jul 2012 15:57:52 +0000 (08:57 -0700)]
runqemu: fix support for ext4 rootfs images

(From OE-Core rev: c9479ae46d0b891eda8f0db89bc66fdf08c3f7c2)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: fix usage() help for MACHINE setting
Scott Garman [Thu, 5 Jul 2012 15:50:35 +0000 (08:50 -0700)]
runqemu: fix usage() help for MACHINE setting

(From OE-Core rev: 36482a0064993b047829631d063beadbc03f2cbf)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.bbclass: the tmpdir can't be longer than 410
Robert Yang [Thu, 5 Jul 2012 08:57:33 +0000 (16:57 +0800)]
sanity.bbclass: the tmpdir can't be longer than 410

There will be errors when the length of the tmpdir is longer than 410:

1) Longer than 420:
Can't exec "/bin/sh": Argument list too long at /usr/lib/perl/5.10/IO/File.pm line 66.

This error happens on both Ubuntu 10.04 and 10.10 when the pkg needs run
"autoreconf", this is because it passes many files with absolute path to
aclocal, aclocal passes them to perl, this is a limitation of the perl
on Ubuntu 10.04 and 10.10, and the perl-native is not ready at this very
early stage.

2) Longer than 490:
bitbake/lib/bb/persist_data.py", line 197, in connect(database=...)
    >    return sqlite3.connect(database, timeout=5, isolation_level=None)
OperationalError: unable to open database file

This error happens on Ubuntu 10.04, 10.10 and Fedora 17. This is because
the length of the database in sqlite3 module (host's) can't be longer
than 490 (or little smaller). The python-native is not ready at this
very early stage.

The 2 errors are host related, I think that limit the length of the
TMPDIR to 410 is OK for most of the build, rarely build sets TMPDIR's
longer than 410.

[YOCTO #2434]

(From OE-Core rev: ebcf949853ff667478a1ea1d3f1f8f41d643e708)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoapt 0.7.14: runtime error: Method file has died unexpectedly
Robert Yang [Wed, 4 Jul 2012 10:16:29 +0000 (18:16 +0800)]
apt 0.7.14: runtime error: Method file has died unexpectedly

When the length of the tmpdir is longer than 400, there is an error
when run "apt-get update":

Method file has died unexpectedly!

This is because the "char S[1024]" is not enough for long URI, S[2048]
would be enough.

[YOCTO #2689]

(From OE-Core rev: 3ed08bd24cef39a85c528159a494e8f0dd001739)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoapt 0.7.14: runtime error: filename too long (tmpdir length)
Robert Yang [Wed, 4 Jul 2012 10:16:28 +0000 (18:16 +0800)]
apt 0.7.14: runtime error: filename too long (tmpdir length)

when the tmpdir dir is longer than 220, there is no files saved in
tmp/sysroots/x86_64-linux/var/lib/apt/lists/ after run apt-get update,
this is because apt-get uses the path as the file name, but the file
name can't be longer than 255 according to /usr/include/linux/limits.h.

[YOCTO #2688]

(From OE-Core rev: 9a0c0393871eda4bbcecfdd4b595f0c1b8e42edf)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocurl: upgrade to 7.26.0
Alexandru DAMIAN [Wed, 4 Jul 2012 07:31:18 +0000 (10:31 +0300)]
curl: upgrade to 7.26.0

Config system changed from 7.24.0 and the noldlibpatch
is no longer needed, thus deleted.

(From OE-Core rev: 0d2d59420b5924491ccd5c091c823b9c277a6721)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-common: Don't use "is" for comparing strings, use "=="
Kartik Mohta [Wed, 4 Jul 2012 03:21:07 +0000 (23:21 -0400)]
gcc-common: Don't use "is" for comparing strings, use "=="

Needed because the equality check was failing here even though upon
printing the LHS and RHS were the same.
As per http://stackoverflow.com/a/2987975/64537, using "is" compares the
memory addresses of the two objects which is not what we want here. We
just want to compare the values.

(From OE-Core rev: 7fd82cc90a48302ed42b6bfa962bb0de2c652b45)

Signed-off-by: Kartik Mohta <kartikmohta@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorecipes.txt: Add entries for "recipes-rt" and "recipes-support"
Robert P. J. Day [Wed, 4 Jul 2012 19:02:24 +0000 (15:02 -0400)]
recipes.txt: Add entries for "recipes-rt" and "recipes-support"

(From OE-Core rev: 9705ccc10892b15fa3269ed071bb41d45987694c)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopixman: upgrade to 0.26.2
Laurentiu Palcu [Wed, 4 Jul 2012 08:45:26 +0000 (11:45 +0300)]
pixman: upgrade to 0.26.2

Also, disable Loongson MMI for now because Pixman's build system will
autodetect a Loongson2f architecture revision and the build will fail.

(From OE-Core rev: 7dded4da52bc73677583da740620b0c81e594d62)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxinput: upgrade to 1.6.0
Laurentiu Palcu [Tue, 3 Jul 2012 19:28:54 +0000 (22:28 +0300)]
xinput: upgrade to 1.6.0

Licence file changed, an entire part has been removed.

See diff below:

<<
 TORTIOUS  ACTION, ARISING    OUT OF OR   IN  CONNECTION  WITH THE USE OR
 PERFORMANCE OF THIS SOFTWARE.

-
-Copyright 2007 Peter Hutterer
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR
-OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of the author shall
-not be used in advertising or otherwise to promote the sale, use or
-other dealings in this Software without prior written authorization
-from the author.
-
-
+Copyright Â© 2007 Peter Hutterer
Copyright Â© 2009 Red Hat, Inc.

Permission is hereby granted, free of charge, to any person obtaining a
>>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxi: upgrade to 1.6.1
Laurentiu Palcu [Tue, 3 Jul 2012 19:27:24 +0000 (22:27 +0300)]
libxi: upgrade to 1.6.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-diet: upgrade to 1.5.0
Laurentiu Palcu [Wed, 4 Jul 2012 09:54:45 +0000 (12:54 +0300)]
libx11-diet: upgrade to 1.5.0

The X18NCMSstubs.diff was modified to please the -Werror=return-type
compiler option. Otherwise, it will throw an error.

(From OE-Core rev: 708785266d1d671f5d2a8e8af81a77e34c70662f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-trim: upgrade to 1.5.0
Laurentiu Palcu [Wed, 4 Jul 2012 08:05:17 +0000 (11:05 +0300)]
libx11-trim: upgrade to 1.5.0

(From OE-Core rev: 817742fa1a5261b3b2c697de3c14e602d55713e2)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: upgrade to 1.5.0
Laurentiu Palcu [Wed, 4 Jul 2012 07:28:20 +0000 (10:28 +0300)]
libx11: upgrade to 1.5.0

Removed one backported patch.

(From OE-Core rev: 52d4ff7b35602faa52360a3e7a800891ef60c739)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodirectfb-examples: upgrade to 1.6.0
Laurentiu Palcu [Tue, 3 Jul 2012 10:24:19 +0000 (13:24 +0300)]
directfb-examples: upgrade to 1.6.0

(From OE-Core rev: 37a1e3c0ed5347c77ace9f3ce262f34d9ac53528)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodirectfb: upgrade to 1.6.1
Laurentiu Palcu [Tue, 3 Jul 2012 09:34:59 +0000 (12:34 +0300)]
directfb: upgrade to 1.6.1

Removed two backported patches that already exist in the current
version and fixed a compilation issue when zlib is used.

(From OE-Core rev: 47800f9bff7a799489851156c341151ee9cf364f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib: Enable multilib remapping for SDK generation
Mark Hatle [Mon, 9 Jul 2012 15:11:38 +0000 (10:11 -0500)]
multilib: Enable multilib remapping for SDK generation

Enable the remapping for SDK generation, this is required to be able to
create an SDK that targets an alternative multilib.  Note, this work does
not finish SDK/multilib support, but it is one more step toward making
it work properly.

(From OE-Core rev: d66d2bdf6214939e8b131f47db2f35d3c64e7dd2)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm: Avoid duplicate package generation failures
Mark Hatle [Fri, 6 Jul 2012 19:14:01 +0000 (14:14 -0500)]
package_rpm: Avoid duplicate package generation failures

When constructing a multilib based image, it's possible to end up with
the same package listed in multiple steps of the install.  During resolution
we use the --replacepkgs option to avoid errors, as the resulting install
solution will be as expected.  (We do not enable the replacepkgs option
for the final install step, only the generation of the install solution.)

(From OE-Core rev: 68ea7d827710ae7c5cf402887d4c12319038e064)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_rpm: Sync multilib configuration with rootfs_rpm
Mark Hatle [Fri, 6 Jul 2012 19:13:59 +0000 (14:13 -0500)]
populate_sdk_rpm: Sync multilib configuration with rootfs_rpm

An anonymous python chunk configures some multilib settings for both
populate_sdk_rpm and rootfs_rpm.  The two classes should contain identical
versions to ensure that the generated multilib configuration is the same
for the SDK and the rootfs.

(From OE-Core rev: 0f60722ef460fa826e4f02e7457004e64ca41d76)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Fix PACKAGECONFIG dependencies
Mark Hatle [Fri, 6 Jul 2012 20:06:42 +0000 (15:06 -0500)]
rpm: Fix PACKAGECONFIG dependencies

neon requires expat to be built first

lua similarly requires expat if enabled

selinux package name should be "libselinux" (from meta-selinux).

(From OE-Core rev: 6b3c9802b659ca1d3b7638ff80e6492cc0e16d6f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognutls: make sure native is patched for gettext version
Saul Wold [Thu, 5 Jul 2012 21:31:15 +0000 (14:31 -0700)]
gnutls: make sure native is patched for gettext version

(From OE-Core rev: 92ede8a994b9a24387d3d7dc79e80705f6be4524)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsbinitscripts: increase ALTERNATIVE_PRIORITY
Kang Kai [Mon, 9 Jul 2012 02:26:59 +0000 (10:26 +0800)]
lsbinitscripts: increase ALTERNATIVE_PRIORITY

[YOCTO #2133]

Increase ALTERNATIVE_PRIORITY of file functions to be higher than
the value in package initscript. Then when lsbinitscripts installed,
file functions provided by lsbinitscripts will be used.

(From OE-Core rev: 33f9abed7658bd5eae39e987b210651d202e1f4e)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: use update-alternative to handle file functions
Kang Kai [Mon, 9 Jul 2012 02:26:58 +0000 (10:26 +0800)]
initscripts: use update-alternative to handle file functions

lsb need a more abundant /etc/init.d/functions file to handle lsb test.
Use update-alternative to install file funtions in package initscripts,
when package lsbinitscripts installed the file functions of
lsbinitscripts will be used.

(From OE-Core rev: 478f821462665a9dc6f1755059cdbf642aebbf4d)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomatchbox-panel-2: bump PR because libxcb-util soname was changed
Martin Jansa [Wed, 4 Jul 2012 17:32:13 +0000 (19:32 +0200)]
matchbox-panel-2: bump PR because libxcb-util soname was changed

(From OE-Core rev: 31b8fe8d1a9921e4efc64b6ab00c26e4bd09ed2c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostartup-notification: bump PR because libxcb-util soname was changed
Martin Jansa [Wed, 4 Jul 2012 17:32:12 +0000 (19:32 +0200)]
startup-notification: bump PR because libxcb-util soname was changed

(From OE-Core rev: 1dc4100dd35c050b38e4733cb98752c1323ef7b1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: usermanual: Fix missing markup
Robert P. J. Day [Thu, 5 Jul 2012 23:58:52 +0000 (19:58 -0400)]
bitbake: usermanual: Fix missing markup

(Bitbake rev: 68af2b09315ba35eae24933a599014a662789c2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobootimg: Use STAGING_KERNEL_DIR
Darren Hart [Thu, 5 Jul 2012 18:08:59 +0000 (11:08 -0700)]
bootimg: Use STAGING_KERNEL_DIR

bootimg.bbclass using STAGING_DIR_HOST/kernel instead of
STAGING_KERNEL_DIR, resulting in build failure of live images.

| install: cannot stat `/usr/local/dev/yocto/fishriver-test/build/tmp/sysroots/fishriver/kernel/bzImage': No such file or directory

Replace it with STAGING_KERNEL_DIR.

(From OE-Core rev: 8f16811a8d51982a8b3d70e6087aef4a41926840)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Tested-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: remove unconditional python-ext install
Tom Zanussi [Thu, 5 Jul 2012 14:49:52 +0000 (09:49 -0500)]
perf: remove unconditional python-ext install

This shouldn't be unconditional - a later patch made it so, but that's
not yet pulled in.  In the meantime, to fix build failures remove the
unconditional install.

(From OE-Core rev: dcc43c34bfa9304233ecfd3f518a84ddfdc2fd90)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodpkg 1.15.8.7: bad interpreter when long tmpdir
Robert Yang [Wed, 4 Jul 2012 10:15:54 +0000 (18:15 +0800)]
dpkg 1.15.8.7: bad interpreter when long tmpdir

When use PACKAGE_CLASSES = "package_deb", and the length of tmpdir is
longer than 177, the error occurs during the image generation:

/very/long/path/totmp/sysroots/x86_64-linux/usr/bin/dpkg-scanpackages:
bad interpreter: No such file or directory

The interpreter is perl, and it does exist, this is because the first
line:

  #!/very/long/path/to/perl

in the script can't be very long.

Create a wrapper for it would fix the problem.

[YOCTO #2640]

(From OE-Core rev: 7d3281be18567207de8ce2cabce03957bf2cbca8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonetbase: update to ver. 5.0
Cristian Iorga [Wed, 4 Jul 2012 11:34:01 +0000 (14:34 +0300)]
netbase: update to ver. 5.0

(From OE-Core rev: 5beb7176d361d4bfa279bbfab5a17b8fe4fa3b73)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4: update to ver. 4.101
Cristian Iorga [Wed, 4 Jul 2012 11:34:00 +0000 (14:34 +0300)]
bluez4: update to ver. 4.101

(From OE-Core rev: 1b2f6a21dde6045c4604ca5463e6c4db3499ee06)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoofono: update to ver. 1.8
Cristian Iorga [Wed, 4 Jul 2012 11:34:03 +0000 (14:34 +0300)]
ofono: update to ver. 1.8

(From OE-Core rev: 80f05ff2afed7ef24d17209d39a17cf8139855bb)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugin-bluetooth: update to ver. 4.101
Cristian Iorga [Wed, 4 Jul 2012 11:34:02 +0000 (14:34 +0300)]
gst-plugin-bluetooth: update to ver. 4.101

(From OE-Core rev: 5d0e81b370a4c6b0473efd7989b6881a16e02f29)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotelepathy-glib: update to ver. 0.19.2
Cristian Iorga [Wed, 4 Jul 2012 11:33:59 +0000 (14:33 +0300)]
telepathy-glib: update to ver. 0.19.2

(From OE-Core rev: 2cc263bf5402e21429a5057c183a10918491da48)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agou-boot: make FILESDIR a shared setting via FILESPATH
Paul Gortmaker [Wed, 4 Jul 2012 15:23:45 +0000 (11:23 -0400)]
u-boot: make FILESDIR a shared setting via FILESPATH

The setting is the same in all recipes, so move it to
the shared settings in u-boot.inc

Since FILESDIR is also being phased out, use the FILESPATH
setting as suggested by Richard Purdie.

Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 1b78904b115b50172cf82948d8a68dc3a98005ce)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-firware: bump PE because git SRC_URI was changed resulting in LOCALCOUNT reset
Martin Jansa [Wed, 4 Jul 2012 17:33:55 +0000 (19:33 +0200)]
linux-firware: bump PE because git SRC_URI was changed resulting in LOCALCOUNT reset

(From OE-Core rev: 088b59e7888ae670710be19c868d0fe90ca44b78)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: data_smart: Fix multiple override interaction with append and prepend operators
Richard Purdie [Wed, 4 Jul 2012 15:47:52 +0000 (15:47 +0000)]
bitbake: data_smart: Fix multiple override interaction with append and prepend operators

Variables which used multiple overrides and the append/prepend operators were
not functioning correctly. This change fixes that.

This fixes the testcase:

OVERRIDES = "linux:x86"
TESTVAR = "original"
TESTVAR_append_x86 = " x86"
TESTVAR_append_x86_linux = " x86+linux"
TESTVAR_append_linux_x86 = " linux+x86"

[YOCTO #2672]

(Bitbake rev: dc35a2e506e15fb7ddbf74c3b3280e9e83ab33bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe/sstatesig.py: Exclude subversion-native from sstate checksums
Richard Purdie [Thu, 5 Jul 2012 11:31:38 +0000 (11:31 +0000)]
lib/oe/sstatesig.py: Exclude subversion-native from sstate checksums

If we don't do this, target and cross recipes end up with different sstate
checksums for shared work directory tasks which is bad in the case of gcc.
It leads to multiple fetch/unpack tasks against the shared directory
which ends up with build failures/races.

(From OE-Core rev: 793ce6cd9aa632e0f13789c8293770a86085d28d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: fix collect2 host contamination problem properly
Richard Purdie [Thu, 5 Jul 2012 10:30:14 +0000 (10:30 +0000)]
gcc: fix collect2 host contamination problem properly

We added the autoconf cache line a while back to ensure that configure doesn't
poke into some hardcoded host paths looking for things it shouldn't. Applying
it as part of do_configure wasn't getting it to the do_compile tasks
where much of the configure scripts are run by gcc. This changes it to a simple
export to ensure it reaches the places it needs to and truly gets rid of
the cross compile badness messages from the logs.

(From OE-Core rev: af58d5c3a5c5e632aa20b1d007d47dbbfb4ed6e6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: runqueue.py: Fix recursive task pruning to only prune self referencing tasks
Richard Purdie [Wed, 4 Jul 2012 16:39:11 +0000 (16:39 +0000)]
bitbake: runqueue.py: Fix recursive task pruning to only prune self referencing tasks

(Bitbake rev: 4962a59793504b26b06cf058dda600a07fbbd951)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoprexport.bbclass: Fix typo in warning: "AUROPR" -> "AUTOPR".
Robert P. J. Day [Tue, 3 Jul 2012 20:21:23 +0000 (16:21 -0400)]
prexport.bbclass: Fix typo in warning: "AUROPR" -> "AUTOPR".

(From OE-Core rev: 0b79c730f3e5c3c5329e439dffd137f2605b6cba)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsbinitiscripts: Add glib-2.0 to DEPENDS list
Saul Wold [Wed, 27 Jun 2012 16:20:52 +0000 (09:20 -0700)]
lsbinitiscripts: Add glib-2.0 to DEPENDS list

ppp-watch requires it.

x86_64-poky-linux-gcc    -m64 --sysroot=/intel/poky2/builds/fetch/tmp/sysroots/qemux86-64 -O2 -pipe -g -feliminate-unused-debug-types  -Wall -D_GNU_SOURCE `pkg-config glib-2.0 --cflags` -c ppp-watch.c -o ppp-watch.o
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
ppp-watch.c:78:18: fatal error: glib.h: No such file or directory
compilation terminated.
make[1]: *** [ppp-watch.o] Error 1
make[1]: Leaving directory `/intel/poky2/builds/fetch/tmp/work/x86_64-poky-linux/lsbinitscripts-9.03-r0/initscripts-9.03/src'

(From OE-Core rev: 488610f4a5b7591a989ff1a6137f276a85fd7a85)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemumachines: make MACHINE_FEATURES append follow qemu.inc include
Tom Zanussi [Sun, 1 Jul 2012 15:56:12 +0000 (10:56 -0500)]
qemumachines: make MACHINE_FEATURES append follow qemu.inc include

qemu.inc does a straight assign to MACHINE_FEATURES so overwriting the
preceding append to MACHINE_FEATURES, so the MACHINE_FEATURES append
needs to be moved after the include.

This situation came about as a result of commit 71a4bf386:

    qemumachines: Enable xserver-xorg as default xserver

    For qemux86 and qemux86-64 include qemu.inc after defining XSERVER

which missed this side-effect (and maybe others).

(From OE-Core rev: 4f336e5f416df382fdd2b405314741164d537b22)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: add libexec/perf-core and contents
Tom Zanussi [Mon, 25 Jun 2012 04:30:02 +0000 (23:30 -0500)]
perf: add libexec/perf-core and contents

libexec/perf-core contains all the pre-canned scripts and modules
needed by both the Perl and Python bindigs.  Add libexec/perf-core
along with all the pre-defined perf scripts underneath it.

(From OE-Core rev: 00f9e8aed9f111d351c2dc71cd8605ccbd11f68f)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: enable Perl binding
Tom Zanussi [Mon, 25 Jun 2012 04:31:58 +0000 (23:31 -0500)]
perf: enable Perl binding

Add support to enable the perf Perl binding.

The build depends on perl-native to retrieve the configuration
settings needed for the binding.  cpan-base adds some useful functions
like is_target() and get_perl_version() that we need for
PERLCONFIGTARGET and related settings, which allow us to use the
target's Config_heavy.pl settings for ExtUtils:Embed when building for
the target.

Also adds the perl-modules dependency to give the target the perl
modules that scripts using the binding need.

(From OE-Core rev: 73a8eed010a821fc4f5c0e71ef749938ed780b44)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: enable Python bindings
Tom Zanussi [Mon, 25 Jun 2012 04:26:33 +0000 (23:26 -0500)]
perf: enable Python bindings

Add support to enable the perf python bindings.  The combination of
these changes and the changes in the python-config sections in the
kernel Makefile enable all the python bindings currently available in
perf.

(From OE-Core rev: 487c3a72f0ac7121b79d2f78b81f1d4732bc258a)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: use @STAGINGDIR@ in config.sh
Tom Zanussi [Thu, 28 Jun 2012 21:06:05 +0000 (16:06 -0500)]
perl: use @STAGINGDIR@ in config.sh

archlibexp in the snapshotted config.sh needs to be relative to
staging dir - it gets generated into Config_heavy.pl as one of the
settings and is used by ExtUtils::Embed during the target build.

The substituted setting doesn't make it into the target package
because it's removed by perl_package_preprocess() before packaging.

(From OE-Core rev: b647d2ab84ff0eb94f4b6a1b731d74aaf8c60b9d)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>