HomeSort by relevance Sort by last modified time
    Searched refs:kernel_root (Results 1 - 2 of 2) sorted by null

  /bionic/libc/kernel/tools/
find_headers.py 60 kernel_root = args[0] variable
61 if not os.path.exists(kernel_root):
62 sys.stderr.write( "error: directory '%s' does not exist\n" % kernel_root )
65 if not os.path.isdir(kernel_root):
66 sys.stderr.write( "error: '%s' is not a directory\n" % kernel_root )
69 if not os.path.isdir(kernel_root+"/include/linux"):
70 sys.stderr.write( "error: '%s' does not have an 'include/linux' directory\n" % kernel_root )
84 for archdir in os.listdir(kernel_root+"/arch"):
85 if os.path.exists("%s/arch/%s/include/asm" % (kernel_root, archdir)):
96 if os.path.isdir(kernel_root+"/asm")
    [all...]
kernel.py 77 def checkInclude(self, line, from_file, kernel_root=None):
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):
123 (kernel_root and HeaderScanner.re_rel_dir.match(line))):
137 if kernel_root:
145 self.checkInclude(inc, path, kernel_root)
198 def __init__(self,headers,archs,kernel_root,kernel_config):
203 'kernel_root' is the path to the 'include' director
    [all...]

Completed in 177 milliseconds