]>
code.ossystems Code Review - openembedded-core.git/log
Chris Larson [Thu, 11 Jun 2009 20:10:04 +0000 (13:10 -0700)]
Avoid unnecessary calls to keys() when iterating over dictionaries.
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>
Bernhard Reutner-Fischer [Thu, 25 Feb 2010 13:21:21 +0000 (14:21 +0100)]
knotty: tweak failure phrase
..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>
Chris Larson [Wed, 24 Feb 2010 16:32:26 +0000 (09:32 -0700)]
Fix ud.basecmd error introduced by the FETCHCMD_git commit
(Bitbake rev:
0bbcbe3548f39ca46c5aa3bf1a8681026e51cbf0 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Tom Rini [Wed, 24 Feb 2010 14:19:24 +0000 (07:19 -0700)]
Add initial 'repo' fetcher
(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>
Chris Larson [Tue, 23 Feb 2010 18:55:43 +0000 (11:55 -0700)]
Re-getVar BBCLASSEXTEND after finalise()
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>
Chris Larson [Fri, 19 Feb 2010 23:26:33 +0000 (16:26 -0700)]
Error early if BBPATH is unset, rather than falling back to share/bitbake
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>
Chris Larson [Mon, 20 Jul 2009 04:57:09 +0000 (21:57 -0700)]
Kill unused projectdir in bb package.
(Bitbake rev:
79b93e6929c5feeb1ad05bd17f589c69f00b77f6 )
Signed-off-by: Chris Larson <clarson@mvista.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sun, 19 Jul 2009 17:07:00 +0000 (10:07 -0700)]
Fix msg usage in the moved utility functions.
(Bitbake rev:
686288444d22091dee66e20ec49b9c53f8c980b7 )
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sun, 19 Jul 2009 17:05:52 +0000 (10:05 -0700)]
Move most utility functions from bb into bb.utils.
(Bitbake rev:
ff720ec59b30671c951dbf3b96df10ef56b8b505 )
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sun, 19 Jul 2009 16:54:46 +0000 (09:54 -0700)]
Move compat imports in the bb package to avoid circular dep issues.
(Bitbake rev:
b66c129edc7d78fed9d41b0c634744ec81931b21 )
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sun, 19 Jul 2009 16:51:29 +0000 (09:51 -0700)]
Move encodeurl, decodeurl into bb.fetch.
(Bitbake rev:
867d36f9afce2d298874ac7563e5b3852ef04659 )
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sun, 19 Jul 2009 16:49:36 +0000 (09:49 -0700)]
Move MalformedUrl, VarExpandError into appropriate modules.
(Bitbake rev:
e616483b237dafff7f90ba1c09e9ee7c383a2e47 )
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Martyn Welch [Tue, 26 Jan 2010 14:35:51 +0000 (14:35 +0000)]
Add FETCHCMD parameter for git
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>
Richard Purdie [Thu, 18 Mar 2010 19:57:10 +0000 (19:57 +0000)]
sanity.bbclass: Add a note about using dpkg-reconfigure
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Fri, 19 Mar 2010 23:12:06 +0000 (23:12 +0000)]
base.bbclass: Split up as per the patch in OE.dev by Chris Larson making code more readable and modularised
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Fri, 19 Mar 2010 22:53:21 +0000 (22:53 +0000)]
base.bbclass: Really drop siteinfo by default
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Fri, 19 Mar 2010 18:08:35 +0000 (18:08 +0000)]
base.bbclass: Don't inherit siteinfo in base.bbclass [based on an OE patch from Chris Larson]
Richard Purdie [Fri, 19 Mar 2010 17:50:36 +0000 (17:50 +0000)]
.gitignore: Add handbook generated files to the ignore list
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Joshua Lock [Fri, 19 Mar 2010 15:26:53 +0000 (15:26 +0000)]
xcmsdb: Add libxdmcp to DEPENDS
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Fri, 19 Mar 2010 14:59:49 +0000 (14:59 +0000)]
claws-mail: Fix building with new automake
Having the same file listed multiple times in Makefile.am breaks with new
Autotools
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Fri, 19 Mar 2010 13:01:57 +0000 (13:01 +0000)]
poky-fixed-revisions: Bump twitter-glib to a buildable version
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Fri, 19 Mar 2010 12:24:35 +0000 (12:24 +0000)]
poky-fixed-revisions: Align Clutter revisions with Moblin distro
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>
Joshua Lock [Fri, 19 Mar 2010 12:19:54 +0000 (12:19 +0000)]
clutter: Fix building version 0.8
Fix building of Clutter with new Automake
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Wed, 17 Mar 2010 18:18:38 +0000 (18:18 +0000)]
syncevolution: Fix DEPENDS
Add eds-dbus and gnome-keyring
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Wed, 17 Mar 2010 18:04:23 +0000 (18:04 +0000)]
libsynthesis: Fix DEPENDS
Add sqlite3 and zlib
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Wed, 17 Mar 2010 16:30:59 +0000 (16:30 +0000)]
luit: add libxdmcp to DEPENDS
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Wed, 17 Mar 2010 15:42:45 +0000 (15:42 +0000)]
libxscrnsaver: bump version to 1.2.0
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Wed, 17 Mar 2010 15:37:13 +0000 (15:37 +0000)]
liblbxutil: Bump version and fix dependencies
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Fri, 19 Mar 2010 10:23:23 +0000 (10:23 +0000)]
handbook: remove OpenedHand contact information
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Richard Purdie [Thu, 18 Mar 2010 23:47:48 +0000 (23:47 +0000)]
handbook: Add a section on extending images using packages
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Thu, 18 Mar 2010 23:31:35 +0000 (23:31 +0000)]
handbook: Publishing tweaks
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Thu, 18 Mar 2010 23:23:25 +0000 (23:23 +0000)]
handbook: Add missing tag
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Thu, 18 Mar 2010 21:40:11 +0000 (21:40 +0000)]
handbook/faq: Add entry about building on NTFS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Thu, 18 Mar 2010 21:33:02 +0000 (21:33 +0000)]
task-poky: No longer need to exclude pcmanfm on powerpc
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Gary Thomas [Wed, 17 Mar 2010 13:19:37 +0000 (07:19 -0600)]
pcmanfm: Allow package to build on PowerPC
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Graeme Gregory [Thu, 18 Mar 2010 20:14:20 +0000 (20:14 +0000)]
zoom2.conf : switch to using the TI integration tree for kernel
Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Graeme Gregory [Thu, 18 Mar 2010 20:13:04 +0000 (20:13 +0000)]
linux-omap-zoomsync_2.6.32.bb : add kernel from TI zoom2 integration tree
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>
Richard Purdie [Thu, 18 Mar 2010 20:58:34 +0000 (20:58 +0000)]
bison: 2.0 -> 2.3
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Joshua Lock [Thu, 18 Mar 2010 16:08:11 +0000 (16:08 +0000)]
handbook: Correction, we're building QEMU x86 not QEMU Arm image
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Thu, 18 Mar 2010 15:45:53 +0000 (15:45 +0000)]
handbook: update references of stable version number
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Richard Purdie [Thu, 18 Mar 2010 15:50:08 +0000 (15:50 +0000)]
handbook: Clean up OpenedHand references
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Thu, 18 Mar 2010 15:37:59 +0000 (15:37 +0000)]
handbook: Various tweaks for recent fop/pdf generation
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Thu, 18 Mar 2010 15:36:58 +0000 (15:36 +0000)]
poky-doc-tools: Update to work with fop >= 0.95
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Tue, 16 Mar 2010 11:36:00 +0000 (11:36 +0000)]
eds-dbus: Add parallel make fixes from Pango
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Mon, 15 Mar 2010 17:18:38 +0000 (17:18 +0000)]
task-poky: Disable pcmanfm on powerpc (until confirmed it works)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Mon, 15 Mar 2010 13:00:46 +0000 (13:00 +0000)]
Add i686 SDK machine
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Mon, 15 Mar 2010 12:55:47 +0000 (12:55 +0000)]
bitbake fetch/__init__.py: Failing urls should raise errors, not fatal exceptions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Joshua Lock [Fri, 5 Mar 2010 08:35:46 +0000 (08:35 +0000)]
packaged-staging: tweak previous fix to accomodate possible changes to CROSS_DIR
This change, suggested by Chris Larson, ensures that the fix works even if the
definition of CROSS_DIR changes.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Thu, 4 Mar 2010 16:53:00 +0000 (16:53 +0000)]
packaged-staging: Fix packagaging of cross packages
packagedstaging_fastpath() was only copying the contents of CROSS_DIR to
PSTAGE_TMPDIR resulting in the folders contents being packaged and then
installed incorrectly at the top level of CROSS_DIR rather than in HOST_ARCH
specific sub directories.
This patch fixes that issue by copying the directory and its contents rather
than just the directory contents.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Wed, 3 Mar 2010 17:40:36 +0000 (17:40 +0000)]
packaged-staging: Fix typo, grep not qrep ...
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Enric Balletbo i Serra [Mon, 1 Mar 2010 10:32:50 +0000 (11:32 +0100)]
xf86-video-omapfb: Bump revision.
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Enric Balletbo i Serra [Mon, 1 Mar 2010 10:32:49 +0000 (11:32 +0100)]
xserver-xf86-config: Do not set default depth to 16 for IGEP v2.
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Enric Balletbo i Serra [Mon, 1 Mar 2010 10:32:48 +0000 (11:32 +0100)]
xserver-xf86-lite: Fix compilation break for ARM architecture.
This patch syncs the patches used in xserver-xf86-dri-lite and adds
a new patch that fixes a compilation break for ARM architecture.
(http://www.mail-archive.com/xorg-devel@lists.x.org/msg04137.html)
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Enric Balletbo i Serra [Mon, 1 Mar 2010 10:44:25 +0000 (11:44 +0100)]
gcc: Fix fail to compile since they can't find limits.h include.
With gcc package on my build machine gcc can't find limits.h include.
$ cat x.c
$ gcc -M x.c
In file included from x.c:1:
/usr/include/limits.h:125:26: error: no include path in which to search for limits.h
This patch adds missing includes to gcc package.
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Wed, 3 Mar 2010 13:00:37 +0000 (13:00 +0000)]
liboil: 0.3.14 -> 0.3.17
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Wed, 3 Mar 2010 10:01:34 +0000 (10:01 +0000)]
eds-dbus: Disable parallel make build problem
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Joshua Lock [Mon, 1 Mar 2010 17:23:10 +0000 (17:23 +0000)]
tasks: Bump to version 0.15
The Owl patch has gone in upstream but requires a different configure switch so
soft assign in the .inc and set appropriately in the 0.15 recipe.
0.16 is out but doesn't build with Poky's Gtk+ version.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Gary Thomas [Fri, 26 Feb 2010 15:03:09 +0000 (08:03 -0700)]
gdb-cross: Allow to build after recent gettext changes
Signed off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Joshua Lock [Fri, 26 Feb 2010 12:33:34 +0000 (12:33 +0000)]
packaged-staging: post-process non-binary files to fix paths in native packages
Extend the existing libtool hack so that native packages (native, cross, sdk)
have all non-binary files scanned and the STAGING_DIR fixed up.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Fri, 26 Feb 2010 12:31:31 +0000 (12:31 +0000)]
handbook: tmp/staging was renamed to tmp/sysroots - update references
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Fri, 19 Feb 2010 15:52:03 +0000 (15:52 +0000)]
preferred-xorg-versions: Bump versions to match available recipes
The PREFERRED_VERSIONS for makedepend and xorg-cf-files where set for versions
which we no longer carry recipes for. Increase them to make BB happy.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Richard Purdie [Tue, 23 Feb 2010 22:42:16 +0000 (22:42 +0000)]
linux-omap: Build fix
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Tue, 23 Feb 2010 19:47:07 +0000 (19:47 +0000)]
poky-moblin.inc: Move to meta-moblin
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Tue, 23 Feb 2010 19:18:06 +0000 (19:18 +0000)]
glibc: Allow 2.9 to work with binutils 2.20 (patch from OE.dev)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Tue, 23 Feb 2010 17:30:58 +0000 (17:30 +0000)]
poky/moblin: Switch to binutils 2.20
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Tue, 23 Feb 2010 17:30:19 +0000 (17:30 +0000)]
binutils: Add 2.20 (patchset from OE.dev)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Tue, 23 Feb 2010 15:19:41 +0000 (15:19 +0000)]
libpcap: Update to 1.0.0 and sync with OE.dev
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Tue, 23 Feb 2010 14:59:23 +0000 (14:59 +0000)]
portmap: Sync with OE.dev
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Tue, 23 Feb 2010 14:57:44 +0000 (14:57 +0000)]
a52dec: Clean up CFLAGS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Mon, 22 Feb 2010 22:30:26 +0000 (22:30 +0000)]
perl: Update to work with native binary relative path locations
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Mon, 22 Feb 2010 14:23:26 +0000 (14:23 +0000)]
relocatable.bbclass: Clean up indentation
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Mon, 22 Feb 2010 14:20:26 +0000 (14:20 +0000)]
relocatable.bbclass: Handle symlinks correctly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Joshua Lock [Thu, 18 Feb 2010 10:57:08 +0000 (10:57 +0000)]
cross.bbclass: Note that relocatable binaries disabled for a reason
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Tue, 16 Feb 2010 17:49:31 +0000 (17:49 +0000)]
linux: Enable linux-2.6.32 for qemux86 and qemuppc
The qemux86 configuration is simply a copy of the qemux86-defconfig from
linux-rp with make oldconfig and mostly default answers.
Configuration for qemuppc already exists but DEFAULT_PREFERENCE was not set in
the recipe.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Joshua Lock [Tue, 16 Feb 2010 17:40:23 +0000 (17:40 +0000)]
relocatable.bbclass: Enhancements to rpath replacement algorithm
This patch removes the hard coded number of parent directory operators ( /..)
placed into the rpath and instead fully dynamically generates the rpath entries
based on the current rpath.
Theoretically this patch means we can now make cross packages relocatable but
this is *not* enabled as chrpath can only set a new rpath of the same length
or shorter than the existing rpath. Due to the amount of parent directory
jumps we need to encode in the rpath this can easily fail when TMPDIR is in a
short namespace (e.g. /usr/poky).
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Richard Purdie [Tue, 16 Feb 2010 15:38:55 +0000 (15:38 +0000)]
bitbake: Revert "providers.py: sort eligible providers by DEFAULT_PREFERENCE"
This breaks preferred providers functionality
This reverts commit
ee9afccf33b220a21b74fab279925eeb4771249b .
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Mon, 15 Feb 2010 17:44:30 +0000 (17:44 +0000)]
eggdbus: Add missing dbus-glib DEPENDS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Mon, 15 Feb 2010 17:32:19 +0000 (17:32 +0000)]
qmake-naitve: Fix do_install
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Sun, 17 May 2009 03:59:06 +0000 (05:59 +0200)]
bitbake: [cache] copy instead of deepcopy in sync
We only intend to modify the dict, no need to copy all
elements.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 21 Jul 2009 19:00:29 +0000 (12:00 -0700)]
bitbake: [parse] In ast, make StatementGroup inherit list, and add a AstNode base class.
(Bitbake rev:
7ea31b2842b45ffe1ca688f55207f8676442a108 )
Signed-off-by: Chris Larson <clarson@mvista.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sun, 19 Jul 2009 05:36:32 +0000 (22:36 -0700)]
bitbake: [parse] Use bb.which in resolve_file
(Bitbake rev:
3cd06ed487ee0617892f154cff461379a323a1fb )
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Tue, 19 May 2009 11:59:50 +0000 (13:59 +0200)]
bitbake: [parser] Make resolve_file only resolve the path
Do not attempt to open the file in the resolve_file method
(a lot like bb.which... maybe bb.which can be used). This way
we don't need to open/close a file which we have already parsed.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Tue, 19 May 2009 11:53:12 +0000 (13:53 +0200)]
bitbake: [parser] Cache parsed .inc and .bbclass files for a parse speedup
Have a growing dict with .inc and .bbclass'es. This avoids to reparse
files we have already seen.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Tue, 19 May 2009 11:22:30 +0000 (13:22 +0200)]
bitbake: [parser] prepare to cache some .bbcclass and .inc files
Our parser is shit but instead to replace it now we will see
how long we can drive the wave by caching parsed files. This
will not go through the feeder again but we can just reevaluate
the StatementGroup.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Tue, 19 May 2009 10:10:37 +0000 (12:10 +0200)]
bitbake: [parser] Remove the "data" from feeder, evaluate after parsing a file
Evaluate the statements after having parsed one file. This is
referred to as "entwirren" and we can remove the direct evaluation
and postpone a bit, in the future we can use a cached copy instead
of parsing the original.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 21 Jul 2009 23:22:30 +0000 (16:22 -0700)]
bitbake: [parse] Move vars_from_file from bb.parse.BBHandler into bb.parse.
(Bitbake rev:
fda0707d772e0964a0185d4ec4d016522f6972f3 )
Signed-off-by: Chris Larson <clarson@mvista.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 22 Jul 2009 18:09:25 +0000 (11:09 -0700)]
bitbake: [parse] Don't use relative import of parse_py.
(Bitbake rev:
0a2bb3dd790e3e40867195f14f4e174f98f8a47c )
Signed-off-by: Chris Larson <clarson@mvista.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Tue, 19 May 2009 08:57:00 +0000 (10:57 +0200)]
bitbake: [parse] Move the last method to the AST...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Tue, 19 May 2009 08:52:18 +0000 (10:52 +0200)]
bitbake: [parser] Move more methods to the ast scheme
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Tue, 19 May 2009 08:10:26 +0000 (10:10 +0200)]
bitbake: [parser] Move one more item to the ast
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Tue, 19 May 2009 08:02:55 +0000 (10:02 +0200)]
bitbake: [parser] Move methodflags over to the ast
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Fri, 12 Feb 2010 17:45:51 +0000 (17:45 +0000)]
bitbake: [parser] Build fix
(Bitbake rev:
9c97696f37499b4d0ec5c034c51e4cf6bc425ba2 )
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Tue, 19 May 2009 07:51:29 +0000 (09:51 +0200)]
bitbake: [parser] Move more statements over the two phase AST
Create the data first, then evaluate on the data dict
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Tue, 19 May 2009 07:46:42 +0000 (09:46 +0200)]
bitbake: [parse] Change handling include through the AstNode
Disable the recursively evaluating the statement for now
as it is causing problems.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Tue, 19 May 2009 07:37:41 +0000 (09:37 +0200)]
bitbake: [parser] Call eval and remove non ast code
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Tue, 19 May 2009 07:37:07 +0000 (09:37 +0200)]
bitbake: [parser] Call eval immeditaley to test this code
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Mon, 18 May 2009 18:03:50 +0000 (20:03 +0200)]
bitbake: [parser] Prepare to cease out getFunc
getFunc is now a method of the data node, hopefully we can kill the other
version soon.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Fri, 12 Feb 2010 14:41:28 +0000 (14:41 +0000)]
bitbake: [parser] Preserve include vs. require behaviour
(Bitbake rev:
6073a5b8e4ca8af8e1a8e0234fad7b08baf76c99 )
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Mon, 18 May 2009 17:50:14 +0000 (19:50 +0200)]
bitbake: [parser] Firs set of AST nodes with construction and eval
First set of ConfHandling with AST nodes. The include can
use a speed up and things might need to be migrated... into
this class.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Freyther [Mon, 18 May 2009 17:53:53 +0000 (19:53 +0200)]
bitbake: [parser] Add documentation about usage of this code
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>