summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* usermanual.xml: Add documentation on bblayers.confRichard Purdie2010-03-251-1/+3
| | | | | | (Bitbake rev: 879229d12c2830dba9e0cb794e61e3c698b8dcc7) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Expand PREMIRRORSEnrico Scholz2010-03-251-1/+1
| | | | | | | | | | | | When not expanding PREMIRRORS, the functions fails/does not work correctly when PREMIRRORS is not a plain string (e.g. contains ${...} or a ${@...} statements). (Bitbake rev: d612d22b073f68b8cf1bb7344e0487820040d80d) Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* utils: improve wording of error messageBernhard Reutner-Fischer2010-03-251-1/+1
| | | | | | | | (Bitbake rev: b2486ec57c6a7adf09d0960fdf6727881b324d2f) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bootimg.bbclass: Fix dependency nameRichard Purdie2010-03-251-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* parted: Add BBCLASSEXTEND nativeRichard Purdie2010-03-251-1/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bootimg/boot-directdisk.bbclass: Update afer syslinux changes, fix mbr.bin ↵Richard Purdie2010-03-252-8/+8
| | | | | | location and fix dependencies Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* syslinux: Convert to BBCLASSEXTEND, clean up recipe and staging functionRichard Purdie2010-03-252-43/+13
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scm-revisions: Always use ??= operatorRichard Purdie2010-03-253-178/+177
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* meta-openmoko: Add layer configurationRichard Purdie2010-03-253-37/+49
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* meta-moblin/layer.conf: Fix layer locationRichard Purdie2010-03-251-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* meta-extras: Add layer configurationRichard Purdie2010-03-254-8/+18
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky-image-minimal-directdisk: Add directdisk image exampleRichard Purdie2010-03-251-0/+16
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* boot-directdisk.bbclass: Add direct disk image creation classRichard Purdie2010-03-251-0/+92
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bootimg.bbclass: Improve documentationRichard Purdie2010-03-251-4/+18
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake: Gross hack to fix packaged-staging with BBCLASSEXTEND packagesRichard Purdie2010-03-231-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass: Revert accidental damageRichard Purdie2010-03-231-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass: Fix mkdir to actually create the destination directoryRichard Purdie2010-03-231-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* encdev-native: Convert to BBCLASSEXTENDRichard Purdie2010-03-234-6/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* yum: Update yum and createrepo to latest versionJoshua Lock2010-03-235-63/+34
| | | | | | | Also switch Yum to using BBCLASSEXTEND rather than having separate native and host recipes. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* .gitignore: ignore bblayers.confJoshua Lock2010-03-231-0/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* linux-nokia800_2.6.21: Remove legacy staging functionJoshua Lock2010-03-232-6/+7
| | | | | | | The recently added kernels for the N800 include legacy staging functions, update them to follow the new world order. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* u-boot: remove legacy stagingJoshua Lock2010-03-231-3/+3
| | | | | | A recent commit seems to have introduced a legacy staging function, remove it Signed-off-by: Joshua Lock <josh@linux.intel.com>
* fakechroot: Update to 2.9 and add a patch from DebianJoshua Lock2010-03-232-16/+11
| | | | | | | | This update includes a refresh of our existing readlink patch and a (trimmed) copy of the patch Debian are shipping in their package which includes unreleased fixes from SVN for building against more recent glibc. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* pseudo: Add recipeRichard Purdie2010-03-223-0/+105
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* layer.conf: Fix filename conflictRichard Purdie2010-03-224-2/+173
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Move default SCM versions into separate meta directory specific files to ↵Richard Purdie2010-03-226-302/+41
| | | | | | improve maintainability Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Switch to bblayers configurationRichard Purdie2010-03-225-11/+32
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/cooker.py: Add support for a bblayers.conf fileRichard Purdie2010-03-221-8/+25
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* utility-tasks.bbclass: Remove unneeded base_ prefix since we don't EXPORT ↵Richard Purdie2010-03-221-6/+6
| | | | | | these functions any longer Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/providers: Fix merge errorRichard Purdie2010-03-221-3/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cooker: bail out early if no files to buildBernhard Reutner-Fischer2010-03-221-1/+2
| | | | | | | | | | | | | | | | | | | This prevents a misleading backtrace: ERROR: no files to build. Command execution failed: Traceback (most recent call last): File ".../bitbake/build/lib/bb/command.py", line 83, in runAsyncCommand self.cooker.updateCache() File ".../bitbake/build/lib/bb/cooker.py", line 779, in updateCache if not self.parser.parse_next(): File ".../bitbake/build/lib/bb/cooker.py", line 969, in parse_next cooker.bb_cache.sync() UnboundLocalError: local variable 'cooker' referenced before assignment (Bitbake rev: 060ef3d957615b7eb1209dc0d01ebeb53f8c4edc) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Fix issues with BBCLASSEXTEND set by anonymous python, and rename some ↵Chris Larson2010-03-221-14/+16
| | | | | | | | | variables to improve code clarity (Bitbake rev: 3062e96181fe845cfd286990b0216888ddd3d228) Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Implement ??= operatorChris Larson2010-03-223-2/+19
| | | | | | | | | | | | | | | | | ??= is a lazy, conditional assignment. Whereas a ?= immediately assigns to the variable if the variable has not yet been set, ??= does not apply the default assignment until the end of the parse. As a result, the final ??= for a given variable is used, as opposed to the first as in ?=. Note that the initial implementation relies upon finalise() to apply the defaults, so a "bitbake -e" without specifying a recipe will not show the defaults as set by ??=. Moving application of the default into getVar adds too large a performance hit. We may want to revisit this later. (Bitbake rev: 74f50fbca194c9c72bd2a540f4b9de458cb08e2d) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Avoid unnecessary calls to keys() when iterating over dictionaries.Chris Larson2010-03-226-30/+21
| | | | | | | | | | | | | | | | | | dict objects provide an __iter__ method for the iteration which gives you the keys, so calling keys directly is unnecessary, and isn't really a best practice. The only time you really need to call the keys is if there's a danger of the dict changing out from underneith you, either due to external forces or due to modification of the iterable in the loop. Iterations over os.environ are apparently subject to such changes, so they must continue to use keys(). As an aside, also switches a couple spots to using sorted() rather than creating a temporary list with keys() and sorting that. (Bitbake rev: 5b6ccb16c6e71e23dac6920cd2df994d67c2587b) Signed-off-by: Chris Larson <clarson@mvista.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* knotty: tweak failure phraseBernhard Reutner-Fischer2010-03-221-1/+1
| | | | | | | | | | ..to make copy and paste of the logfile easier. (Bitbake rev: 446cc0cebd4daff7f849717f4cb89ac1b4c6b755) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Fix ud.basecmd error introduced by the FETCHCMD_git commitChris Larson2010-03-221-1/+2
| | | | | | | (Bitbake rev: 0bbcbe3548f39ca46c5aa3bf1a8681026e51cbf0) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Add initial 'repo' fetcherTom Rini2010-03-222-0/+108
| | | | | | | | (Bitbake rev: f68406e864c9837feb56cbec993b620481445cc2) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Re-getVar BBCLASSEXTEND after finalise()Chris Larson2010-03-221-3/+2
| | | | | | | | | | This ensures that an anonymous python function is able to manipulate the BBCLASSEXTEND contents, and, therefore, amend.inc files are able to add to it. (Bitbake rev: c7d038d404afaf4ce3735af5134163759da6f6ef) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Error early if BBPATH is unset, rather than falling back to share/bitbakeChris Larson2010-03-221-5/+1
| | | | | | | | | | Better to error as early as possible rather than experience strange behavior resulting from the use of the largely useless stock bitbake.conf/base.bbclass. (Bitbake rev: 641e6cf3ec3ab4d26929cf4d2a3704ff07eed4d6) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Kill unused projectdir in bb package.Chris Larson2010-03-221-12/+1
| | | | | | | (Bitbake rev: 79b93e6929c5feeb1ad05bd17f589c69f00b77f6) Signed-off-by: Chris Larson <clarson@mvista.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Fix msg usage in the moved utility functions.Chris Larson2010-03-221-15/+15
| | | | | | | (Bitbake rev: 686288444d22091dee66e20ec49b9c53f8c980b7) Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Move most utility functions from bb into bb.utils.Chris Larson2010-03-222-909/+764
| | | | | | | (Bitbake rev: ff720ec59b30671c951dbf3b96df10ef56b8b505) Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Move compat imports in the bb package to avoid circular dep issues.Chris Larson2010-03-221-5/+4
| | | | | | | (Bitbake rev: b66c129edc7d78fed9d41b0c634744ec81931b21) Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Move encodeurl, decodeurl into bb.fetch.Chris Larson2010-03-222-108/+95
| | | | | | | (Bitbake rev: 867d36f9afce2d298874ac7563e5b3852ef04659) Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Move MalformedUrl, VarExpandError into appropriate modules.Chris Larson2010-03-223-5/+9
| | | | | | | (Bitbake rev: e616483b237dafff7f90ba1c09e9ee7c383a2e47) Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Add FETCHCMD parameter for gitMartyn Welch2010-03-221-10/+13
| | | | | | | | | | | | | | | The Git fetcher currently hardwires the git command to "git". Allow the path and any additional wrappers to the Git command to be provided via FETCHCMD functionality, as with some of the other fetchers. If FETCHCMD_git is not define in bitbake.conf, the fetcher defaults to "git". (Bitbake rev: f3afb79ecac30d973a3c62ff6baf28d8b7388a24) Signed-off-by: Malcolm Crossley <malcolm.crossley@ge.com> Signed-off-by: Martyn Welch <martyn.welch@ge.com> Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sanity.bbclass: Add a note about using dpkg-reconfigureRichard Purdie2010-03-221-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Split up as per the patch in OE.dev by Chris Larson making ↵Richard Purdie2010-03-197-722/+740
| | | | | | code more readable and modularised Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Really drop siteinfo by defaultRichard Purdie2010-03-191-4/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Don't inherit siteinfo in base.bbclass [based on an OE patch ↵Richard Purdie2010-03-195-9/+11
| | | | from Chris Larson]