Lines Matching +full:make +full:- +full:git +full:- +full:archive
2 # SPDX-License-Identifier: GPL-2.0
26 _EXCLUDE_DIRS = ['.git', 'Documentation', 'include', 'tools']
29 """Sets up and parses command-line arguments.
35 output: Where to write the compile-commands JSON file.
43 parser.add_argument('-d', '--directory', type=str, default='.',
48 parser.add_argument('-o', '--output', type=str, default=_DEFAULT_OUTPUT,
53 parser.add_argument('--log_level', choices=_VALID_LOG_LEVELS,
57 parser.add_argument('-a', '--ar', type=str, default='llvm-ar', help=ar_help)
112 def cmdfiles_for_a(archive, ar):
113 """Generate the iterator of .cmd files associated with the archive.
115 Parse the given archive, and yield every .cmd file used to build it.
118 archive: The archive to parse
123 for obj in subprocess.check_output([ar, '-t', archive]).decode().split():
169 # The .cmd files are intended to be included directly by Make, so they
171 # is not interepreted by Make, so this code replaces the escaped version
200 # built-in objects are linked via vmlinux.a