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
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
Richard Purdie
22c29d8651
bitbake: Switch to bitbake-dev version (bitbake master upstream)
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-20 18:46:02 +00:00
Richard Purdie
dbd66fc808
bitbake/BBHandler: Only add do_ prefix to tasks if its not already present
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-18 11:41:44 +00:00
Richard Purdie
483f85802a
bitbake: Sync various functions with those from bitbake-dev and bitbake upstream
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:21 +00:00
Richard Purdie
7642529554
bitbake: Anonymous funciton improvements - use methodpool to allow cached code and remove anonymous function indentation mismatch problems
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-13 08:38:13 +01:00
Richard Purdie
74016daa3a
bitbake: Remove unused and hence pointless internal__functions__ variable
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-13 08:38:13 +01:00
Richard Purdie
107a9da006
bitbake: Merge further fixes from upstream 1.8 branch
...
* Make the test functionality work
* Optimise BBPATH handling when changing directory
* Optimise file globing for BBFILES
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-11 22:41:17 +01:00
Richard Purdie
ade351e2f4
bitbake: Add in code to support the BBCLASSEXTEND variable. Virtual native/sdk recipes then become possible
2009-01-03 16:25:20 +00:00
Richard Purdie
250b021154
bitbake/BBHandler.py: Move handler finalisation code into a separate function
2009-01-02 23:49:18 +00:00
Richard Purdie
b6b37f065c
bitbake: Improve error message for missing class files
2008-11-06 00:12:31 +00:00
Richard Purdie
221ac2b25f
bitbake/bitbake-dev: Sync with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5346 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 20:46:17 +00:00
Richard Purdie
cd937b6f45
ConfHandler.py: revert accidental commit
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5197 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-16 20:09:03 +00:00
Richard Purdie
31511eb978
bitbake parse/__init_.py: Add missing update_mtime function fixing bitbake shell reparse failures
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5196 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-16 19:14:49 +00:00
Marcin Juszkiewicz
822ea0e698
bitbake: apply r1075 from upstream to get postinsts working again
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4625 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-12 10:37:02 +00:00
Richard Purdie
f1e89b2bb9
bitbake: Sync with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4504 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-19 20:41:58 +00:00
Richard Purdie
ab191d21e2
bitbake: Update to bitbake 1.8 branch head
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3892 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-03 22:01:45 +00:00
Richard Purdie
636e360eea
Remove broken c based parser code
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3192 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-17 22:21:42 +00:00
Richard Purdie
899c451a73
bitbake: Sync with 1.8 upstream branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2689 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-05 07:48:15 +00:00
Richard Purdie
e223238b1b
bitbake: Update to latest bitbake-1.8 branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2651 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-02 14:10:08 +00:00
Richard Purdie
d8bfa5c6ef
bitbake: Sync with 1.8.8 release
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2513 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-20 07:48:43 +00:00
Richard Purdie
18026165c3
bitbake: Sync with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2480 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-11 22:42:15 +00:00
Richard Purdie
51df8408c1
bitbake BBHandler: Disable creation of A variable
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2360 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-04 19:57:10 +00:00
Richard Purdie
bfc70eb24e
bitbake: Update along 1.8 branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2345 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-03 13:40:52 +00:00
Richard Purdie
d05bcee7f2
bitbake: Merge bugfixes from bitbake-1.8 svn
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1759 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-22 11:50:37 +00:00
Richard Purdie
7371e6323c
bitbake: Update to 1.8.1 (inc. various bug fixes, epoch support)
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1419 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-01 15:04:49 +00:00
Richard Purdie
f5665d5bfc
bitbake: Sync with upstream.
...
* File licence headers were sanitised causing most of the diff.
* cooker.py was created from bin/bitbake.
* cvs fetcher port option was added
* The -f force option was fixed to work correctly
* Multiple entries in rrecrdeps are now handled correctly
(allows adding do_deploy to image depends)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1129 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08 23:53:01 +00:00
Richard Purdie
681d6c18ad
bitbake: Sync with bitbake trunk for bugfixes and improved dot file generation code
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@987 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-29 22:52:37 +00:00
Richard Purdie
1e95d39948
Confhandler.py: Add cleanup from bitbake trunk
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@962 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-27 09:10:38 +00:00
Richard Purdie
306b7c7a97
bitbake: Upgrade from 1.4 -> 1.7.4ish
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@863 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-16 15:02:15 +00:00
Richard Purdie
27dba1e624
Update to bitbake 1.4.2 (latest stable branch release). This includes the caching speedups
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@371 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-05-09 15:44:08 +00:00
Richard Purdie
b26a945734
Update to latest bitbake
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@309 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-03-20 17:45:11 +00:00
Richard Purdie
62dc8f47b3
Update bitbake to latest bitbake svn
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@262 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-02-10 10:11:32 +00:00
Richard Purdie
d3fa3b8f9c
Remove some inappropriate binaries
...
git-svn-id: https://svn.o-hand.com/repos/poky@3 311d38ba-8fff-0310-9ca6-ca027cbcb966
2005-08-31 10:50:30 +00:00
Richard Purdie
f54da734eb
Initial population
...
git-svn-id: https://svn.o-hand.com/repos/poky@2 311d38ba-8fff-0310-9ca6-ca027cbcb966
2005-08-31 10:47:56 +00:00