Home
last modified time | relevance | path

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

/scripts/
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
DMakefile.clean14 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src))
15 include $(if $(wildcard $(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-dir)/Makefile)
Dheaders_check.pl26 my ($dir, $arch, @files) = @ARGV;
56 $found = stat($dir . "/" . $inc);
59 $found = stat($dir . "/" . $inc);
120 my @file_paths = ($path, $dir . "/" . $path, dirname($filename) . "/" . $path);
Dsphinx-pre-install159 foreach my $dir (split(/:/, $ENV{PATH})) {
160 next if ($dir =~ m,($cur_dir)/sphinx,);
161 return "$dir/python3" if(-x "$dir/python3");
163 foreach my $dir (split(/:/, $ENV{PATH})) {
164 next if ($dir =~ m,($cur_dir)/sphinx,);
165 return "$dir/python" if(-x "$dir/python");
348 foreach my $dir(@path) {
349 my $name = $dir.'/'.$file;
DMakefile.modsign22 ext-mod-dir = $(INSTALL_MOD_DIR)$(subst $(patsubst %/,%,$(KBUILD_EXTMOD)),,$(@D))
24 modinst_dir = $(if $(KBUILD_EXTMOD),$(ext-mod-dir),kernel/$(@D))
DMakefile.modinst28 ext-mod-dir = $(INSTALL_MOD_DIR)$(subst $(patsubst %/,%,$(KBUILD_EXTMOD)),,$(@D))
30 modinst_dir = $(if $(KBUILD_EXTMOD),$(ext-mod-dir),kernel/$(@D))
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)
DMakefile.package106 tar-pkgs := dir-pkg tar-pkg targz-pkg tarbz2-pkg tarxz-pkg
119 git --git-dir=$(srctree)/.git archive --prefix=$(perf-tar)/ \
124 git --git-dir=$(srctree)/.git rev-parse HEAD > $(perf-tar)/HEAD; \
DMakefile.build42 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src))
43 kbuild-file := $(if $(wildcard $(kbuild-dir)/Kbuild),$(kbuild-dir)/Kbuild,$(kbuild-dir)/Makefile)
535 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)
538 obj-dirs := $(sort $(patsubst %/,%, $(dir $(targets))))
540 existing-dirs := $(sort $(patsubst %/,%, $(dir $(existing-targets))))
DKbuild.include16 dot-target = $(dir $@).$(notdir $@)
61 mkdir -p $(dir $@); \
157 # $(Q)$(MAKE) $(build)=dir
163 # $(Q)$(MAKE) $(dtbinst)=dir
169 # $(Q)$(MAKE) $(clean)=dir
269 # (4) The command line stored in the file named dir/.target.cmd
272 # (5) No dir/.target.cmd file (used to store command line)
273 # (6) No dir/.target.cmd file and target not listed in $(targets)
DMakefile.modfinal96 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)
Dasn1_compiler.c320 const char *const *pdir = _pdir, *dir = *pdir; in directive_compare() local
324 dlen = strlen(dir); in directive_compare()
329 val = memcmp(token->content, dir, clen); in directive_compare()
412 const char **dir; in tokenise() local
442 dir = bsearch(&tokens[tix], directives, in tokenise()
446 if (dir) { in tokenise()
447 tokens[tix++].token_type = dir - directives; in tokenise()
DMakefile.modpost182 -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd)
DMakefile.lib363 $(addprefix -i,$(dir $<) $(DTC_INCLUDE)) $(DTC_FLAGS) \
/scripts/dtc/
Dsrcpos.c32 char *dir = xmalloc(len + 1); in get_dirname() local
34 memcpy(dir, path, len); in get_dirname()
35 dir[len] = '\0'; in get_dirname()
36 return dir; in get_dirname()
136 cur_dir = current_srcfile->dir; in fopen_any_on_path()
182 srcfile->dir = get_dirname(srcfile->name); in srcfile_push()
Dsrcpos.h16 char *dir; member
Ddt_to_config536 my ($dir, $base) = $driver =~ m{(.*)/(.*).c};
538 my $makefile = $dir . "/Makefile";
540 $makefile = $dir . "/Kbuild";
Ddtx_diff313 'export KBUILD_OUTPUT=\${dir}' or add \${dir}/scripts/dtc to \$PATH
/scripts/mod/
Dsumversion.c306 char *cmd, *file, *line, *dir, *pos; in parse_source_files() local
321 dir = NOFAIL(malloc(dirlen + 1)); in parse_source_files()
322 strncpy(dir, objfile, dirlen); in parse_source_files()
323 dir[dirlen] = '\0'; in parse_source_files()
372 if ((strstr(line, dir)+strlen(dir)-1) == strrchr(line, '/')) { in parse_source_files()
387 free(dir); in parse_source_files()
/scripts/package/
Dbuildtar27 dir-pkg|tar-pkg)
140 if [ "${1}" = dir-pkg ]; then
/scripts/kconfig/
Dstreamline_config.pl372 foreach my $dir ( ("/sbin", "/bin", "/usr/sbin", "/usr/bin") ) {
373 if ( -x "$dir/lsmod" ) {
374 $lsmod = "$dir/lsmod";
/scripts/clang-tools/
Dgen_compile_commands.py100 dir, base = os.path.split(path)
101 return os.path.join(dir, '.' + base + '.cmd')
/scripts/basic/
Dfixdep.c141 static void print_dep(const char *m, int slen, const char *dir) in print_dep() argument
145 xprintf(" $(wildcard %s/", dir); in print_dep()
/scripts/gcc-plugins/
Dgcc-common.h146 void debug_dominance_info(enum cdi_direction dir);
147 void debug_dominance_tree(enum cdi_direction dir, basic_block root);