Lines Matching refs:kernel_root
77 def checkInclude(self, line, from_file, kernel_root=None): argument
80 if kernel_root and not m:
88 if kernel_root and relative:
90 hdr_dir = hdr_dir.replace("%s/" % os.path.realpath(kernel_root),
106 def parseFile(self, path, arch=None, kernel_root=None): argument
123 (kernel_root and HeaderScanner.re_rel_dir.match(line))):
136 if kernel_root:
144 self.checkInclude(inc, path, kernel_root)
197 def __init__(self,headers,archs,kernel_root,kernel_config): argument
206 if len(kernel_root) > 0 and kernel_root[-1] != "/":
207 kernel_root += "/"
211 self.kernel_root = kernel_root
252 fparser.parseFile(self.kernel_root + path,
253 arch=self.curr_arch, kernel_root=self.kernel_root)