Chris Larson
3eb2e6cf02
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>
2010-02-15 17:07:50 +00:00
Chris Larson
6f52a1521e
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>
2010-02-15 17:07:49 +00:00
Holger Freyther
3f1ca0a086
bitbake: [parse] Move the last method to the AST...
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:48 +00:00
Holger Freyther
baf2395900
bitbake: [parser] Move more methods to the ast scheme
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:48 +00:00
Holger Freyther
d84b7c5555
bitbake: [parser] Move one more item to the ast
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:47 +00:00
Holger Freyther
a5bb5d625e
bitbake: [parser] Move methodflags over to the ast
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:46 +00:00
Richard Purdie
7cfe3a5e15
bitbake: [parser] Build fix
...
(Bitbake rev: 9c97696f37499b4d0ec5c034c51e4cf6bc425ba2)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:45 +00:00
Holger Freyther
8eaaf663ba
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>
2010-02-15 17:07:44 +00:00
Holger Freyther
d2bf3f00ea
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>
2010-02-15 17:07:43 +00:00
Holger Freyther
8072cf0846
bitbake: [parser] Call eval and remove non ast code
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:42 +00:00
Holger Freyther
118161f46b
bitbake: [parser] Call eval immeditaley to test this code
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:41 +00:00
Holger Freyther
a20105868f
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>
2010-02-15 17:07:40 +00:00
Richard Purdie
269d4d58a9
bitbake: [parser] Preserve include vs. require behaviour
...
(Bitbake rev: 6073a5b8e4ca8af8e1a8e0234fad7b08baf76c99)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:20 +00:00
Holger Freyther
71a19386a3
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>
2010-02-15 17:07:07 +00:00
Holger Freyther
df8f7706a6
bitbake: [parser] Add documentation about usage of this code
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:06:59 +00:00
Holger Freyther
4320386deb
bitbake: [parser] Move the finalise into the ast as well
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:06:55 +00:00
Holger Freyther
4b25b519ae
bitbake: [parser] Cary a Statement Node through the parsing
...
When parsing we will collect a number of statements
that can be evaluated...The plan is to be evaluate
things twice (old+new) and then compare the result,
it should be the same.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:06:50 +00:00
Holger Freyther
5bac3403d7
bitbake: [parser] Move evaluating into the ast class...
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:06:36 +00:00
Bernhard Reutner-Fischer
e9d8dd2abf
bitbake: providers.py: sort eligible providers by DEFAULT_PREFERENCE
...
(Bitbake rev: ee9afccf33b220a21b74fab279925eeb4771249b)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:03:50 +00:00
Bernhard Reutner-Fischer
de7c939a7f
bitbake: runqueue.py: improve printing dependent tasks
...
Print names instead of Task-IDs (and not mentioning they're task ids).
Previously we printed e.g.:
Dependency loop #1 found:
Task 89 (/there/src/oe/openembedded/recipes/busybox/busybox-native_1.15.2.bb, do_configure) (depends: Set([88, 282, 92, 87]))
Now we say
Dependency loop #1 found:
Task 89 (/there/src/oe/openembedded/recipes/busybox/busybox-native_1.15.2.bb, do_configure) (dependent Task-IDs ['busybox-native, do_patch', 'update-rc.d, do_populate_staging', 'busybox-native, do_populate_staging', 'shasum-native.bb, do_populate_staging', 'busybox-native, do_unpack'])
(Bitbake rev: 00eaf76fdc32eb515995b47dfa69eb90ca904b37)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:03:47 +00:00
Bernhard Reutner-Fischer
e39d89e934
bitbake: taskdata.py: fix typo in debug message
...
(Bitbake rev: 457fb59f10ed59269b8bda3ee53bbeded5d33eb5)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:03:07 +00:00
Joshua Lock
da10a2af54
sanity.bbclass: Add chrpath to the required utilities
...
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-15 16:43:38 +00:00
Joshua Lock
7b4e80b98e
relocatable.bbclass: Tidy up class
...
There was a hard coded path and a spurious variable left in before the last
commit. Whoops ...
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-12 17:39:08 +00:00
Joshua Lock
12325e3c56
chrpath: Only set the chrpath binary for the native package
...
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-12 15:00:44 +00:00
Joshua Lock
f1a87fadc7
relocatable.bbclass: Improve logic and style
...
The initial pass at this class was pretty lame and broke on a lot of native
packages. This rewrite makes the code a lot more dynamic, removing use of hard
coded paths and improving the logic.
The class now runs a chrpath -l over the binary to determine what rpaths are
currently set. It then munges the output and determines relative versions of
each component of the rpath and uses chrpath -r to set them.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-12 15:00:44 +00:00
Richard Purdie
62c103ce0e
bitbake: utils.py: Don't error if an exported environment variable is unset (i.e. None)
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-12 13:50:19 +00:00
Joshua Lock
6e1cc7ca10
relocatable.bbclass: remove hard-coded rpaths from native binaries
...
The relocatable path will pre-process built binaries in SYSROOT_DESTDIR and
replace any harcoded dynamic link rpaths with relative paths.
Add an inherit of class in native.bbclass to make our native packages
relocatable and tweak the chrpath recipe so that the native package can make
itself relocatable with the just built chrpath binary.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-11 16:21:09 +00:00
Richard Purdie
a0795895e3
xserver-nodm-init: Make sure kdrive servers have the console keyboard enabled
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-11 16:09:49 +00:00
Richard Purdie
e49fcdcc8b
xserver-kdrive: Add keyboard fix (partially from OE.dev
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-11 16:06:46 +00:00
Richard Purdie
6054d36e7a
preferred-xorg-versions: Update xserver-kdrive version
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-11 12:18:55 +00:00
Richard Purdie
216f9f05b4
xserver-xf86: Drop old versions and update xserver-xf86-lite version
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-11 12:18:25 +00:00
Richard Purdie
25e0acc952
xserver-kdrive: Add 1.7.99.2
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-11 12:15:06 +00:00
Richard Purdie
2146902ae4
calibrateproto: Add missing length fields to X_Replies
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-11 12:10:39 +00:00
Richard Purdie
c33fa352b8
sharp-flash-header: Convert from leagacy staging
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-11 09:51:55 +00:00
Richard Purdie
633e0ff5e3
binutils: Apply cross compiling changes to libtool since we don't autoreconf
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-11 09:51:23 +00:00
Richard Purdie
6877acce5a
keymaps: Use RDEPENDS_${PN}
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-11 09:50:34 +00:00
Joshua Lock
0307f8002e
linux-libc-headers: extend nativesdk for 2.6.29
...
2.6.29 is the PREFERRED_VERSION of linux-libc-headers for ditro=poky but there
was no buildable recipe for that version. Fix this with a simple BBCLASSEXTEND
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-11 09:32:48 +00:00
Joshua Lock
bc1ae94d25
preferred-xorg-versions.inc: bump preferred util-macros
...
We no longer have a recipe for 1.5.0 so bump to 1.6.0
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-10 22:51:14 +00:00
Khem Raj
99b4b10dc1
bitbake: BBHandler: pass lineno and fn to handleMethod
...
* lineno and fn are needed in handleMethod
to restore the functionality as it was before.
(Bitbake rev: ac6792045959cfee56279c1c4597521e990848e7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:43:06 +00:00
Martin Jansa
d5519d4ad9
bitbake: parse_py/ConfHandler.py: missing colon after else
...
(Bitbake rev: d520ae0764016906ff61ec33b14eabc908aa8408)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:38:33 +00:00
Richard Purdie
7a4579e7cb
bitbake: ConfHandler: Fix require vs. include behaviour
...
(Bitbake rev: 824a032672c8673cae28e492aa916a4750b94efa)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:38:00 +00:00
Holger Freyther
fb918a7582
bitbake: [parser] Move more stuff out the feeder
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:37:43 +00:00
Holger Freyther
b045ab3222
bitbake: [parse] Move inherit handling to method
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:32:28 +00:00
Holger Freyther
7477c0d89a
bitbake: [parsers] Move out more functions
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:32:14 +00:00
Holger Freyther
e3c9a340dc
bitbake: [parser] Move more stuff out to separate methods...
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:32:00 +00:00
Holger Freyther
169e719456
bitbake: [parser] Move the handling of a method to a function
...
We want to convert this into a proper AST. So move all
such operations to methods... Later change them to generate
a node... and create that node from here.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:31:48 +00:00
Holger Freyther
913e78898e
bitbake: [parse] Unify opening a file...
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:31:33 +00:00
Holger Freyther
242a03607d
bitbake: [parser] Kill obtain/localpath from the parser
...
With obtain it was possible to use an existing fetcher to
download a bb or config file. In practive no one has used it
and it was likely broken in regard to depends_cache... Remove
it for now, simplfiy the code.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:31:19 +00:00
Theodore A. Roth
bf6a4fd658
bitbake: usermanual.xml: Add section for ?= var setting.
...
(Bitbake rev: df8309c11a43a9488ca25ec114a2dd3d49b041ff)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:25:35 +00:00
Joshua Lock
6ae3907433
distros: set xserver-xf86 as default PREFERRED_PROVIDER for virtual/xserver
...
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-10 14:34:15 +00:00