| /scripts/ |
| D | Makefile.extrawarn | 19 KBUILD_CFLAGS += $(call cc-disable-warning, frame-address) 20 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member) 36 KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow-non-kprintf) 37 KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation-non-kprintf) 49 KBUILD_CFLAGS += $(call cc-disable-warning, default-const-init-unsafe) 57 KBUILD_CFLAGS += $(call cc-disable-warning, dangling-pointer) 68 KBUILD_CFLAGS += $(call cc-option, -Wcast-function-type) 71 KBUILD_CFLAGS-$(CONFIG_CC_NO_STRINGOP_OVERFLOW) += $(call cc-disable-warning, stringop-overflow) 72 KBUILD_CFLAGS-$(CONFIG_CC_STRINGOP_OVERFLOW) += $(call cc-option, -Wstringop-overflow) 75 KBUILD_CFLAGS += $(call cc-disable-warning, unterminated-string-initialization) [all …]
|
| D | Makefile.compiler | 34 as-option = $(call try-run,\ 40 as-instr = $(call try-run,\ 45 __cc-option = $(call try-run,\ 51 cc-option = $(call __cc-option, $(CC),\ 56 cc-option-yn = $(if $(call cc-option,$1),y,n) 60 cc-disable-warning = $(call cc-option,-Wno-$(strip $1)) 64 gcc-min-version = $(call test-ge, $(CONFIG_GCC_VERSION), $1) 68 clang-min-version = $(call test-ge, $(CONFIG_CLANG_VERSION), $1) 72 rustc-min-version = $(call test-ge, $(CONFIG_RUSTC_VERSION), $1) 76 ld-option = $(call try-run, $(LD) $(KBUILD_LDFLAGS) $(1) -v,$(1),$(2),$(3)) [all …]
|
| D | Makefile.btf | 6 ifeq ($(call test-le, $(pahole-ver), 125),y) 9 ifeq ($(call test-le, $(pahole-ver), 121),y) 10 pahole-flags-$(call test-ge, $(pahole-ver), 118) += --skip_encoding_btf_vars 13 pahole-flags-$(call test-ge, $(pahole-ver), 121) += --btf_gen_floats 15 pahole-flags-$(call test-ge, $(pahole-ver), 122) += -j1 17 pahole-flags-$(call test-ge, $(pahole-ver), 125) += --skip_encoding_btf_inconsistent_proto --btf_ge… 22 pahole-flags-$(call test-ge, $(pahole-ver), 126) = -j --btf_features=encode_force,var,float,enum64… 25 module-pahole-flags-$(call test-ge, $(pahole-ver), 126) += --btf_features=distilled_base
|
| D | Makefile.kcsan | 13 …$(call cc-option,$(call cc-param,tsan-compound-read-before-write=1),$(call cc-option,$(call cc-par… 14 $(call cc-param,tsan-distinguish-volatile=1) 23 kcsan-cflags += $(call cc-option,$(call cc-param,tsan-instrument-func-entry-exit=0))
|
| D | Makefile.build | 102 $(call if_changed_dep,cc_s_c) 108 $(call if_changed_dep,cpp_i_c) 124 $(call getexportsymbols,\1) | $(gendwarfksyms) $@) 130 cmd_cc_symtypes_c = $(call cmd_gensymtypes_c,true,$@) >/dev/null 133 $(call cmd,cc_symtypes_c) 141 $(call if_changed_dep,cc_ll_c) 172 $(call cmd_gensymtypes_$(1),$(KBUILD_SYMTYPES),$(@:.o=.symtypes)) \ 176 cmd_gen_symversions_c = $(call gen_symversions,c) 222 $(call cmd_and_fixdep,cc_o_c) 223 $(call cmd,checksrc) [all …]
|
| D | Makefile.kasan | 14 cc-param = $(call cc-option, -mllvm -$(1), $(call cc-option, --param $(1))) 15 rustc-param = $(call rustc-option, -Cllvm-args=-$(1),) 17 check-args = $(foreach arg,$(2),$(call $(1),$(arg))) 44 CFLAGS_KASAN := $(call cc-option, -fsanitize=kernel-address \ 46 $(call cc-option, -fsanitize=kernel-address \ 58 kasan_params += asan-instrumentation-with-call-threshold=$(call_threshold) \ 101 CFLAGS_KASAN += $(call check-args, cc-param, $(kasan_params)) 105 RUSTFLAGS_KASAN += $(call check-args, rustc-param, $(kasan_params))
|
| D | Makefile.modinst | 22 $(call cmd,symlink) 28 $(call cmd,install_modorder) 39 $(call cmd,install) 43 modules := $(call read-file, $(MODORDER)) 127 $(call cmd,install) 128 $(call cmd,strip) 129 $(call cmd,sign) 133 $(call cmd,install) 144 $(call cmd,depmod) 153 $(call cmd,sign) [all …]
|
| D | Makefile.dtbs | 7 multi-dtb-y := $(call multi-search, $(dtb-y), .dtb, -dtbs) 9 real-dtb-y := $(call real-search, $(dtb-y), .dtb, -dtbs) 11 base-dtb-y := $(filter %.dtb, $(call real-search, $(multi-dtb-y), .dtb, -dtbs)) 32 $(call if_changed,gen_order) 55 $(call if_changed,wrap_S_dtb) 58 $(call if_changed,wrap_S_dtb) 85 $(call if_changed,fdtoverlay) 86 $(call multi_depend, $(multi-dtb-y), .dtb, -dtbs) 133 $(call if_changed_dep,dtc) 136 $(call if_changed_dep,dtc) [all …]
|
| D | Makefile.host | 9 $(call if_changed,flex) 17 $(call if_changed,bison) 116 $(call if_changed_dep,host-csingle) 125 $(call if_changed,host-cmulti) 126 $(call multi_depend, $(host-cmulti), , -objs) 133 $(call if_changed_dep,host-cobjs) 143 $(call if_changed,host-cxxmulti) 144 $(call multi_depend, $(host-cxxmulti), , -objs -cxxobjs) 150 $(call if_changed_dep,host-cxxobjs) 159 +$(call if_changed_dep,host-rust) [all …]
|
| D | Makefile.dtbinst | 23 $(call cmd,dtb_install) 25 dtbs := $(patsubst $(obj)/%,%,$(call read-file, $(obj)/dtbs-list)) 31 $$(call cmd,dtb_install) 34 $(foreach d, $(sort $(dir $(dtbs))), $(eval $(call gen_install_rules,$(d))))
|
| D | Makefile.vmlinux_o | 22 $(call if_changed,gen_initcalls_lds) 60 $(call cmd_and_savecmd,ld_vmlinux.o) 61 $(call cmd,gen_objtooldep) 65 $(call if_changed_rule,ld_vmlinux.o) 76 $(call if_changed,objcopy) 91 $(call if_changed,modules_builtin)
|
| D | Makefile.modfinal | 18 modules := $(call read-file, $(MODORDER)) 33 $(call if_changed_dep,cc_o_c) 36 $(call if_changed_dep,cc_o_c) 62 if_changed_except = $(if $(call newer_prereqs_except,$(2))$(cmd-check), \ 68 +$(call if_changed_except,ld_ko_o,$(mixed-build-prefix)vmlinux) 70 +$(if $(newer-prereqs),$(call cmd,btf_ko))
|
| D | Makefile.userprogs | 29 $(call if_changed_dep,user_cc_c) 36 $(call if_changed,user_ld) 37 $(call multi_depend, $(user-cmulti), , -objs) 43 $(call if_changed_dep,user_cc_o_c)
|
| D | Makefile.lib | 51 multi-search = $(sort $(foreach m, $1, $(if $(call suffix-search, $m, $2, $3 -), $m))) 53 real-search = $(foreach m, $1, $(if $(call suffix-search, $m, $2, $3 -), $(call suffix-search, $m, … 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) 62 real-obj-y := $(call real-search, $(obj-y), .o, -objs -y) 63 real-obj-m := $(call real-search, $(obj-m), .o, -objs -y -m) 95 $(if $(filter $*.o, $(call suffix-search, $m, .o, -objs -y -m)),$(m:.o=)))) 109 name-fix = $(call stringify,$(call name-fix-token,$1)) 110 basename_flags = -DKBUILD_BASENAME=$(call name-fix,$(basetarget)) 111 modname_flags = -DKBUILD_MODNAME=$(call name-fix,$(modname)) \ [all …]
|
| D | Makefile.vdsoinst | 20 $$(call cmd,install) 28 $$(call cmd,symlink) 33 $(foreach x, $(sort $(INSTALL_FILES)), $(eval $(call gen_install_rules,$(x))))
|
| D | Makefile.asm-headers | 74 $(if $(unwanted),$(call cmd,remove)) 78 $(call cmd,wrap) 81 $(call if_changed,syshdr) 85 $(call if_changed,syshdr) 88 $(call if_changed,systbl)
|
| D | Makefile.defconf | 16 $(call cmd,merge_fragments,$1,$2) 28 $(call cmd,merge_fragments,$1,$2,-Q)
|
| D | Makefile.vmlinux | 18 $(call if_changed_dep,cc_o_c) 45 +$(call if_changed_dep,link_vmlinux) 62 $(call if_changed,modules_builtin_ranges)
|
| D | Makefile.package | 13 $(call filechk,HEAD) 45 $(call if_changed,archive) 54 $(call cmd,mkspec) 103 $(call cmd,debianize) 179 $(call cmd,tar) 199 $(call cmd,copy) 208 $(call cmd,perf_version_file) 220 $(call if_changed,archive)
|
| D | Makefile.headersinst | 63 $(call if_changed,install) 66 $(call if_changed,install) 73 $(call cmd,remove)
|
| /scripts/kconfig/ |
| D | Makefile | 56 $(foreach c, config menuconfig nconfig gconfig xconfig, $(eval $(call config_rule,$(c)))) 105 all-config-fragments = $(call configfiles,*.config) 106 config-fragments = $(call configfiles,$@) 112 $(call cmd,merge_fragments) 181 HOSTLDLIBS_nconf = $(call read-file, $(obj)/nconf-libs) 182 HOSTCFLAGS_nconf.o = $(call read-file, $(obj)/nconf-cflags) 183 HOSTCFLAGS_nconf.gui.o = $(call read-file, $(obj)/nconf-cflags) 194 HOSTLDLIBS_mconf = $(call read-file, $(obj)/mconf-libs) 196 $(eval HOSTCFLAGS_$f = $$(call read-file, $(obj)/mconf-cflags))) 206 HOSTLDLIBS_qconf = $(call read-file, $(obj)/qconf-libs) [all …]
|
| /scripts/gcc-plugins/ |
| D | Makefile | 13 $(call if_changed,create_randomize_layout_seed) 31 -DPLUGIN_VERSION=$(call stringify,$(KERNELVERSION)) \ 54 $(call if_changed_dep,plugin_cxx_so_c) 61 $(call if_changed,plugin_ld_so_o) 68 $(call if_changed_dep,plugin_cxx_o_c)
|
| /scripts/gdb/linux/ |
| D | Makefile | 12 $(call if_changed,symlink) 23 $(call if_changed_dep,gen_constants_py)
|
| /scripts/coccinelle/api/ |
| D | d_find_alias.cocci | 2 /// Make sure calls to d_find_alias() have a corresponding call to dput(). 61 cocci.print_main("Missing call to dput()",p1) 80 msg = "Missing call to dput() at line %s."
|
| /scripts/mod/ |
| D | Makefile | 12 $(call filechk,offsets,__DEVICETABLE_OFFSETS_H__) 25 $(call if_changed,elfconfig)
|