PATH:
usr
/
src
/
kernels
/
5.14.0-611.49.1.el9_7.x86_64
/
scripts
# SPDX-License-Identifier: GPL-2.0-only PHONY := __default __default: vmlinux.o include include/config/auto.conf include $(srctree)/scripts/Kbuild.include # for objtool include $(srctree)/scripts/Makefile.lib # Generate a linker script to ensure correct ordering of initcalls for Clang LTO # --------------------------------------------------------------------------- quiet_cmd_gen_initcalls_lds = GEN $@ cmd_gen_initcalls_lds = \ $(PYTHON3) $(srctree)/scripts/jobserver-exec \ $(PERL) $(real-prereqs) > $@ .tmp_initcalls.lds: $(srctree)/scripts/generate_initcall_order.pl \ $(KBUILD_VMLINUX_OBJS) $(KBUILD_VMLINUX_LIBS) FORCE $(call if_changed,gen_initcalls_lds) targets := .tmp_initcalls.lds ifdef CONFIG_LTO_CLANG initcalls-lds := .tmp_initcalls.lds endif # objtool for vmlinux.o # --------------------------------------------------------------------------- # # For LTO and IBT, objtool doesn't run on individual translation units. # Run everything on vmlinux instead. objtool-enabled := $(or $(delay-objtool),$(CONFIG_NOINSTR_VALIDATION)) vmlinux-objtool-args-$(delay-objtool) += $(objtool-args-y) vmlinux-objtool-args-$(CONFIG_GCOV_KERNEL) += --no-unreachable vmlinux-objtool-args-$(CONFIG_NOINSTR_VALIDATION) += --noinstr \ $(if $(or $(CONFIG_MITIGATION_UNRET_ENTRY),$(CONFIG_MITIGATION_SRSO)), --unret) objtool-args = $(vmlinux-objtool-args-y) --link # Link of vmlinux.o used for section mismatch analysis # --------------------------------------------------------------------------- quiet_cmd_ld_vmlinux.o = LD $@ cmd_ld_vmlinux.o = \ $(LD) ${KBUILD_LDFLAGS} -r -o $@ \ $(addprefix -T , $(initcalls-lds)) \ --whole-archive $(KBUILD_VMLINUX_OBJS) --no-whole-archive \ --start-group $(KBUILD_VMLINUX_LIBS) --end-group \ $(cmd_objtool) define rule_ld_vmlinux.o $(call cmd_and_savecmd,ld_vmlinux.o) $(call cmd,gen_objtooldep) endef vmlinux.o: $(initcalls-lds) $(KBUILD_VMLINUX_OBJS) $(KBUILD_VMLINUX_LIBS) FORCE $(call if_changed_rule,ld_vmlinux.o) targets += vmlinux.o # Add FORCE to the prequisites of a target to force it to be always rebuilt. # --------------------------------------------------------------------------- PHONY += FORCE FORCE: # Read all saved command lines and dependencies for the $(targets) we # may be building above, using $(if_changed{,_dep}). As an # optimization, we don't need to read them if the target does not # exist, we will rebuild anyway in that case. existing-targets := $(wildcard $(sort $(targets))) -include $(foreach f,$(existing-targets),$(dir $(f)).$(notdir $(f)).cmd) .PHONY: $(PHONY)
[+]
..
[-] headers_check.pl
[edit]
[+]
genksyms
[-] cleanfile
[edit]
[+]
dtc
[-] file-size.sh
[edit]
[-] cleanpatch
[edit]
[-] checkdeclares.pl
[edit]
[-] extract-cert
[edit]
[-] module.lds
[edit]
[-] decode_stacktrace.sh
[edit]
[-] profile2linkerlist.pl
[edit]
[-] extract-sys-certs.pl
[edit]
[-] Makefile.randstruct
[edit]
[-] jobserver-exec
[edit]
[-] Kbuild.include
[edit]
[-] unifdef
[edit]
[-] modules-check.sh
[edit]
[-] check_extable.sh
[edit]
[-] mkuboot.sh
[edit]
[-] Makefile.userprogs
[edit]
[+]
gcc-plugins
[-] decodecode
[edit]
[-] tools-support-relr.sh
[edit]
[-] Makefile.kcov
[edit]
[-] cc-can-link.sh
[edit]
[-] kallsyms
[edit]
[-] Lindent
[edit]
[-] recordmcount.pl
[edit]
[-] Makefile.gcc-plugins
[edit]
[-] remove-stale-files
[edit]
[-] stackusage
[edit]
[-] kernel-doc
[edit]
[-] gen_ksymdeps.sh
[edit]
[-] install.sh
[edit]
[-] get_maintainer.pl
[edit]
[-] Makefile.compiler
[edit]
[-] sorttable.c
[edit]
[-] xen-hypercalls.sh
[edit]
[-] extract-module-sig.pl
[edit]
[-] spdxcheck-test.sh
[edit]
[-] faddr2line
[edit]
[-] Makefile.package
[edit]
[-] kallsyms.c
[edit]
[-] gcc-x86_32-has-stack-protector.sh
[edit]
[-] get_abi.pl
[edit]
[-] mkcompile_h
[edit]
[-] checkpatch.pl
[edit]
[-] sign-file
[edit]
[-] Makefile
[edit]
[-] gcc-x86_64-has-stack-protector.sh
[edit]
[-] Makefile.build
[edit]
[-] leaking_addresses.pl
[edit]
[-] syscallnr.sh
[edit]
[-] markup_oops.pl
[edit]
[-] checkversion.pl
[edit]
[-] headerdep.pl
[edit]
[-] Makefile.kmsan
[edit]
[-] recordmcount.h
[edit]
[-] depmod.sh
[edit]
[-] subarch.include
[edit]
[-] Makefile.kcsan
[edit]
[-] prune-kernel
[edit]
[-] sphinx-pre-install
[edit]
[-] Makefile.extrawarn
[edit]
[-] ld-version.sh
[edit]
[+]
gdb
[+]
atomic
[-] ver_linux
[edit]
[-] Makefile.host
[edit]
[-] parse-maintainers.pl
[edit]
[-] as-version.sh
[edit]
[-] objdiff
[edit]
[-] stackdelta
[edit]
[-] tags.sh
[edit]
[-] sign-file.c
[edit]
[-] objdump-func
[edit]
[-] insert-sys-cert.c
[edit]
[-] gen_packed_field_checks.c
[edit]
[-] Makefile.modinst
[edit]
[-] coccicheck
[edit]
[-] syscalltbl.sh
[edit]
[-] documentation-file-ref-check
[edit]
[-] Makefile.asm-generic
[edit]
[-] adjust_autoksyms.sh
[edit]
[-] bin2c.c
[edit]
[-] patch-kernel
[edit]
[-] generate_rust_target.rs
[edit]
[-] config
[edit]
[-] Makefile.lib
[edit]
[-] test_fortify.sh
[edit]
[+]
mod
[-] gfp-translate
[edit]
[-] headers_install.sh
[edit]
[-] pahole-version.sh
[edit]
[-] mksysmap
[edit]
[-] find-unused-docs.sh
[edit]
[-] extract_xc3028.pl
[edit]
[-] dev-needs.sh
[edit]
[-] makelst
[edit]
[-] bloat-o-meter
[edit]
[-] gen_autoksyms.sh
[edit]
[+]
basic
[-] setlocalversion
[edit]
[-] Makefile.modpost
[edit]
[-] link-vmlinux.sh
[edit]
[-] nsdeps
[edit]
[-] gcc-ld
[edit]
[-] Makefile.vmlinux_o
[edit]
[-] recordmcount.c
[edit]
[-] min-tool-version.sh
[edit]
[-] const_structs.checkpatch
[edit]
[-] cc-version.sh
[edit]
[-] checkincludes.pl
[edit]
[-] extract-cert.c
[edit]
[+]
selinux
[+]
coccinelle
[-] get_dvb_firmware
[edit]
[+]
clang-tools
[+]
package
[-] extract-ikconfig
[edit]
[-] check-sysctl-docs
[edit]
[-] checkkconfigsymbols.py
[edit]
[-] Makefile.clean
[edit]
[-] checksyscalls.sh
[edit]
[-] split-man.pl
[edit]
[+]
ksymoops
[-] show_delta
[edit]
[-] Makefile.modfinal
[edit]
[-] sorttable
[edit]
[-] spelling.txt
[edit]
[-] extract-vmlinux
[edit]
[-] export_report.pl
[edit]
[-] Makefile.btf
[edit]
[-] asn1_compiler.c
[edit]
[-] unifdef.c
[edit]
[-] sorttable.h
[edit]
[-] get_feat.pl
[edit]
[+]
include
[+]
kconfig
[-] bpf_doc.py
[edit]
[-] syscallhdr.sh
[edit]
[-] Makefile.dtbinst
[edit]
[-] diffconfig
[edit]
[-] xz_wrap.sh
[edit]
[-] Makefile.vmlinux
[edit]
[-] checkstack.pl
[edit]
[-] bootgraph.pl
[edit]
[-] Makefile.kasan
[edit]
[-] Makefile.headersinst
[edit]
[-] generate_initcall_order.pl
[edit]
[-] asn1_compiler
[edit]
[-] Kconfig.include
[edit]
[+]
dummy-tools
[-] module.lds.S
[edit]
[-] Makefile.ubsan
[edit]