diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-27 12:40:02 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-27 12:40:02 +0000 |
commit | fdf134abfbc52a5522a4484687537ed8ac5a74c4 (patch) | |
tree | 3604e1a152d906c3011f1e514ac107479fe33b37 /bitbake | |
parent | c6868ce84e7525e283875e6111aa97cafc7192e8 (diff) | |
download | poky-fdf134abfbc52a5522a4484687537ed8ac5a74c4.tar.gz |
bitbake/build.py: No need for this gross hack now
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/build.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 6d80b4b549..1c713bf829 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -125,9 +125,7 @@ def exec_func(func, d, dirs = None): | |||
125 | if not t: | 125 | if not t: |
126 | bb.msg.fatal(bb.msg.domain.Build, "T not set") | 126 | bb.msg.fatal(bb.msg.domain.Build, "T not set") |
127 | mkdirhier(t) | 127 | mkdirhier(t) |
128 | # Gross hack, FIXME | 128 | logfile = "%s/log.%s.%s" % (t, func, str(os.getpid())) |
129 | import random | ||
130 | logfile = "%s/log.%s.%s.%s" % (t, func, str(os.getpid()),random.random()) | ||
131 | runfile = "%s/run.%s.%s" % (t, func, str(os.getpid())) | 129 | runfile = "%s/run.%s.%s" % (t, func, str(os.getpid())) |
132 | 130 | ||
133 | # Change to correct directory (if specified) | 131 | # Change to correct directory (if specified) |