Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 25 of 33) sorted by relevance

12

/scripts/
A Dobjdiff46 dir=${1%/*}
48 if [ "$dir" = "$1" ]; then
49 dir=.
52 dir=$(cd $dir; pwd)
54 echo $TMPD/$CMT${dir#$SRCTREE}
58 dir=$(get_output_dir $1)
60 stripped=$dir/${base%.o}.stripped
61 dis=$dir/${base%.o}.dis
63 [ ! -d "$dir" ] && mkdir -p $dir
A DMakefile.vdsoinst12 install-dir := $(MODLIB)/vdso
16 dest := $(install-dir)/$$(patsubst %.dbg,%,$$(notdir $(1)))
24 link := $(install-dir)/.build-id/$$(shell $(READELF) -n $(1) | sed -n 's@^.*Build ID: \(..\)\(.*\)@…
36 cmd_install = mkdir -p $(dir $@); cp $< $@
39 cmd_symlink = mkdir -p $(dir $@); ln -sf --relative $< $@
A Dsphinx-pre-install163 foreach my $dir (split(/:/, $ENV{PATH})) {
164 next if ($dir =~ m,($cur_dir)/sphinx,);
165 return "$dir/python3" if(-x "$dir/python3");
167 foreach my $dir (split(/:/, $ENV{PATH})) {
168 next if ($dir =~ m,($cur_dir)/sphinx,);
169 return "$dir/python" if(-x "$dir/python");
338 foreach my $dir(@path) {
339 my $name = $dir.'/'.$file;
A Dget_abi.py64 parser = AbiParser(args.dir, debug=args.debug)
89 parser = AbiParser(args.dir, debug=args.debug)
112 parser = AbiParser(args.dir, debug=args.debug)
170 abi = AbiRegex(args.dir, debug=args.debug,
A DMakefile.headersinst53 existing-dirs := $(sort $(dir $(old-headers)))
54 wanted-dirs := $(sort $(dir $(all-headers)))
79 -include $(foreach f,$(existing-headers),$(dir $(f)).$(notdir $(f)).cmd)
A Ddecode_stacktrace.sh105 for dir in "$modpath" "$(dirname "$vmlinux")" ${release_dirs}; do
106 if [ -n "${dir}" ] && [ -e "${dir}" ]; then
107 for fn in $(find "$dir" -name "${module//_/[-_]}.ko*") ; do
A DMakefile.modinst120 $(foreach dir, $(sort $(dir $(install-y))), $(shell mkdir -p $(dir)))
A DMakefile.package176 dir-tarballs := $(addprefix linux-$(KERNELRELEASE)-$(ARCH), .tar .tar.gz .tar.bz2 .tar.xz .tar.zst)
178 $(dir-tarballs): tar-install
181 PHONY += dir-pkg
182 dir-pkg: tar-install
202 cmd_perf_version_file = cd $(srctree)/tools/perf; util/PERF-VERSION-GEN $(dir $(abspath $@))
264 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)
A DMakefile.dtbinst34 $(foreach d, $(sort $(dir $(dtbs))), $(eval $(call gen_install_rules,$(d))))
A DKbuild.include36 dot-target = $(dir $@).$(notdir $@)
40 tmp-target = $(dir $@).tmp_$(notdir $@)
100 mkdir -p $(dir $@); \
112 # $(Q)$(MAKE) $(build)=dir
118 # $(Q)$(MAKE) $(clean)=dir
229 # (4) The command line stored in the file named dir/.target.cmd
232 # (5) No dir/.target.cmd file (used to store command line)
233 # (6) No dir/.target.cmd file and target not listed in $(targets)
A Dgenerate_rust_analyzer.py155 extra_dirs = map(lambda dir: srctree / dir, ("samples", "drivers"))
A DMakefile.clang28 GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)elfedit))
A DMakefile.host93 hostrust_flags = --out-dir $(dir $@) --emit=dep-info=$(depfile) \
A DMakefile.build335 --out-dir $(dir $@) --emit=dep-info=$(depfile)
578 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)
581 obj-dirs := $(sort $(patsubst %/,%, $(dir $(targets))))
583 existing-dirs := $(sort $(patsubst %/,%, $(dir $(existing-targets))))
A DMakefile.compiler84 --crate-type=rlib --out-dir=$(TMPOUT) --emit=obj=- - >/dev/null,$(3),$(4))
A DMakefile.modfinal76 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)
A DMakefile.vmlinux_o113 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)
A DMakefile.modpost155 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)
/scripts/bash-completion/
A Dmake18 for dir in "${dirs[@]}"; do
19 if [[ ! -d ${dir} || ${dir} = "${this_dir}" ]]; then
24 compfile=$dir/$compfile
341 dir=${cur}
344 dir=${dir%/*}
346 dir=.
367 SRCARCH=${srcarch} obj=${dir} src=${srctree}/${dir} \
381 dir=${cur%/*}
383 dir=.
391 if [[ ${dir} != . ]]; then
[all …]
/scripts/dtc/
A Dsrcpos.c34 char *dir = xmalloc(len + 1); in get_dirname() local
36 memcpy(dir, path, len); in get_dirname()
37 dir[len] = '\0'; in get_dirname()
38 return dir; in get_dirname()
138 cur_dir = current_srcfile->dir; in fopen_any_on_path()
184 srcfile->dir = get_dirname(srcfile->name); in srcfile_push()
A Dsrcpos.h16 char *dir; member
A Ddt_to_config536 my ($dir, $base) = $driver =~ m{(.*)/(.*).c};
538 my $makefile = $dir . "/Makefile";
540 $makefile = $dir . "/Kbuild";
/scripts/mod/
A Dsumversion.c306 char *cmd, *file, *line, *dir, *pos; in parse_source_files() local
316 dir = xmalloc(dirlen + 1); in parse_source_files()
317 strncpy(dir, objfile, dirlen); in parse_source_files()
318 dir[dirlen] = '\0'; in parse_source_files()
367 if ((strstr(line, dir)+strlen(dir)-1) == strrchr(line, '/')) { in parse_source_files()
382 free(dir); in parse_source_files()
/scripts/clang-tools/
A Dgen_compile_commands.py108 dir, base = os.path.split(path)
109 return os.path.join(dir, '.' + base + '.cmd')
/scripts/kconfig/
A Dstreamline_config.pl374 foreach my $dir ( ("/sbin", "/bin", "/usr/sbin", "/usr/bin") ) {
375 if ( -x "$dir/lsmod" ) {
376 $lsmod = "$dir/lsmod";

Completed in 28 milliseconds

12