summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* runqueue.py: Renable check_stamp_fn() for now since we still fork for task ↵Richard Purdie2011-01-101-14/+10
| | | | | | execution (as per bitbake-upstream) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/runqueue.py: Simplify hashdata storage since we're not using an ↵Richard Purdie2011-01-101-17/+14
| | | | | | external script for tasks anymore, in line with bitbake-upstream Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* msg: no need to hardcode the logging levelsChris Larson2011-01-101-2/+2
| | | | | | | (Bitbake rev: 8385bfb7da3a3b71f340a787d7f1502ba61c5b81) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: properly highlight python inside of ${@}Chris Larson2011-01-101-10/+9
| | | | | | | (Bitbake rev: 4210eb0b783bf9bbdf80b6c6806f66f3e6ec1e77) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: handle highlighting exports without assignmentChris Larson2011-01-101-0/+2
| | | | | | | (Bitbake rev: f36354a1bfd3f92979c5ad61a1e5d796f8246f60) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: add an ftplugin for indentation settingsChris Larson2011-01-101-0/+1
| | | | | | | (Bitbake rev: 29ce70ac857a155b27f1909286bc3a0f7429bea0) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Inject taskpid into log records via our log handlerChris Larson2011-01-102-8/+4
| | | | | | | | | | | | 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>
* bitbake/runqueue.py: Fix del_stamp calls and -f option to bitbake with the ↵Richard Purdie2011-01-101-5/+6
| | | | | | BasicHash siggen code Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Merge branch 'srifenbark/docs' of ssh://git.pokylinux.org/poky-contribRichard Purdie2011-01-102-5/+12
|\
| * documentation/yocto-project-qs/yocto-project-qs.xml: Corrections to Using ↵Scott Rifenbark2011-01-061-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * documentation/bsp-guide/bsp.xml: Commented out three sections.Scott Rifenbark2011-01-061-1/+1
| | | | | | | | | | | | | | | | | | 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>
* | linux-yocto: update to 2.6.37Bruce Ashfield2011-01-101-11/+11
| | | | | | | | | | | | | | | | | | | | 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>
* | kern-tools: create generic variables for platform/board/kernelBruce Ashfield2011-01-101-2/+2
| | | | | | | | | | | | | | | | 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>
* | linux-yocto: update SRCREV to pickup debug/ftrace config changesBruce Ashfield2011-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | routerstation: disable command line overridesBruce Ashfield2011-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* | kernel-yocto: pass the build directory to configmeBruce Ashfield2011-01-102-2/+2
| | | | | | | | | | | | | | | | | | | | 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>
* | Fetcher: only set __BB_DONT_CACHE when SRCREV = "${AUTOREV}"Yu Ke2011-01-101-3/+3
| | | | | | | | | | | | | | | | 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>
* | Fetcher: break the "SRCREVINACTION" deadlockYu Ke2011-01-107-54/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | bb.fetch2.bzr: add bzr urldata_initYu Ke2011-01-101-2/+5
| | | | | | | | | | | | | | 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>
* | bb.fetch2.hg: add hg urldata_initYu Ke2011-01-101-5/+9
| | | | | | | | | | | | | | 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>
* | bb.fetch2.svn.py: add urldata_initYu Ke2011-01-101-1/+5
| | | | | | | | | | | | | | 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>
* | bb.fetch2.git.py: add git urldata_initYu Ke2011-01-101-4/+9
| | | | | | | | | | | | | | 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>
* | bb.fetch2: add urldata_init call for Fetch classYu Ke2011-01-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* | BBHandler: remove bb.fetch referrenceYu Ke2011-01-101-1/+1
| | | | | | | | | | | | BBHandler.py no longer use bb.fetch, so remove its import statement Signed-off-by: Yu Ke <ke.yu@intel.com>
* | machines: move PACKAGE_EXTRA_ARCHS to tune filesKoen Kooi2011-01-1041-29/+38
| | | | | | | | | | | | | | | | 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>
* | bitbake: For poky only, force the use of fetch2 codebaseRichard Purdie2011-01-101-1/+1
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake: Switch to fetch2 fetcher code based on the environment variable ↵Richard Purdie2011-01-101-0/+3
| | | | | | | | | | | | BBFETCH2 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bb.fetch2: replace bb.fetch with bb.fetch2 in the bb.fetchYu Ke2011-01-1013-44/+44
| | | | | | | | | | | | | | | | 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>
* | bitbake/fetch/git: Add backwards compatibility code for branch name handlingRichard Purdie2011-01-101-2/+80
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake: copy bb.fetch to bb.fetch2 as initial code base for fetcher overhaulYu Ke2011-01-1013-0/+2636
| | | | | | | | | | Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/poky.conf: Add TARGET_LINK_HASH_STYLE option to TARGET_LDFLAGS as ↵Richard Purdie2011-01-102-1/+4
| | | | | | | | | | | | per OE.dev Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/codeparser: Fix import to match upstream bitbakeRichard Purdie2011-01-101-1/+2
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | utils: show the actual exception in better_execChris Larson2011-01-101-6/+4
| | | | | | | | | | | | | | (Bitbake rev: a148e6a63c842ac586ac1dddbd9008f93cdea297) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | runqueue.py: Drop unneeded import and improve quieterrors handling as per ↵Richard Purdie2011-01-101-3/+5
| | | | | | | | | | | | upstream bitbake Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake: Update event queue handling to match upstream bitbakeRichard Purdie2011-01-102-6/+3
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/runqueue.py: Sync with changes in upstream bitbakeRichard Purdie2011-01-101-90/+80
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/fetch: Sync up logger/whitespace improvementsRichard Purdie2011-01-101-10/+13
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/utils.py: Drop unused function extend_deps()Richard Purdie2011-01-101-11/+0
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake: Sync environment handling function names and comments with upstream ↵Richard Purdie2011-01-102-13/+13
| | | | | | | | | | | | alterations Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | parse: pass filename, lineno into the astChris Larson2011-01-103-60/+68
| | | | | | | | | | | | | | | | | | | | | | 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>
* | cache: don't expand variables for skipped recipesChris Larson2011-01-101-10/+13
| | | | | | | | | | | | | | | | | | | | | | 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>
* | bitbake/knotty.py: Don't show log messages of NOTE and below for task processesRichard Purdie2011-01-081-3/+3
| | | | | | | | | | | | | | 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>
* | bitbake/__init__.py: Add taskpid to all LogRecords (subclassed to be ↵Richard Purdie2011-01-081-0/+8
| | | | | | | | | | | | | | | | BBLogRecords) This allows us to identify which task messages are from. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/msg.py: Add named definitions for all logging levelsRichard Purdie2011-01-081-6/+11
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | xserver-xf86-common: Remove COMPATIBLE_HOST as it was wrong solutionSaul Wold2011-01-071-1/+0
| | | | | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | insane.bbclass: Enable the package_qa_hash_style checkRichard Purdie2011-01-071-2/+2
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/runqueue.py: Remove duplicate TaskStarted event fire()Richard Purdie2011-01-071-2/+0
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | xvinfo: Fix LIC_FILES_CHKSUMRichard Purdie2011-01-071-1/+1
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | libcanberra: Fix LIC_FILES_CHKSUMRichard Purdie2011-01-071-1/+1
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/build.py: Fix del_stamp work correctly after recent stamp function ↵Richard Purdie2011-01-071-1/+1
| | | | | | | | | | | | changes Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>