summaryrefslogtreecommitdiffstats
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)
downloadpoky-332c33af188c14dd0051d8a45fe0ad680611db69.tar.gz
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):
246 f = open(runfile, "w") 246 f = open(runfile, "w")
247 f.write("#!/bin/sh -e\n") 247 f.write("#!/bin/sh -e\n")
248 if bb.msg.debug_level['default'] > 0: f.write("set -x\n") 248 if bb.msg.debug_level['default'] > 0: f.write("set -x\n")
249 data.emit_env(f, d) 249 data.emit_func(func, f, d)
250 250
251 f.write("cd %s\n" % os.getcwd()) 251 f.write("cd %s\n" % os.getcwd())
252 if func: f.write("%s\n" % func) 252 if func: f.write("%s\n" % func)