]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agobb.fetch2: add urldata_init call for Fetch class
Yu Ke [Sat, 8 Jan 2011 08:40:18 +0000 (16:40 +0800)]
bb.fetch2: add urldata_init call for Fetch class

FetchData has some fetch method specific data, and only fetch method knows how
to initialize it. originally it is mostly initialized in Fetch.localpath().
But now there is requirement to call Fetch.latest_revision() before
Fetch.localpath(), thus require another earlier place for initialization. so
urldata_init is introduced for this purpose. it will be called in FetchData:__init__
and make all the Fetch functions useable after that.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoBBHandler: remove bb.fetch referrence
Yu Ke [Sat, 8 Jan 2011 02:26:28 +0000 (10:26 +0800)]
BBHandler: remove bb.fetch referrence

BBHandler.py no longer use bb.fetch, so remove its import statement

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agomachines: move PACKAGE_EXTRA_ARCHS to tune files
Koen Kooi [Sun, 9 Jan 2011 08:41:33 +0000 (09:41 +0100)]
machines: move PACKAGE_EXTRA_ARCHS to tune files

This gets us closer to making including tune-<arch>.inc "just work".
Moving the TARGET_ARCH definitions is something for a follup patch.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake: For poky only, force the use of fetch2 codebase
Richard Purdie [Mon, 10 Jan 2011 18:13:53 +0000 (18:13 +0000)]
bitbake: For poky only, force the use of fetch2 codebase

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake: Switch to fetch2 fetcher code based on the environment variable BBFETCH2
Richard Purdie [Mon, 10 Jan 2011 18:12:53 +0000 (18:12 +0000)]
bitbake: Switch to fetch2 fetcher code based on the environment variable BBFETCH2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobb.fetch2: replace bb.fetch with bb.fetch2 in the bb.fetch
Yu Ke [Mon, 10 Jan 2011 18:05:07 +0000 (18:05 +0000)]
bb.fetch2: replace bb.fetch with bb.fetch2 in the bb.fetch

bb.fetch2 is copied from bb.fetch, and has many bb.fetch referrence.
Fix these referrence with bb.fetch2 referrence

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch/git: Add backwards compatibility code for branch name handling
Richard Purdie [Mon, 10 Jan 2011 14:27:30 +0000 (14:27 +0000)]
bitbake/fetch/git: Add backwards compatibility code for branch name handling

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake: copy bb.fetch to bb.fetch2 as initial code base for fetcher overhaul
Yu Ke [Mon, 10 Jan 2011 14:23:36 +0000 (14:23 +0000)]
bitbake: copy bb.fetch to bb.fetch2 as initial code base for fetcher overhaul

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/poky.conf: Add TARGET_LINK_HASH_STYLE option to TARGET_LDFLAGS as per OE.dev
Richard Purdie [Fri, 7 Jan 2011 16:01:56 +0000 (16:01 +0000)]
bitbake/poky.conf: Add TARGET_LINK_HASH_STYLE option to TARGET_LDFLAGS as per OE.dev

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/codeparser: Fix import to match upstream bitbake
Richard Purdie [Mon, 10 Jan 2011 13:22:30 +0000 (13:22 +0000)]
bitbake/codeparser: Fix import to match upstream bitbake

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoutils: show the actual exception in better_exec
Chris Larson [Wed, 22 Dec 2010 19:06:54 +0000 (12:06 -0700)]
utils: show the actual exception in better_exec

(Bitbake rev: a148e6a63c842ac586ac1dddbd9008f93cdea297)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorunqueue.py: Drop unneeded import and improve quieterrors handling as per upstream...
Richard Purdie [Mon, 10 Jan 2011 13:13:08 +0000 (13:13 +0000)]
runqueue.py: Drop unneeded import and improve quieterrors handling as per upstream bitbake

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake: Update event queue handling to match upstream bitbake
Richard Purdie [Mon, 10 Jan 2011 13:12:35 +0000 (13:12 +0000)]
bitbake: Update event queue handling to match upstream bitbake

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue.py: Sync with changes in upstream bitbake
Richard Purdie [Mon, 10 Jan 2011 12:48:49 +0000 (12:48 +0000)]
bitbake/runqueue.py: Sync with changes in upstream bitbake

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch: Sync up logger/whitespace improvements
Richard Purdie [Mon, 10 Jan 2011 12:14:22 +0000 (12:14 +0000)]
bitbake/fetch: Sync up logger/whitespace improvements

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/utils.py: Drop unused function extend_deps()
Richard Purdie [Mon, 10 Jan 2011 12:04:18 +0000 (12:04 +0000)]
bitbake/utils.py: Drop unused function extend_deps()

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake: Sync environment handling function names and comments with upstream alterations
Richard Purdie [Mon, 10 Jan 2011 12:03:40 +0000 (12:03 +0000)]
bitbake: Sync environment handling function names and comments with upstream alterations

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoparse: pass filename, lineno into the ast
Chris Larson [Tue, 4 Jan 2011 20:34:08 +0000 (13:34 -0700)]
parse: pass filename, lineno into the ast

We will be needing this information to improve the tracebacks of python code
from the metadata, as well as to give the user information about where
variables were defined, so they know how it ended up the way it is.

(Bitbake rev: 9615c538b894f71a2d1a0ba6b3f260db91e75786)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agocache: don't expand variables for skipped recipes
Chris Larson [Fri, 7 Jan 2011 15:38:41 +0000 (08:38 -0700)]
cache: don't expand variables for skipped recipes

Errors can result from these expansions, but for skipped recipes, we
shouldn't care about those failures.  This fixes the same issue which
Richard Purdie fixed in poky, commit 847b717.

(Bitbake rev: 96ee6840010c1ae1080e6bf7ff0f4eb2d361e84b)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/knotty.py: Don't show log messages of NOTE and below for task processes
Richard Purdie [Fri, 7 Jan 2011 23:54:42 +0000 (23:54 +0000)]
bitbake/knotty.py: Don't show log messages of NOTE and below for task processes

This cleans up the knotty console messages to be a lot quieter and cleaning,
in keeping with the expectations of most users.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/__init__.py: Add taskpid to all LogRecords (subclassed to be BBLogRecords)
Richard Purdie [Fri, 7 Jan 2011 23:52:19 +0000 (23:52 +0000)]
bitbake/__init__.py: Add taskpid to all LogRecords (subclassed to be BBLogRecords)

This allows us to identify which task messages are from.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/msg.py: Add named definitions for all logging levels
Richard Purdie [Fri, 7 Jan 2011 23:50:17 +0000 (23:50 +0000)]
bitbake/msg.py: Add named definitions for all logging levels

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoxserver-xf86-common: Remove COMPATIBLE_HOST as it was wrong solution
Saul Wold [Fri, 7 Jan 2011 18:46:14 +0000 (10:46 -0800)]
xserver-xf86-common: Remove COMPATIBLE_HOST as it was wrong solution

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoinsane.bbclass: Enable the package_qa_hash_style check
Richard Purdie [Fri, 7 Jan 2011 16:27:01 +0000 (16:27 +0000)]
insane.bbclass: Enable the package_qa_hash_style check

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue.py: Remove duplicate TaskStarted event fire()
Richard Purdie [Fri, 7 Jan 2011 16:22:45 +0000 (16:22 +0000)]
bitbake/runqueue.py: Remove duplicate TaskStarted event fire()

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoxvinfo: Fix LIC_FILES_CHKSUM
Richard Purdie [Fri, 7 Jan 2011 16:21:40 +0000 (16:21 +0000)]
xvinfo: Fix LIC_FILES_CHKSUM

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolibcanberra: Fix LIC_FILES_CHKSUM
Richard Purdie [Fri, 7 Jan 2011 16:19:17 +0000 (16:19 +0000)]
libcanberra: Fix LIC_FILES_CHKSUM

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/build.py: Fix del_stamp work correctly after recent stamp function changes
Richard Purdie [Fri, 7 Jan 2011 14:03:27 +0000 (14:03 +0000)]
bitbake/build.py: Fix del_stamp work correctly after recent stamp function changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/cooker.py: Fix merge conflict with upstream which was preventing clean bitbak...
Richard Purdie [Fri, 7 Jan 2011 13:54:50 +0000 (13:54 +0000)]
bitbake/cooker.py: Fix merge conflict with upstream which was preventing clean bitbake shutdown

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/cache.py: Expansion of variables in skipped recipes should not be attempted...
Richard Purdie [Fri, 7 Jan 2011 12:56:06 +0000 (12:56 +0000)]
bitbake/cache.py: Expansion of variables in skipped recipes should not be attempted as they can trigger errors

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/data.py: corrected the output for shell syntax.
Lianhao Lu [Fri, 7 Jan 2011 06:17:10 +0000 (14:17 +0800)]
bitbake/data.py: corrected the output for shell syntax.

[BUGID# 645], modify the emit_var()
1. Added "#" to the beginning of each line if the comment contains
multiple lines.

2. Added "\" to the end of each line if the shell variable value
contains multiple lines.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agobison-native: create a wrapper script for sstate installation
Kevin Tian [Wed, 5 Jan 2011 03:04:12 +0000 (11:04 +0800)]
bison-native: create a wrapper script for sstate installation

bison-native encodes M4 and PKGDATA staging path in its binary, which
breaks sstate installation in a new build environment. Use create_wrapper
similar as flex-native to solve this issue

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoflex-native: create a wrapper script for sstate installation
Kevin Tian [Wed, 5 Jan 2011 02:26:36 +0000 (10:26 +0800)]
flex-native: create a wrapper script for sstate installation

flex-native encodes M4 staging path in its binary, which breaks sstate
installation in a new build environment. Use create_wrapper to create
a wrapper script which explicitly set M4 environmental variable to the
new path

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoperl: use ${CCLD} instead of its own LD definition
Kevin Tian [Wed, 5 Jan 2011 06:50:33 +0000 (14:50 +0800)]
perl: use ${CCLD} instead of its own LD definition

perl explicitly assigns LD to a bogus value:
    oe_runmake perl LD="${TARGET_SYS}-gcc"
which breaks sstate-based build when toolchain is not generated locally,
due to lacking of --sysroot option. Use ${CCLD} instead to make this
relocatable.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agobitbake/siggen.py: Add a signature generator which adds the hash to the stamp files
Richard Purdie [Fri, 7 Jan 2011 11:04:38 +0000 (11:04 +0000)]
bitbake/siggen.py: Add a signature generator which adds the hash to the stamp files

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobase.bbclass: Use the new stampfile function in bitbake to determine the path to...
Richard Purdie [Thu, 6 Jan 2011 19:49:17 +0000 (19:49 +0000)]
base.bbclass: Use the new stampfile function in bitbake to determine the path to the stampfile

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue.py: Fix a bug where do_setscene dependencies would be ignored
Richard Purdie [Thu, 6 Jan 2011 19:48:47 +0000 (19:48 +0000)]
bitbake/runqueue.py: Fix a bug where do_setscene dependencies would be ignored

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake build/siggen/runqueue: Fix stampfile parameters
Richard Purdie [Thu, 6 Jan 2011 19:47:00 +0000 (19:47 +0000)]
bitbake build/siggen/runqueue: Fix stampfile parameters

The current parameters are not useful to the stampfile generator function
as they can't uniquely define a task. This updated things so the
parameters can identify unique tasks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake build.py: Stamp handling improvements
Richard Purdie [Thu, 6 Jan 2011 19:43:41 +0000 (19:43 +0000)]
bitbake build.py: Stamp handling improvements

* Move stamp file deletion out of the internal stamp helper function
* Add a new function to return the path to a stamp for a given task

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake build.py: Use localdata for stamp handling, not d
Richard Purdie [Thu, 6 Jan 2011 19:40:41 +0000 (19:40 +0000)]
bitbake build.py: Use localdata for stamp handling, not d

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopoky-ref-manual: Fix my email address
Richard Purdie [Wed, 5 Jan 2011 14:47:44 +0000 (14:47 +0000)]
poky-ref-manual: Fix my email address

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/build.py: Ditch the extract_stamp function as its just going to complicate...
Richard Purdie [Thu, 6 Jan 2011 15:41:39 +0000 (15:41 +0000)]
bitbake/build.py: Ditch the extract_stamp function as its just going to complicate improving the stamp handling functions

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoparse.ast: drop __word__ regular expression
Chris Larson [Tue, 4 Jan 2011 20:07:27 +0000 (13:07 -0700)]
parse.ast: drop __word__ regular expression

We can use the string split method for this instead.

(Bitbake rev: aa9646717b3ee1006628246a7c495f601e62391c)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoparse.ast: avoid code duplication for inherit
Chris Larson [Tue, 4 Jan 2011 20:06:49 +0000 (13:06 -0700)]
parse.ast: avoid code duplication for inherit

(Bitbake rev: 0b11a3d4eab84b372fd45b9537cf0327008daf8d)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoevent: use BBLogFormatter in print_ui_queue
Chris Larson [Wed, 5 Jan 2011 18:20:05 +0000 (11:20 -0700)]
event: use BBLogFormatter in print_ui_queue

This ensures that when a failure occurs very early on in bitbake startup, the
message formatting ematches that used by the UIs.

(Bitbake rev: c8ff0fd3e9f050a668f1a069cf37ee37db3664fa)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobuild: use logger.isEnabledFor, not getEffectiveLevel
Chris Larson [Wed, 5 Jan 2011 18:19:21 +0000 (11:19 -0700)]
build: use logger.isEnabledFor, not getEffectiveLevel

I think this is less confusing, and avoids needing to know about the *range*
of logging levels, instead simply asking what we really want to know.

(Bitbake rev: dc2264387617586b5c0a61e126c75edde5e7abcd)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorecpies: use SRCPV instead of SRCREV for PV
Yu Ke [Mon, 27 Dec 2010 05:28:09 +0000 (13:28 +0800)]
recpies: use SRCPV instead of SRCREV for PV

SRCPV is intended being used by PV, some recipes still use
SRCREV for PV, which is not correct. This patch fix all the
misusage.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqemuimagetest: Remove connman test for lsb image and fix one warning in Test_Create_Qemu
Jiajun Xu [Thu, 6 Jan 2011 04:01:31 +0000 (12:01 +0800)]
qemuimagetest: Remove connman test for lsb image and fix one warning in Test_Create_Qemu

There is no connman in LSB image. So we need to remove connman test from it.
And when we check if ip address fetched by Test_Fetch_Target_IP is valid,
we should use "==" operator for string comparison.

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>

14 years agoinsane.bbclass: Fix message for LIC_FILES_CHKSUM Errors
Saul Wold [Thu, 6 Jan 2011 02:18:55 +0000 (18:18 -0800)]
insane.bbclass: Fix message for LIC_FILES_CHKSUM Errors

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopython-dbus: upgrade from 0.83.1 to 0.83.2
Nitin A Kamble [Mon, 27 Dec 2010 14:10:19 +0000 (06:10 -0800)]
python-dbus: upgrade from 0.83.1 to 0.83.2

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agobyacc: upgrade recipe from 20100610 to 20101127
Nitin A Kamble [Mon, 27 Dec 2010 02:09:40 +0000 (18:09 -0800)]
byacc: upgrade recipe from 20100610 to 20101127

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agogit: upgrade from 1.7.3.2 to 1.7.3.4
Nitin A Kamble [Mon, 27 Dec 2010 01:41:57 +0000 (17:41 -0800)]
git: upgrade from 1.7.3.2 to 1.7.3.4

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agodistro-tracking: update recently updated recipes
Nitin A Kamble [Mon, 27 Dec 2010 01:26:28 +0000 (17:26 -0800)]
distro-tracking: update recently updated recipes

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agomodutils: Extend gcc4 patch for obj_ppc.c
Saul Wold [Thu, 6 Jan 2011 00:48:33 +0000 (16:48 -0800)]
modutils: Extend gcc4 patch for obj_ppc.c

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoxserver: Add COMPATIBLE_MACHINE
Saul Wold [Thu, 6 Jan 2011 00:48:10 +0000 (16:48 -0800)]
xserver: Add COMPATIBLE_MACHINE

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agorpm: Bump PR to force rebuild due to new beecrypt
Saul Wold [Thu, 6 Jan 2011 00:47:20 +0000 (16:47 -0800)]
rpm: Bump PR to force rebuild due to new beecrypt

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agodistro_tracking_fields.inc: update apmd, blktool, dbus-glib, libgdbus, and pax-utils
Scott Garman [Wed, 5 Jan 2011 17:51:36 +0000 (09:51 -0800)]
distro_tracking_fields.inc: update apmd, blktool, dbus-glib, libgdbus, and pax-utils

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agodbus-glib: upgrade to version 0.92
Scott Garman [Tue, 4 Jan 2011 23:27:17 +0000 (15:27 -0800)]
dbus-glib: upgrade to version 0.92

Includes some minor recipe formatting changes.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agodbus-glib: delete unused patch
Scott Garman [Tue, 4 Jan 2011 23:26:03 +0000 (15:26 -0800)]
dbus-glib: delete unused patch

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agolibgdbus_git: metadata fixes and minor formatting changes
Scott Garman [Tue, 4 Jan 2011 22:37:23 +0000 (14:37 -0800)]
libgdbus_git: metadata fixes and minor formatting changes

* Added DESCRIPTION, SECTION, PRIORITY, and PR fields
* Updated SUMMARY and HOMEPAGE fields to reflect more accurate info

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoblktool: minor formatting changes
Scott Garman [Tue, 4 Jan 2011 22:12:08 +0000 (14:12 -0800)]
blktool: minor formatting changes

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoapmd: added HOMEPAGE, minor formatting changes
Scott Garman [Tue, 4 Jan 2011 22:08:47 +0000 (14:08 -0800)]
apmd: added HOMEPAGE, minor formatting changes

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoapmd: delete unused patch
Scott Garman [Wed, 5 Jan 2011 17:52:59 +0000 (09:52 -0800)]
apmd: delete unused patch

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agopax-utils: upgrade to version 2.2.2
Scott Garman [Fri, 17 Dec 2010 05:17:31 +0000 (21:17 -0800)]
pax-utils: upgrade to version 2.2.2

* Upgrade to latest upstream release
* Minor cosmetic recipe changes

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agobinutils: use default ${CC} instead of defining it own
Kevin Tian [Wed, 5 Jan 2011 02:18:21 +0000 (10:18 +0800)]
binutils: use default ${CC} instead of defining it own

binutils.inc exports its own ${CC} which is similar to default ${CC}
but missing ${TOOLCHAIN_OPTION}, which makes --sysroot option lost
when compiling target binutils which then further breaks sstate.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agokernelshark: add ftrace gui viewer
Darren Hart [Wed, 29 Dec 2010 01:10:22 +0000 (17:10 -0800)]
kernelshark: add ftrace gui viewer

The trace-cmd source includes a graphical trace viewer, but we
don't want to make the trace-cmd recipe depend on gtk+. This
patch adds a second recipe in the meta/recipes-kernel/trace-cmd
directory which uses the trace-cmd SRCREV and RDEPENDS on trace-cmd
to ensure compatibility.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
CC: Saul Wold <sgw@linux.intel.com>
14 years agoglib-2.0: fix g_once_init_enter compile failure
Darren Hart [Wed, 29 Dec 2010 18:10:15 +0000 (10:10 -0800)]
glib-2.0: fix g_once_init_enter compile failure

Kernelshark trips over a compile bug in glib-2.0 addressed by Open Embedded
back in the 2.22 timeframe. It appears to still be present in 2.27.

http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg00529.html

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
14 years agotrace-cmd: license file updates
Darren Hart [Mon, 3 Jan 2011 17:39:23 +0000 (09:39 -0800)]
trace-cmd: license file updates

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agotrace-cmd: fix cross-compilation
Darren Hart [Wed, 29 Dec 2010 01:17:25 +0000 (17:17 -0800)]
trace-cmd: fix cross-compilation

The trace-cmd Makefile forces certain variables, such as CC and AR.
It was using the host gcc and loader, fix it to use the poky-built
cross-compiler and linker.

inherit pkgconfig to ensure we don't use the host pkg-config.

Remove unecessary variables from the oemake commands, such as ARCH
and LD which aren't used by the Makefile.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
14 years agodistro_tracking_fields.inc: update for lastest package updates
Dexuan Cui [Wed, 5 Jan 2011 12:48:51 +0000 (20:48 +0800)]
distro_tracking_fields.inc: update for lastest package updates

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agopreferred-xorg-versions.inc: updated for lastest package updates
Dexuan Cui [Wed, 5 Jan 2011 12:47:42 +0000 (20:47 +0800)]
preferred-xorg-versions.inc: updated for lastest package updates

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolibrsvg: upgrade from 2.32.0 to 2.32.1
Dexuan Cui [Wed, 5 Jan 2011 12:18:45 +0000 (20:18 +0800)]
librsvg: upgrade from 2.32.0 to 2.32.1

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolibxxf86misc: upgrade from 1.0.2 to 1.0.3
Dexuan Cui [Wed, 5 Jan 2011 12:17:30 +0000 (20:17 +0800)]
libxxf86misc: upgrade from 1.0.2 to 1.0.3

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolibdmx: upgrade from 1.1.0 to 1.1.1
Dexuan Cui [Wed, 5 Jan 2011 12:16:46 +0000 (20:16 +0800)]
libdmx: upgrade from 1.1.0 to 1.1.1

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agopixman: upgrade from 0.20.0 to 0.21.2
Dexuan Cui [Wed, 5 Jan 2011 12:15:58 +0000 (20:15 +0800)]
pixman: upgrade from 0.20.0 to 0.21.2

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoscrnsaverproto: upgrade from 1.2.0 to 1.2.1
Dexuan Cui [Wed, 5 Jan 2011 12:14:49 +0000 (20:14 +0800)]
scrnsaverproto: upgrade from 1.2.0 to 1.2.1

Add "--enable-specs=no" to disable doc generation -- I doubt we really need
it, and it doesn't work well due to

SEVERE: Error with opening URL 'http://docbook.sourceforge.net/release/images/draft.png'.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoresourceproto: upgrade from 1.1.0 to 1.1.1
Dexuan Cui [Wed, 5 Jan 2011 12:13:29 +0000 (20:13 +0800)]
resourceproto: upgrade from 1.1.0 to 1.1.1

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agocompositeproto: upgrade from 0.4 to 0.4.2
Dexuan Cui [Wed, 5 Jan 2011 12:12:45 +0000 (20:12 +0800)]
compositeproto: upgrade from 0.4 to 0.4.2

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoxproto: upgrade from 7.0.19 to 7.0.20
Dexuan Cui [Wed, 5 Jan 2011 12:12:10 +0000 (20:12 +0800)]
xproto: upgrade from 7.0.19 to 7.0.20

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoinputproto: upgrade from 2.0 to 2.0.1
Dexuan Cui [Wed, 5 Jan 2011 12:10:52 +0000 (20:10 +0800)]
inputproto: upgrade from 2.0 to 2.0.1

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agorenderproto: upgrade from 0.11 to the latest version 0.11.1
Dexuan Cui [Wed, 5 Jan 2011 12:09:04 +0000 (20:09 +0800)]
renderproto: upgrade from 0.11 to the latest version 0.11.1

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agomatchbox-wm-2: Upgrade to svn r2106
Zhai Edwin [Fri, 31 Dec 2010 08:36:14 +0000 (16:36 +0800)]
matchbox-wm-2: Upgrade to svn r2106

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agometacity: Upgrade to 2.30.3
Zhai Edwin [Thu, 30 Dec 2010 13:04:22 +0000 (21:04 +0800)]
metacity: Upgrade to 2.30.3

Revised one patch from openembed to make host native binary for build.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agolibcanberra: Upgrade to 0.26
Zhai Edwin [Fri, 31 Dec 2010 01:18:30 +0000 (09:18 +0800)]
libcanberra: Upgrade to 0.26

Remove nofallbackfix.patch it as already in upstream. Remove
autoconf_version.patch as already have new version of autoconf and no inbuild
libltdl now.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoxvinfo: Upgrade to 1.1.1
Zhai Edwin [Thu, 30 Dec 2010 12:44:52 +0000 (20:44 +0800)]
xvinfo: Upgrade to 1.1.1

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agobeecrypt: Update to 4.2.1
Zhai Edwin [Fri, 26 Nov 2010 08:57:55 +0000 (16:57 +0800)]
beecrypt: Update to 4.2.1

Rebased disable-icu-check.patch & fix-security.patch. Removed x64fix.patch as
it is already in upstream. Also some configure changes: removing "--with-arch"
as it can't cowork with expert mode, adding "--disable-openmp" to avoid
unnecessary dependency.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agorootfs_rpm: fix rootfs generation rm error
Darren Hart [Thu, 6 Jan 2011 00:45:56 +0000 (16:45 -0800)]
rootfs_rpm: fix rootfs generation rm error

During a poky-image-minimal build I ran into the following error:
rm: cannot remove `/vol/1/dvhart/poky.git/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs/install': Is a directory

This is caused by a missing -r (recursive) argument to rm. This patch
adds that to the rm command of rootfs_rpm.bbclass.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agorootfs_rpm.bbclass: Remove temporary work files in install directory, saving the...
Richard Purdie [Wed, 5 Jan 2011 18:56:47 +0000 (18:56 +0000)]
rootfs_rpm.bbclass: Remove temporary work files in install directory, saving the manifests as logfiles into ${T}

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake: build.py: Logging of None was losing the logs so force this to stdout so...
Richard Purdie [Wed, 5 Jan 2011 18:55:38 +0000 (18:55 +0000)]
bitbake: build.py: Logging of None was losing the logs so force this to stdout so we can see function execution failures

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoscripts/bitbake: Skip building pseudo if necessary.
Lianhao Lu [Wed, 5 Jan 2011 10:13:53 +0000 (18:13 +0800)]
scripts/bitbake: Skip building pseudo if necessary.

Fixed [BUGID# 625]. Skip building pseudo if necessary by parsing the
options to bitbake.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agousbutils: Don't install the uncompressed version of usb.ids, the compressed version...
Richard Purdie [Wed, 5 Jan 2011 13:35:03 +0000 (13:35 +0000)]
usbutils: Don't install the uncompressed version of usb.ids, the compressed version will suffice

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopciutils: Don't install the uncompressed version of pci.ids, the compressed version...
Richard Purdie [Wed, 5 Jan 2011 13:34:49 +0000 (13:34 +0000)]
pciutils: Don't install the uncompressed version of pci.ids, the compressed version will suffice

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake: Misc syncups with bitbake upstream, mostly whitespace and a missed line...
Richard Purdie [Wed, 5 Jan 2011 11:24:14 +0000 (11:24 +0000)]
bitbake: Misc syncups with bitbake upstream, mostly whitespace and a missed line from the last UI commit

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoResurrect alternative UIs
Bob Foerster [Fri, 17 Dec 2010 15:20:39 +0000 (23:20 +0800)]
Resurrect alternative UIs

The various alternative UIs have been updated to once again be functional
with the latest bitbake internals.  Each of the UIs still have much room for
functional improvement.

In particular, they have been updated to:
 - interact with the new process based server
 - handle the current set of events and notifications fired from the server
   and its associated subsystems

(Bitbake rev: b947e7aa405966262c0614cae02e7978ec637095)

Signed-off-by: Bob Foerster <robert@erafx.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake: build.py logging updates
Richard Purdie [Wed, 5 Jan 2011 00:54:16 +0000 (00:54 +0000)]
bitbake: build.py logging updates

python tasks calling shell functions using exec_func() would show the log
file as /dev/null. It makes most sense for all the task logging to be setup
centrally by exec_task(), at least with the current code base in Poky.

This commit will need discussion in relation to upstream bitbake and the
IO redirection could be better handled using a context manager (although
task contexts shouldn't ever nest).

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake: Fix process.py to accept None as the log option
Richard Purdie [Wed, 5 Jan 2011 00:49:57 +0000 (00:49 +0000)]
bitbake: Fix process.py to accept None as the log option

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoUpdate persist_data usage to the new API
Chris Larson [Fri, 17 Dec 2010 18:53:54 +0000 (11:53 -0700)]
Update persist_data usage to the new API

(Bitbake rev: 9723a1c474b72b096c5a3136bf446ed69f3a749e)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopersist_data: resurrect the lock wait for selects
Chris Larson [Thu, 23 Dec 2010 17:36:39 +0000 (10:36 -0700)]
persist_data: resurrect the lock wait for selects

Think this got inadvertantly dropped when switching to the new API.

(Bitbake rev: 628c5159d1151b89f2b7210c8819489e8dc9a84d)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoRework the persist_data API
Chris Larson [Wed, 22 Sep 2010 01:11:54 +0000 (18:11 -0700)]
Rework the persist_data API

Rather than having to run .addDomain() and then .getValue(domain, key),
.setValue(domain, key), etc, now it just works as mappings.

As an example:

    setValue(domain, key) -> persist[domain][key] = value

It also arranges things so we can construct objects of this type using any
arbitrary filename/path for the sqlite3 database, rather than being so
tightly bound to the metadata.

(Bitbake rev: d9e8b8af308ae871efdc8ef0782be30af8c1f894)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoRevert "persist_data: cache connection and use cursor"
Chris Larson [Fri, 19 Nov 2010 02:51:51 +0000 (19:51 -0700)]
Revert "persist_data: cache connection and use cursor"

Caching the database connection can cause serious issues if it results in
multiple processes (e.g. multiple tasks) simultaneously using the same
connection.

This reverts commit 8a6876752b90efd81d92f0947bfc9527d8260969.

(Bitbake rev: 60b9b18eafad5ac46c7cf1048d749d673c2ee0ad)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>