Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 30) sorted by relevance

12

/scripts/mod/
DMakefile11 $(obj)/$(devicetable-offsets-file): $(obj)/devicetable-offsets.s FORCE
18 $(obj)/modpost.o $(obj)/file2alias.o $(obj)/sumversion.o $(obj)/symsearch.o: $(obj)/elfconfig.h
19 $(obj)/file2alias.o: $(obj)/$(devicetable-offsets-file)
22 cmd_elfconfig = $(obj)/mk_elfconfig < $< > $@
24 $(obj)/elfconfig.h: $(obj)/empty.o $(obj)/mk_elfconfig FORCE
/scripts/kconfig/
DMakefile49 $(1): $(obj)/$($(1)-prog)
53 build_$(1): $(obj)/$($(1)-prog)
59 localyesconfig localmodconfig: $(obj)/conf
84 $(simple-targets): $(obj)/conf
89 savedefconfig: $(obj)/conf
92 defconfig: $(obj)/conf
101 %_defconfig: $(obj)/conf
110 %.config: $(obj)/conf
122 testconfig: $(obj)/conf
124 -o cache_dir=$(abspath $(obj)/tests/.cache) \
[all …]
Dstreamline_config.pl329 foreach my $obj (split /\s+/,$objs) {
330 $obj =~ s/-/_/g;
331 if ($obj =~ /(.*)\.o$/) {
/scripts/
DMakefile.build6 src := $(if $(VPATH),$(VPATH)/)$(obj)
8 PHONY := $(obj)/
9 $(obj)/:
14 obj-y :=
15 obj-m :=
44 ifndef obj
49 ifneq ($(obj-m),)
50 $(warning $(patsubst %.o,'%.ko',$(obj-m)) will not be built even though obj-m is specified.)
51 $(warning You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead.)
58 subdir-builtin := $(sort $(filter %/built-in.a, $(real-obj-y)))
[all …]
Dcheck_extable.sh5 obj=$1
7 file ${obj} | grep -q ELF || (echo "${obj} is not an ELF file." 1>&2 ; exit 0)
10 objdump -hj __ex_table ${obj} 2> /dev/null > /dev/null
15 suspicious_relocs=$(objdump -rj __ex_table ${obj} | tail -n +6 |
33 …eval $(objdump -t ${obj} | grep ${1} | sed 's/\([0-9a-f]\+\) .\{7\} \([^ \t]\+\).*/section="\2"; s…
55 …eval $(objdump -rj .altinstructions ${obj} | grep -B1 "${section}+${section_offset}" | head -n1 | …
65 addr2line -fip -j ${alt_target_section} -e ${obj} ${alt_target_offset} | awk '{print "\t" $0}'
72 objdump -hwj ${section} ${obj} | grep -q CODE
84 addr2line -fip -j ${section} -e ${obj} ${section_offset} | awk '{print "\t" $0}'
134 objdump -hj .debug_info ${obj} 2> /dev/null > /dev/null ||
[all …]
DMakefile.lib18 obj-m := $(filter-out $(obj-y),$(obj-m))
22 lib-y := $(filter-out $(obj-y), $(sort $(lib-y) $(lib-m)))
26 $(patsubst %/,%, $(filter %/, $(obj-y) $(obj-m))))
37 obj-m := $(patsubst %/,%/modules.order, $(filter %/, $(obj-y)) $(obj-m))
39 obj-m := $(filter-out %/, $(obj-m))
43 obj-y := $(patsubst %/, %/built-in.a, $(obj-y))
45 obj-y := $(filter-out %/, $(obj-y))
56 multi-obj-y := $(call multi-search, $(obj-y), .o, -objs -y)
57 multi-obj-m := $(call multi-search, $(obj-m), .o, -objs -y -m)
58 multi-obj-ym := $(multi-obj-y) $(multi-obj-m)
[all …]
DMakefile.host8 $(obj)/%.lex.c: $(src)/%.l FORCE
16 $(obj)/%.tab.c $(obj)/%.tab.h: $(src)/%.y FORCE
73 host-csingle := $(addprefix $(obj)/,$(host-csingle))
74 host-cmulti := $(addprefix $(obj)/,$(host-cmulti))
75 host-cobjs := $(addprefix $(obj)/,$(host-cobjs))
76 host-cxxmulti := $(addprefix $(obj)/,$(host-cxxmulti))
77 host-cxxobjs := $(addprefix $(obj)/,$(host-cxxobjs))
78 host-rust := $(addprefix $(obj)/,$(host-rust))
102 hostc_flags += -I $(objtree)/$(obj)
103 hostcxx_flags += -I $(objtree)/$(obj)
[all …]
DMakefile.clean6 src := $(if $(VPATH),$(VPATH)/)$(obj)
18 $(patsubst %/,%, $(filter %/, $(obj-y) $(obj-m) $(obj-))))
22 subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn))
36 __clean-files := $(wildcard $(addprefix $(obj)/, $(__clean-files)))
42 quiet_cmd_clean = CLEAN $(obj)
43 cmd_clean = printf '$(obj)/%s ' $(patsubst $(obj)/%,%,$(__clean-files)) | xargs rm -rf
DMakefile.dtbs13 dtb-y := $(addprefix $(obj)/, $(dtb-y))
14 multi-dtb-y := $(addprefix $(obj)/, $(multi-dtb-y))
15 real-dtb-y := $(addprefix $(obj)/, $(real-dtb-y))
26 always-y += $(obj)/dtbs-list
29 $(subdir-dtbslist): $(obj)/%/dtbs-list: $(obj)/% ;
31 $(obj)/dtbs-list: $(dtb-y) FORCE
37 builtin-dtb-section = $(if $(filter arch/$(SRCARCH)/boot/dts%, $(obj)),.dtb.init.rodata,.rodata)
54 $(obj)/%.dtb.S: $(obj)/%.dtb FORCE
57 $(obj)/%.dtbo.S: $(obj)/%.dtbo FORCE
114 DTC_FLAGS += $(if $(filter $(patsubst $(obj)/%,%,$@), $(base-dtb-y)), -@)
[all …]
DMakefile.asm-headers16 src := $(srctree)/$(subst /generated,,$(obj))
46 generic-y := $(addprefix $(obj)/, $(generic-y))
47 syscall-y := $(addprefix $(obj)/, $(syscall-y))
48 generated-y := $(addprefix $(obj)/, $(generated-y))
51 old-headers := $(wildcard $(obj)/*.h)
77 $(obj)/%.h: $(srctree)/$(generic)/%.h
80 $(obj)/unistd_%.h: $(syscalltbl) $(syshdr) FORCE
83 $(obj)/unistd_compat_%.h: syscall_compat:=1
84 $(obj)/unistd_compat_%.h: $(syscalltbl) $(syshdr) FORCE
87 $(obj)/syscall_table_%.h: $(syscalltbl) $(systbl) FORCE
[all …]
DMakefile.userprogs15 user-csingle := $(addprefix $(obj)/, $(user-csingle))
16 user-cmulti := $(addprefix $(obj)/, $(user-cmulti))
17 user-cobjs := $(addprefix $(obj)/, $(user-cobjs))
28 $(user-csingle): $(obj)/%: $(src)/%.c FORCE
34 $(addprefix $(obj)/, $($(target-stem)-objs)) $(user_ldlibs)
42 $(user-cobjs): $(obj)/%.o: $(src)/%.c FORCE
DMakefile.dtbinst22 $(dst)/%: $(obj)/%
25 dtbs := $(patsubst $(obj)/%,%,$(call read-file, $(obj)/dtbs-list))
30 $(dst)/%: $(obj)/$(1)%
Dverify_builtin_ranges.awk15 function get_module_info(fn, mod, obj, s) {
22 obj = fn;
56 omod[obj] = mod;
Dgenerate_builtin_ranges.awk15 function get_module_info(fn, mod, obj, s) {
22 obj = fn;
48 omod[obj] = mod;
DMakefile.headersinst17 src := $(srctree)/$(obj)
18 gen := $(objtree)/$(subst include/,include/generated/,$(obj))
DMakefile.modpost182 obj := $(KBUILD_EXTMOD)
183 src := $(if $(VPATH),$(VPATH)/)$(obj)
/scripts/gcc-plugins/
DMakefile3 $(obj)/randomize_layout_plugin.so: $(obj)/randomize_layout_seed.h
12 $(obj)/randomize_layout_seed.h: $(objtree)/scripts/basic/randstruct.seed FORCE
32 -I $(GCC_PLUGINS_DIR)/include -I $(obj) \
46 plugin-single := $(addprefix $(obj)/, $(plugin-single))
47 plugin-multi := $(addprefix $(obj)/, $(plugin-multi))
48 plugin-objs := $(addprefix $(obj)/, $(plugin-objs))
53 $(plugin-single): $(obj)/%.so: $(src)/%.c FORCE
58 $(addprefix $(obj)/, $($(target-stem)-objs))
62 $(foreach m, $(notdir $(plugin-multi)), $(eval $(obj)/$m: $(addprefix $(obj)/, $($(m:%.so=%-objs)))…
67 $(plugin-objs): $(obj)/%.o: $(src)/%.c FORCE
/scripts/include/
Dhashtable.h59 #define hash_for_each(table, obj, member) \ argument
61 hlist_for_each_entry(obj, &table[_bkt], member)
71 #define hash_for_each_safe(table, obj, tmp, member) \ argument
73 hlist_for_each_entry_safe(obj, tmp, &table[_bkt], member)
83 #define hash_for_each_possible(table, obj, member, key) \ argument
84 hlist_for_each_entry(obj, hash_head(table, key), member)
95 #define hash_for_each_possible_safe(table, obj, tmp, member, key) \ argument
96 hlist_for_each_entry_safe(obj, tmp, hash_head(table, key), member)
/scripts/genksyms/
DMakefile20 $(obj)/pars%.tab.c $(obj)/pars%.tab.h: $(src)/pars%.y FORCE
30 $(obj)/lex.lex.o: $(obj)/parse.tab.h
/scripts/gdb/linux/
DMakefile8 cmd_symlink = ln -fsn $(patsubst $(obj)/%,$(abspath $(src))/%,$@) $@
11 $(addprefix $(obj)/, $(symlinks)): FORCE
22 $(obj)/constants.py: $(src)/constants.py.in FORCE
Dslab.py60 def get_orig_size(cache, obj): argument
62 p = mm.page_ops().ops.kasan_reset_tag(obj)
85 def __obj_to_index(cache, addr, obj): argument
86 …return reciprocal_divide(int(mm.page_ops().ops.kasan_reset_tag(obj)) - addr, cache['reciprocal_siz…
105 def get_freepointer(cache, obj): argument
106 obj = mm.page_ops().ops.kasan_reset_tag(obj)
107 ptr_addr = obj + cache['offset']
Dsymbols.py153 for obj in gdb.objfiles():
154 if (obj.filename.endswith('vmlinux') or
155 obj.filename.endswith('vmlinux.debug')):
156 orig_vmlinux = obj.filename
/scripts/clang-tools/
Dgen_compile_commands.py123 for obj in subprocess.check_output([ar, '-t', archive]).decode().split():
124 yield to_cmdfile(obj)
141 obj = line.rstrip()
142 base, ext = os.path.splitext(obj)
144 sys.exit('{}: module path must end with .o'.format(obj))
/scripts/dtc/
DMakefile27 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
/scripts/basic/
DMakefile14 $(obj)/randstruct.seed: $(gen-randstruct-seed) FORCE

12