diff options
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r-- | bitbake/lib/bb/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 91c3a42db6..a53aba9c1a 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -467,7 +467,7 @@ def exec_task(fn, task, d, profile = False): | |||
467 | quieterr = True | 467 | quieterr = True |
468 | 468 | ||
469 | if profile: | 469 | if profile: |
470 | profname = "profile-%s.log" % (os.path.basename(fn) + "-" + task) | 470 | profname = "profile-%s.log" % (d.getVar("PN", True) + "-" + task) |
471 | try: | 471 | try: |
472 | import cProfile as profile | 472 | import cProfile as profile |
473 | except: | 473 | except: |