summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-29 00:33:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-29 00:34:11 +0100
commite41671ea1d2c9efabb4a577a0b69851558a15b5f (patch)
treec4a994f357634cc7d15a54281c9277c08d5e0e8d /bitbake
parentbf799e398a857ecb8e0364e6690d431492cca051 (diff)
downloadpoky-e41671ea1d2c9efabb4a577a0b69851558a15b5f.tar.gz
Revert "bitbake/gcc: Enable a shared common source tree"
This reverts commit 12b163dbd81cafafec1ebe3c4039c65af60ee261 as it was an unintended change for master
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/build.py4
-rw-r--r--bitbake/lib/bb/cache.py4
-rw-r--r--bitbake/lib/bb/runqueue.py8
3 files changed, 2 insertions, 14 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 19a9ba12f1..83a378febb 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -382,10 +382,10 @@ def stamp_internal(taskname, d, file_name):
382 taskflagname = taskname.replace("_setscene", "") 382 taskflagname = taskname.replace("_setscene", "")
383 383
384 if file_name: 384 if file_name:
385 stamp = d.stamp_base[file_name].get(taskflagname) or d.stamp[file_name] 385 stamp = d.stamp[file_name]
386 extrainfo = d.stamp_extrainfo[file_name].get(taskflagname) or "" 386 extrainfo = d.stamp_extrainfo[file_name].get(taskflagname) or ""
387 else: 387 else:
388 stamp = d.getVarFlag(taskflagname, 'stamp-base', True) or d.getVar('STAMP', True) 388 stamp = d.getVar('STAMP', True)
389 file_name = d.getVar('BB_FILENAME', True) 389 file_name = d.getVar('BB_FILENAME', True)
390 extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info', True) or "" 390 extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info', True) or ""
391 391
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 4e76857e6f..c56b4b4248 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -55,7 +55,6 @@ recipe_fields = (
55 'provides', 55 'provides',
56 'task_deps', 56 'task_deps',
57 'stamp', 57 'stamp',
58 'stamp_base',
59 'stamp_extrainfo', 58 'stamp_extrainfo',
60 'broken', 59 'broken',
61 'not_world', 60 'not_world',
@@ -161,7 +160,6 @@ class RecipeInfo(namedtuple('RecipeInfo', recipe_fields)):
161 broken = cls.getvar('BROKEN', metadata), 160 broken = cls.getvar('BROKEN', metadata),
162 not_world = cls.getvar('EXCLUDE_FROM_WORLD', metadata), 161 not_world = cls.getvar('EXCLUDE_FROM_WORLD', metadata),
163 stamp = cls.getvar('STAMP', metadata), 162 stamp = cls.getvar('STAMP', metadata),
164 stamp_base = cls.flaglist('stamp-base', tasks, metadata),
165 stamp_extrainfo = cls.flaglist('stamp-extra-info', tasks, metadata), 163 stamp_extrainfo = cls.flaglist('stamp-extra-info', tasks, metadata),
166 packages_dynamic = cls.listvar('PACKAGES_DYNAMIC', metadata), 164 packages_dynamic = cls.listvar('PACKAGES_DYNAMIC', metadata),
167 depends = cls.depvar('DEPENDS', metadata), 165 depends = cls.depvar('DEPENDS', metadata),
@@ -581,7 +579,6 @@ class CacheData(object):
581 self.task_queues = {} 579 self.task_queues = {}
582 self.task_deps = {} 580 self.task_deps = {}
583 self.stamp = {} 581 self.stamp = {}
584 self.stamp_base = {}
585 self.stamp_extrainfo = {} 582 self.stamp_extrainfo = {}
586 self.preferred = {} 583 self.preferred = {}
587 self.tasks = {} 584 self.tasks = {}
@@ -607,7 +604,6 @@ class CacheData(object):
607 self.pkg_pepvpr[fn] = (info.pe, info.pv, info.pr) 604 self.pkg_pepvpr[fn] = (info.pe, info.pv, info.pr)
608 self.pkg_dp[fn] = info.defaultpref 605 self.pkg_dp[fn] = info.defaultpref
609 self.stamp[fn] = info.stamp 606 self.stamp[fn] = info.stamp
610 self.stamp_base[fn] = info.stamp_base
611 self.stamp_extrainfo[fn] = info.stamp_extrainfo 607 self.stamp_extrainfo[fn] = info.stamp_extrainfo
612 608
613 provides = [info.pn] 609 provides = [info.pn]
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index cb9e462869..3db083b261 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -105,11 +105,6 @@ class RunQueueScheduler(object):
105 if self.rq.runq_running[taskid] == 1: 105 if self.rq.runq_running[taskid] == 1:
106 continue 106 continue
107 if self.rq.runq_buildable[taskid] == 1: 107 if self.rq.runq_buildable[taskid] == 1:
108 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[taskid]]
109 taskname = self.rqdata.runq_task[taskid]
110 stamp = bb.build.stampfile(taskname, self.rqdata.dataCache, fn)
111 if stamp in self.rq.build_stamps.values():
112 continue
113 return taskid 108 return taskid
114 109
115 def next(self): 110 def next(self):
@@ -1015,7 +1010,6 @@ class RunQueueExecute:
1015 self.runq_complete = [] 1010 self.runq_complete = []
1016 self.build_pids = {} 1011 self.build_pids = {}
1017 self.build_pipes = {} 1012 self.build_pipes = {}
1018 self.build_stamps = {}
1019 self.failed_fnids = [] 1013 self.failed_fnids = []
1020 1014
1021 def runqueue_process_waitpid(self): 1015 def runqueue_process_waitpid(self):
@@ -1030,7 +1024,6 @@ class RunQueueExecute:
1030 del self.build_pids[result[0]] 1024 del self.build_pids[result[0]]
1031 self.build_pipes[result[0]].close() 1025 self.build_pipes[result[0]].close()
1032 del self.build_pipes[result[0]] 1026 del self.build_pipes[result[0]]
1033 del self.build_stamps[result[0]]
1034 if result[1] != 0: 1027 if result[1] != 0:
1035 self.task_fail(task, result[1]>>8) 1028 self.task_fail(task, result[1]>>8)
1036 else: 1029 else:
@@ -1319,7 +1312,6 @@ class RunQueueExecuteTasks(RunQueueExecute):
1319 1312
1320 self.build_pids[pid] = task 1313 self.build_pids[pid] = task
1321 self.build_pipes[pid] = runQueuePipe(pipein, pipeout, self.cfgData) 1314 self.build_pipes[pid] = runQueuePipe(pipein, pipeout, self.cfgData)
1322 self.build_stamps[pid] = bb.build.stampfile(taskname, self.rqdata.dataCache, fn)
1323 self.runq_running[task] = 1 1315 self.runq_running[task] = 1
1324 self.stats.taskActive() 1316 self.stats.taskActive()
1325 if self.stats.active < self.number_tasks: 1317 if self.stats.active < self.number_tasks: