summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-03 14:30:20 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-31 12:47:41 +0100
commit332c33af188c14dd0051d8a45fe0ad680611db69 (patch)
tree62b50d333ac8404671b591b7f6ba8fc71abc1c89 /bitbake/lib/bb/build.py
parent3492bff64a809b3a2a2376b83f41e099e16d22f6 (diff)
downloadopenembedded-core-332c33af188c14dd0051d8a45fe0ad680611db69.tar.gz
openembedded-core-332c33af188c14dd0051d8a45fe0ad680611db69.tar.bz2
openembedded-core-332c33af188c14dd0051d8a45fe0ad680611db69.zip
bitbake/data.py: Add emit_func() and generate_dependencies() functions
These functions allow generation of dependency data between funcitons and variables allowing moves to be made towards generating checksums and allowing use of the dependency information in other parts of bitbake. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index f49b2836b6..ee138a914a 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -246,7 +246,7 @@ def exec_func_shell(func, d, runfile, logfile, flags):
f = open(runfile, "w")
f.write("#!/bin/sh -e\n")
if bb.msg.debug_level['default'] > 0: f.write("set -x\n")
- data.emit_env(f, d)
+ data.emit_func(func, f, d)
f.write("cd %s\n" % os.getcwd())
if func: f.write("%s\n" % func)