Lines Matching refs:path
33 def rm_kconfig_include(path):
34 """Remove a path from Kconfig files
36 This function finds the given path in a 'source' statement in a Kconfig
37 file and removes that line from the file. This is needed because the path
44 path: Path to search for and remove
46 cmd = ['git', 'grep', path]
52 print("Fixing up '%s' to remove reference to '%s'" % (fname, path))
53 cmd = ['sed', '-i', '\|%s|d' % path, fname]
99 for path in paths:
100 if path[-1] == '/':
101 path = path[:-1]
102 if '*' in path:
103 globbed = glob.glob(path)
104 print("Expanded '%s' to '%s'" % (path, globbed))
107 real.append(path)
111 for path in real:
112 cmd = ['find', path]