Lines Matching refs:kernel_root
68 kernel_root = wanted_include
69 if not os.path.exists(kernel_root):
70 sys.stderr.write( "error: directory '%s' does not exist\n" % kernel_root )
73 if not os.path.isdir(kernel_root):
74 sys.stderr.write( "error: '%s' is not a directory\n" % kernel_root )
77 if not os.path.isdir(kernel_root+"/linux"):
78 sys.stderr.write( "error: '%s' does not have a 'linux' directory\n" % kernel_root )
92 for dir in os.listdir(kernel_root):
104 if os.path.isdir(kernel_root+"/asm"):
153 hparser = kernel.KernelHeaderFinder(headers,archs,kernel_root,kernel_config)