generic-poky/bitbake/lib/bb
Richard Purdie 9a68fb1364 data/siggen: Add vardepvalue mechanism to allow the variable dependency code to be forced to specific values
We have a problem if we want to inject specific information into the variable
dependency code. There are cases for example where we want a dependency
on the value of X but it doesn't matter how X was constructed or what
dependencies it might have had, we only care about the absolute value.
With the current code, its near enough impossible to do this.

This patch adds such a mechanism so the user can trigger this with code like:

baselib[vardepvalue] = "${baselib}"

It also refactors some of the code so we do variable lookups once
instead of doing this in two different functions.

[YOCTO #1583]

(Bitbake rev: 6c879b44ccf42dc73fe4467076e114700d7ba81b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30 16:16:12 +00:00
..
fetch bitbake: Sync fetch back with upstream 2011-05-06 18:18:59 +01:00
fetch2 fetch2: Improve uri_replace to handle paths with no trailing '/' 2012-01-30 16:16:12 +00:00
parse parse_py: Use absolute paths for FILE 2012-01-30 16:16:11 +00:00
pysh make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
server bitbake/process.py: Ensure queued UI events are queued right before we add our own handler 2011-07-07 10:57:43 +01:00
ui hob: fix backtrace when dismissing open dialog 2012-01-30 16:16:11 +00:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py bitbake/logging: Overhaul internal logging process 2011-08-15 09:14:28 +01:00
build.py bitbake/lib/bb/msg.py: fix setting debug and verbosity levels 2011-09-26 19:35:58 +01:00
cache.py bb/cache: rename confusing variable 2011-08-11 19:07:59 +01:00
cache_extra.py Introduce extra cache class for image creator 2011-06-07 22:39:12 +01:00
codeparser.py codeparser: make var_expands actually hold useful information 2012-01-30 16:16:11 +00:00
command.py bb/command|cooker: refactor the reparseFiles logic 2011-08-12 21:06:59 +01:00
compat.py bitbake: Add missing file 2011-05-07 08:49:28 +01:00
cooker.py cooker.py: Fix key expansion issues in showVersions 2011-09-19 05:55:37 +01:00
daemonize.py Apply some 2to3 transforms that don't cause issues in 2.6 2010-07-02 15:41:33 +01:00
data.py data/siggen: Add vardepvalue mechanism to allow the variable dependency code to be forced to specific values 2012-01-30 16:16:12 +00:00
data_smart.py data_smart.py: make use of expand cache in getVar() 2011-08-29 14:13:34 +01:00
event.py bitbake/event: Allow event handlers to quietly raise SkipPackage events 2011-09-02 18:15:27 +01:00
exceptions.py bb.exceptions: don't choke on frames without arguments 2011-06-08 20:38:25 +01:00
methodpool.py Consolidate the exec/eval bits, switch anonfunc to better_exec, etc 2010-07-02 15:41:31 +01:00
msg.py bitbake/lib/bb/msg.py: fix setting debug and verbosity levels 2011-09-26 19:35:58 +01:00
namedtuple_with_abc.py bb.namedtuple_with_abc: add useful util from activestate 2011-06-08 20:38:23 +01:00
persist_data.py bitbake/persist_data: Sync file with upstream bitbake 2011-05-06 18:07:23 +01:00
process.py make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
providers.py lib/bb/providers: make "checking PREFERRED_PROVIDER_%s" a debug message 2011-08-15 09:13:53 +01:00
runqueue.py runqueue.py: Fix debug message to reference the correct task 2012-01-30 16:16:12 +00:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py data/siggen: Add vardepvalue mechanism to allow the variable dependency code to be forced to specific values 2012-01-30 16:16:12 +00:00
taskdata.py taskdata: fix string formatting of an error message 2011-09-20 22:22:21 +01:00
utils.py utils.py: Fix lockfile retry handling 2012-01-30 16:16:11 +00:00