]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agocodeparser: fix spacing in diagnostic messages
Bernhard Reutner-Fischer [Tue, 11 Jan 2011 18:21:55 +0000 (19:21 +0100)]
codeparser: fix spacing in diagnostic messages

(Bitbake rev: 8c5555f5ed6d61db57de80d2820c8cec64a27239)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/knotty.py: Ensure task note messages are only surpressed at default log levels
Richard Purdie [Wed, 12 Jan 2011 13:45:39 +0000 (13:45 +0000)]
bitbake/knotty.py: Ensure task note messages are only surpressed at default log levels

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoAdding check for DL_DIR permissions: sanity.bbclass
Beth Flanagan [Wed, 5 Jan 2011 01:22:45 +0000 (17:22 -0800)]
Adding check for DL_DIR permissions: sanity.bbclass

Check to ensure that DL_DIR is set and that if it exists that it
is user writeable.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
14 years agobitbake/goggle: don't drop events
Joshua Lock [Tue, 11 Jan 2011 14:23:24 +0000 (14:23 +0000)]
bitbake/goggle: don't drop events

We had a logic inversion that meant we where dropping quite a
significant number of events on the floor.... Fixed!

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobitbake/depexp: closing progress dialog kills gui
Joshua Lock [Mon, 10 Jan 2011 14:45:07 +0000 (14:45 +0000)]
bitbake/depexp: closing progress dialog kills gui

It seems safe to assume a user hitting the close button
on the dialog wants to kill the whole UI.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobitbake/goggle: closing the progress dialog kills the UI
Joshua Lock [Mon, 10 Jan 2011 14:37:03 +0000 (14:37 +0000)]
bitbake/goggle: closing the progress dialog kills the UI

It's unlikely that someone wants to close the progress dialog
yet leave the UI (and BitBake process) running, so hook up
the progress dialogs delete-event to exit gtk.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobitbake/uievent: fix queueing of events for xmlrpc before UI has loaded
Joshua Lock [Wed, 5 Jan 2011 19:23:46 +0000 (19:23 +0000)]
bitbake/uievent: fix queueing of events for xmlrpc before UI has loaded

The recent change to Queue up events before the UI is spawned (in
26eda933379801ef1c8b4b09e67d14f498cd3813) broke the xmlrpc server because the
uievent implementation of BBUIEventQueue expects pickled strings for its
queue_event() method.

This is because the RPC exposed event.send() method must accept pickled
strings, but for xmlrpc event.send() is just mapped to queue_event().

Work around this by adding a send_event method which unpickles strings and
hands them off to queue_event() which can then be used for the remapping.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agometa-environment: Remove c++ include dir from CXXFLAGS.
Lianhao Lu [Wed, 12 Jan 2011 02:05:18 +0000 (10:05 +0800)]
meta-environment: Remove c++ include dir from CXXFLAGS.

[BUGID #651]. c++ include dir is no longer needed in the environment
files due to commit f13cb20.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agowpa-supplicant 0.7.3: fix dbus service activation
Koen Kooi [Sat, 8 Jan 2011 10:17:50 +0000 (11:17 +0100)]
wpa-supplicant 0.7.3: fix dbus service activation

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agowpa-supplicant 0.7: fix GNU HASH QA issue
Koen Kooi [Fri, 7 Jan 2011 16:36:04 +0000 (17:36 +0100)]
wpa-supplicant 0.7: fix GNU HASH QA issue

The recipe was unsetting LDFLAGS, resulting in:

NOTE: QA Issue: No GNU_HASH in the elf binary: '/OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/wpa-supplicant-0.7.3-r0/packages-split/wpa-supplicant/usr/sbin/wpa_supplicant'

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agobbvars.py: add a script to look for undocumented variables
Darren Hart [Tue, 11 Jan 2011 23:29:58 +0000 (15:29 -0800)]
bbvars.py: add a script to look for undocumented variables

bbvars.py will compare recipes in meta directories with documentation files
and report on variables that don't appear to be documented. It reports the
number of times a variable is used as well as any doctags present in the
documentation config file.

The output of this is intended to aid in determining where documentation may
be lacking, but it is not perfect, and does generate some false positives. An
experienced eye and careful attention to count and doctag should be applied to
the results.

$ ./bbvars.py -d ../../documentation/poky-ref-manual/poky-ref-manual.html -m ../../meta -t ../../meta/conf/documentation.conf -T  | head -n 10
Found 1413 undocumented bb variables (out of 1578):
VARIABLE                              COUNT DOCTAG
===================================================
BUILD_ARCH                            4     The name of the building architecture. E.g. i686.
BUILD_CC_ARCH                         2     FIXME
BUILD_PREFIX                          4     FIXME
BUILD_SYS                             13    FIXME
BUILD_VENDOR                          2     FIXME
CACHE                                 1     The directory holding the cache of the metadata.
COMPATIBLE_HOST                       19    A regular expression which matches the HOST_SYS names supported by the package/file. Failure to match will cause the file to be skipped by the parser.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoadt-intaller feature implementation, including the bitbake recipe file for creating...
Liping Ke [Tue, 4 Jan 2011 07:21:40 +0000 (23:21 -0800)]
adt-intaller feature implementation, including the bitbake recipe file for creating the intaller tar file under /tmp/deploy/sdk, and the adt-installer script files and config files, set the reference to adt repo entry empty before it's setup

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
14 years agolinux-yocto: add routerstation pro and mpc8315e-rdb support
Bruce Ashfield [Tue, 11 Jan 2011 18:08:29 +0000 (13:08 -0500)]
linux-yocto: add routerstation pro and mpc8315e-rdb support

The routerstation pro and mpc8315e-rdb have been validated
on 2.6.37 so we can switch their preference to linux-yocto
and update the machine compatibility to add them to the support
list.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agotrace-cmd: Bump SRCREV and recipe PV and PR values.
Darren Hart [Tue, 11 Jan 2011 20:38:11 +0000 (12:38 -0800)]
trace-cmd: Bump SRCREV and recipe PV and PR values.

Upgrade to 6c696cec3f264a9399241b6e648f58bc97117d49 which
includes fixes to the Makefile to allow for user override of
CC and AR via the environment as well as python SWIG wrapper
fixes.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
14 years agolibxml-simple-perl: fix build failure with perl 5.12.2
Nitin A Kamble [Wed, 5 Jan 2011 18:14:18 +0000 (10:14 -0800)]
libxml-simple-perl: fix build failure with perl 5.12.2

for hostperl needing to load .so files (for module scalar::util) the host/native
perl library path is placed 1st in the @INC with the -I parameter to perl.
  Otherwise hostperl gives error can not load module scalar::util.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agocpan.bbclass: add a new parameter EXTRA_PERLFLAGS
Nitin A Kamble [Wed, 5 Jan 2011 18:03:27 +0000 (10:03 -0800)]
cpan.bbclass: add a new parameter EXTRA_PERLFLAGS

We use host perl while building target perl modules. When some of the
prebuilt perl modules such as scalar::util are used in the build process
directly or indirectly, perl needs to load the arch specific .so library
file. If perl can not find the .so library files, then perl
tries to use the target pm files which ends up in circular perl module
depedancy causing build time perl invocation to fail.

Adding this new parameter viz EXTRA_PERLFLAGS to cpan.bbclass allows perl
module recipes to specify the location of such host .so files for hostperl,
so that build time invocation of perl does not fail.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agocpan.bbclass: use LIBDIR instead of DATADIR
Nitin A Kamble [Thu, 30 Dec 2010 20:27:54 +0000 (12:27 -0800)]
cpan.bbclass: use LIBDIR instead of DATADIR

perl 5.12.2 does not use /usr/share/perl path, and all that stuff goes
in /usr/lib/perl. This commit fixes cpan class which depends on
/usr/share/perl.

cpan.base/build.bbclass: change /usr/lib/perl5 to /usr/lib/perl

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoperl, perl-native: upgrade from 5.8.8 to 5.12.2
Nitin A Kamble [Wed, 22 Dec 2010 17:26:07 +0000 (09:26 -0800)]
perl, perl-native: upgrade from 5.8.8 to 5.12.2

Deleted these patches as they are part of the upstream code now.
    deleted:    files/perl-5.8.8-gcc-4.2.patch
    deleted:    perl-5.12.2/makedepend-dash.patch
    deleted:    perl-5.12.2/native-no-gdbminc.patch
    deleted:    perl-5.12.2/54_debian_perldoc-r.patch

And rebased these patches to the newer source code
    modified:   files/letgcc-find-errno.patch
    modified:   perl-5.12.2/Makefile.patch
    modified:   perl-5.12.2/asm-pageh-fix.patch
    modified:   perl-5.12.2/native-nopacklist.patch
    modified:   perl-5.12.2/native-perlinc.patch
    modified:   perl-5.12.2/Makefile.SH.patch
    modified:   perl-5.12.2/installperl.patch
    modified:   perl-5.12.2/perl-dynloader.patch
    modified:   perl-5.12.2/09_fix_installperl.patch

get patches from debian perl ver 5.12.2-2
   the fakeroot.diff patch from debian is conflicting with our
   Makefile.SH.patch, hence disabling the fakeroot patch

use newly created config files
   Created with current milestone branch on qemu machines
      modified:   config.sh
      modified:   config.sh-32
      modified:   config.sh-64

get some changes from oe's perl 5.10.1 recipe
   fix the Makefile.SH.patch use miniperl instead of perl
   import a OE 5.10.1 patch: uudmap_cross

fix install issues
   add /usr in the destdir, so that perl gets installed in
   /usr/bin/perl and not in /bin/perl

   link /usr/lib/perl to /usr/lib/perl5 so that operations with
   /usr/lib/perl path in them keep on working.

Fix/Improve perl packaging
   avoid perl-module-module-* kind of packages
   recreate perl-rdepends_5.12.2.inc file with new set of packages
   import from oe perl-rprovide_5.12.2.inc
   combine all unicore perl scripts in one package
   simplify perl-lib
   reduce no of perl recipe packages greatly.

Add zlib to depedancy

fix buildtime host contamination

This also fixes [BUGID #384]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agopuzzles: update SRC_URI Checksum due to file changing upstream
Saul Wold [Fri, 7 Jan 2011 00:03:48 +0000 (16:03 -0800)]
puzzles: update SRC_URI Checksum due to file changing upstream

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agorunqueue.py: Renable check_stamp_fn() for now since we still fork for task execution...
Richard Purdie [Mon, 10 Jan 2011 22:36:23 +0000 (22:36 +0000)]
runqueue.py: Renable check_stamp_fn() for now since we still fork for task execution (as per bitbake-upstream)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue.py: Simplify hashdata storage since we're not using an external...
Richard Purdie [Mon, 10 Jan 2011 22:32:46 +0000 (22:32 +0000)]
bitbake/runqueue.py: Simplify hashdata storage since we're not using an external script for tasks anymore, in line with bitbake-upstream

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agomsg: no need to hardcode the logging levels
Chris Larson [Mon, 10 Jan 2011 19:30:05 +0000 (12:30 -0700)]
msg: no need to hardcode the logging levels

(Bitbake rev: 8385bfb7da3a3b71f340a787d7f1502ba61c5b81)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agovim: properly highlight python inside of ${@}
Chris Larson [Mon, 10 Jan 2011 19:00:41 +0000 (12:00 -0700)]
vim: properly highlight python inside of ${@}

(Bitbake rev: 4210eb0b783bf9bbdf80b6c6806f66f3e6ec1e77)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agovim: handle highlighting exports without assignment
Chris Larson [Mon, 10 Jan 2011 19:00:09 +0000 (12:00 -0700)]
vim: handle highlighting exports without assignment

(Bitbake rev: f36354a1bfd3f92979c5ad61a1e5d796f8246f60)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agovim: add an ftplugin for indentation settings
Chris Larson [Mon, 10 Jan 2011 18:57:59 +0000 (11:57 -0700)]
vim: add an ftplugin for indentation settings

(Bitbake rev: 29ce70ac857a155b27f1909286bc3a0f7429bea0)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoInject taskpid into log records via our log handler
Chris Larson [Mon, 10 Jan 2011 16:20:50 +0000 (09:20 -0700)]
Inject taskpid into log records via our log handler

It turns out that while log filters added with addFilter are only associated
with that logger, and not its children, handlers are inherited, and handlers
can be filters.   So, let's add filtering to our existing LogHandler class
which dispatches our log records as bitbake events.

(Bitbake rev: 0153ace246e7c88366f45c8f035a2b4505a1c115)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue.py: Fix del_stamp calls and -f option to bitbake with the BasicHash...
Richard Purdie [Mon, 10 Jan 2011 21:59:34 +0000 (21:59 +0000)]
bitbake/runqueue.py: Fix del_stamp calls and -f option to bitbake with the BasicHash siggen code

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoMerge branch 'srifenbark/docs' of ssh://git.pokylinux.org/poky-contrib
Richard Purdie [Mon, 10 Jan 2011 21:09:33 +0000 (21:09 +0000)]
Merge branch 'srifenbark/docs' of ssh://git.pokylinux.org/poky-contrib

14 years agolinux-yocto: update to 2.6.37
Bruce Ashfield [Mon, 10 Jan 2011 17:10:37 +0000 (12:10 -0500)]
linux-yocto: update to 2.6.37

Fixes [BUGID: 620]

Update the SRCREVs to include the full 2.6.37 release plus the
forward port of the alternate RPC port patch. With this fix,
we can complete usermode NFS booting of all the qemu* targets.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agokern-tools: create generic variables for platform/board/kernel
Bruce Ashfield [Wed, 5 Jan 2011 16:02:35 +0000 (11:02 -0500)]
kern-tools: create generic variables for platform/board/kernel

Update the SRCREV to pickup changes to update the use of
WRS_* to be K* to provide more generic names for the
platform/board/kernel configuration options.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto: update SRCREV to pickup debug/ftrace config changes
Bruce Ashfield [Tue, 4 Jan 2011 21:39:03 +0000 (16:39 -0500)]
linux-yocto: update SRCREV to pickup debug/ftrace config changes

Updating to reflect the changes from Darren Hart:

[
    linux-yocto-2.6.37: Add debugfs and ftrace features to standard ktype meta-data

    ftrace provides low impact tracing facilities and should be made
    available on the main kernel - as opposed to a debug or tracing
    kernel which often add enough overhead to mask subtle bugs.

    These features are available on the 2.6.34 yocto kernel.

    Boot and trace-cmd tested on qemux86-64.

Signed-off-by: Darren Hart <darren@dvhart.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agorouterstation: disable command line overrides
Bruce Ashfield [Tue, 4 Jan 2011 19:47:46 +0000 (14:47 -0500)]
routerstation: disable command line overrides

Fixes [BUGID #581]

The initial routerstation pro BSP went out with with command line
overrides enabled. We'd need to be able to set the command line
from Redbot, so we should disable the forcing of the built in
variant.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agokernel-yocto: pass the build directory to configme
Bruce Ashfield [Tue, 4 Jan 2011 05:20:14 +0000 (00:20 -0500)]
kernel-yocto: pass the build directory to configme

configme used to be able to calculate the output/build directory
when branches were always <machine>-<kernel type>. Branch names
can now be widely different and to avoid embedding complexity
in the scripts it is easier to just pass ${B} from the build system
down to the scripts.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoFetcher: only set __BB_DONT_CACHE when SRCREV = "${AUTOREV}"
Yu Ke [Mon, 27 Dec 2010 08:20:34 +0000 (16:20 +0800)]
Fetcher: only set __BB_DONT_CACHE when SRCREV = "${AUTOREV}"

we should cache SRCREV whenever possible, the only exception is
when SREREV is auto rev. so change the logic to only set __BB_DONT_CACHE
at SRCREV = "${AUTOREV}" case

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoFetcher: break the "SRCREVINACTION" deadlock
Yu Ke [Mon, 27 Dec 2010 01:31:38 +0000 (09:31 +0800)]
Fetcher: break the "SRCREVINACTION" deadlock

Current fetcher has annoying "SRCREVINACTION" deadlock,
which occurs when SRCREV=${AUTOREV}=@bb.fetch.get_srcrev():
get_srcrev()->setup_localpath()->srcrev_internal_helper()
->evaluate SRCREV->get_srcrev()

current fetcher resolve the deadlock by introducing a
"SRCREVINACTION" condition check. Althoguh it works, it is
indeed not clean.

This patch use antoehr idea to break the deadlock: break
the dependency among SRCREV and get_srcrev(), i.e. assign
a specific keyword "AUTOINC" to AUTOREV. when Fetcher meet
this keyword, it will check and set the latest revision to
urldata.revision. get_srcrev later can use the urldata.revision
for value evaluation(SRCPV etc). In this case, SRCREV no longer
depends on get_srcrev, and there is not deadlock anymore.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobb.fetch2.bzr: add bzr urldata_init
Yu Ke [Mon, 27 Dec 2010 02:48:34 +0000 (10:48 +0800)]
bb.fetch2.bzr: add bzr urldata_init

move the bzr specific urldata init from localpath to urldata_init
so that it can be called early

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobb.fetch2.hg: add hg urldata_init
Yu Ke [Mon, 27 Dec 2010 02:35:19 +0000 (10:35 +0800)]
bb.fetch2.hg: add hg urldata_init

move the hg specific urldata init from localpath to urldata_init
so that it can be called early

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobb.fetch2.svn.py: add urldata_init
Yu Ke [Mon, 27 Dec 2010 02:07:04 +0000 (10:07 +0800)]
bb.fetch2.svn.py: add urldata_init

move the svn specific urldata init from localpath to urldata_init
so that it can be called early

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobb.fetch2.git.py: add git urldata_init
Yu Ke [Mon, 27 Dec 2010 01:50:25 +0000 (09:50 +0800)]
bb.fetch2.git.py: add git urldata_init

move the git specific urldata init from localpath to urldata_init
so that it can be called early

Signed-off-by: Yu Ke <ke.yu@intel.com>
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 agodocumentation/yocto-project-qs/yocto-project-qs.xml: Corrections to Using Pre-Built...
Scott Rifenbark [Thu, 6 Jan 2011 20:55:42 +0000 (12:55 -0800)]
documentation/yocto-project-qs/yocto-project-qs.xml:  Corrections to Using Pre-Built Binaries and QEMU section.

Made several small changes:

 - Added a period to three-bullet list for consistency
 - grammar fix to sentence
 - Added clarification for getting stuff from qemu URL
 - Fixed the forms for the image and the file system image

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/bsp-guide/bsp.xml: Commented out three sections.
Scott Rifenbark [Wed, 15 Dec 2010 22:31:39 +0000 (14:31 -0800)]
documentation/bsp-guide/bsp.xml:  Commented out three sections.

There are some sections now that don't correspond one-to-one with the
standard file structure presented in section 1.1.  So I am commenting them
out for now.  Since I am still in the process of iterating on this
manual I don't want to just delete the information.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
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>