Bug 1229233 - Properly skip the top-level directory in the RecursiveMake backend. r=gps

Somehow this never ended up being a problem in practice, but somehow with a
minimalistic test case, it becomes one.
This commit is contained in:
Mike Hommey 2015-11-30 17:41:43 +09:00
parent 22467dc0fd
commit 54181dfb5c

View File

@ -809,7 +809,8 @@ class RecursiveMakeBackend(CommonBackend):
self._makefile_in_count += 1
for tier, skiplist in self._may_skip.items():
if bf.relobjdir in skiplist:
# topobjdir is an exception, it's still skipped.
if bf.relobjdir and bf.relobjdir in skiplist:
skiplist.remove(bf.relobjdir)
else:
self.log(logging.DEBUG, 'stub_makefile',