tools: Make circular_includes check more robust
Allows for an arbitrary path to be applied to kernel_all.c in case the build is not happening in the current working directory
This commit is contained in:
parent
ebbccaac24
commit
3679b88309
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ def main():
|
|||
resulting in the loop is printed out.
|
||||
"""
|
||||
|
||||
kernel_all_re = re.compile(r'^# 1 "kernel_all\.c"')
|
||||
kernel_all_re = re.compile(r'^# 1 ".*kernel_all\.c"')
|
||||
header_re = re.compile(r'^# (\d+) "(.*\..)"')
|
||||
|
||||
file_stack = []
|
||||
|
|
|
|||
Loading…
Reference in a new issue