summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2010-03-22bitbake/providers: Fix merge errorRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22cooker: bail out early if no files to buildBernhard Reutner-Fischer1
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>
2010-03-22Fix issues with BBCLASSEXTEND set by anonymous python, and rename some ↵Chris Larson1
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>
2010-03-22Implement ??= operatorChris Larson3
??= 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>
2010-03-22Avoid unnecessary calls to keys() when iterating over dictionaries.Chris Larson6
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>
2010-03-22knotty: tweak failure phraseBernhard Reutner-Fischer1
..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>
2010-03-22Fix ud.basecmd error introduced by the FETCHCMD_git commitChris Larson1
(Bitbake rev: 0bbcbe3548f39ca46c5aa3bf1a8681026e51cbf0) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22Add initial 'repo' fetcherTom Rini2
(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>
2010-03-22Re-getVar BBCLASSEXTEND after finalise()Chris Larson1
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>
2010-03-22Error early if BBPATH is unset, rather than falling back to share/bitbakeChris Larson1
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>
2010-03-22Kill unused projectdir in bb package.Chris Larson1
(Bitbake rev: 79b93e6929c5feeb1ad05bd17f589c69f00b77f6) Signed-off-by: Chris Larson <clarson@mvista.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22Fix msg usage in the moved utility functions.Chris Larson1
(Bitbake rev: 686288444d22091dee66e20ec49b9c53f8c980b7) Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22Move most utility functions from bb into bb.utils.Chris Larson2
(Bitbake rev: ff720ec59b30671c951dbf3b96df10ef56b8b505) Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22Move compat imports in the bb package to avoid circular dep issues.Chris Larson1
(Bitbake rev: b66c129edc7d78fed9d41b0c634744ec81931b21) Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22Move encodeurl, decodeurl into bb.fetch.Chris Larson2
(Bitbake rev: 867d36f9afce2d298874ac7563e5b3852ef04659) Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22Move MalformedUrl, VarExpandError into appropriate modules.Chris Larson3
(Bitbake rev: e616483b237dafff7f90ba1c09e9ee7c383a2e47) Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22Add FETCHCMD parameter for gitMartyn Welch1
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>
2010-03-22sanity.bbclass: Add a note about using dpkg-reconfigureRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-19base.bbclass: Split up as per the patch in OE.dev by Chris Larson making ↵Richard Purdie7
code more readable and modularised Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-19base.bbclass: Really drop siteinfo by defaultRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-19base.bbclass: Don't inherit siteinfo in base.bbclass [based on an OE patch ↵Richard Purdie5
from Chris Larson]
2010-03-19.gitignore: Add handbook generated files to the ignore listRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-19xcmsdb: Add libxdmcp to DEPENDSJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-19claws-mail: Fix building with new automakeJoshua Lock2
Having the same file listed multiple times in Makefile.am breaks with new Autotools Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-19poky-fixed-revisions: Bump twitter-glib to a buildable versionJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-19poky-fixed-revisions: Align Clutter revisions with Moblin distroJoshua Lock1
Primarily to pull in a newer Clutter, which works fixes a build error, but new versions of software are nice anyway... Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-19clutter: Fix building version 0.8Joshua Lock2
Fix building of Clutter with new Automake Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-19syncevolution: Fix DEPENDSJoshua Lock1
Add eds-dbus and gnome-keyring Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-19libsynthesis: Fix DEPENDSJoshua Lock1
Add sqlite3 and zlib Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-19luit: add libxdmcp to DEPENDSJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-19libxscrnsaver: bump version to 1.2.0Joshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-19liblbxutil: Bump version and fix dependenciesJoshua Lock2
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-19handbook: remove OpenedHand contact informationJoshua Lock2
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-18handbook: Add a section on extending images using packagesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-18handbook: Publishing tweaksRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-18handbook: Add missing tagRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-18handbook/faq: Add entry about building on NTFSRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-18task-poky: No longer need to exclude pcmanfm on powerpcRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-18pcmanfm: Allow package to build on PowerPCGary Thomas1
Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-18zoom2.conf : switch to using the TI integration tree for kernelGraeme Gregory1
Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-18linux-omap-zoomsync_2.6.32.bb : add kernel from TI zoom2 integration treeGraeme Gregory2
This is the latest code from dev.omapzoom.org and is also what OE is using for zoom2 machine. Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-18bison: 2.0 -> 2.3Richard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-18handbook: Correction, we're building QEMU x86 not QEMU Arm imageJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-18handbook: update references of stable version numberJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-18handbook: Clean up OpenedHand referencesRichard Purdie3
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-18handbook: Various tweaks for recent fop/pdf generationRichard Purdie4
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-18poky-doc-tools: Update to work with fop >= 0.95Richard Purdie5
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-16eds-dbus: Add parallel make fixes from PangoRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-15task-poky: Disable pcmanfm on powerpc (until confirmed it works)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-15Add i686 SDK machineRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>