Pull Kbuild updates from Masahiro Yamada: - Remove potentially incomplete targets when Kbuid is interrupted by SIGINT etc in case GNU Make may miss to do that when stderr is piped to another program. - Rewrite the single target build so it works more correctly. - Fix rpm-pkg builds with V=1. - List top-level subdirectories in ./Kbuild. - Ignore auto-generated __kstrtab_* and __kstrtabns_* symbols in kallsyms. - Avoid two different modules in lib/zstd/ having shared code, which potentially causes building the common code as build-in and modular back-and-forth. - Unify two modpost invocations to optimize the build process. - Remove head-y syntax in favor of linker scripts for placing particular sections in the head of vmlinux. - Bump the minimal GNU Make version to 3.82. - Clean up misc Makefiles and scripts. * tag 'kbuild-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (41 commits) docs: bump minimal GNU Make version to 3.82 ia64: simplify esi object addition in Makefile Revert "kbuild: Check if linker supports the -X option" kbuild: rebuild .vmlinux.export.o when its prerequisite is updated kbuild: move modules.builtin(.modinfo) rules to Makefile.vmlinux_o zstd: Fixing mixed module-builtin objects kallsyms: ignore __kstrtab_* and __kstrtabns_* symbols kallsyms: take the input file instead of reading stdin kallsyms: drop duplicated ignore patterns from kallsyms.c kbuild: reuse mksysmap output for kallsyms mksysmap: update comment about __crc_* kbuild: remove head-y syntax kbuild: use obj-y instead extra-y for objects placed at the head kbuild: hide error checker logs for V=1 builds kbuild: re-run modpost when it is updated kbuild: unify two modpost invocations kbuild: move vmlinux.o rule to the top Makefile kbuild: move .vmlinux.objs rule to Makefile.modpost kbuild: list sub-directories in ./Kbuild Makefile.compiler: replace cc-ifversion with compiler-specific macros ...
54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
# Head objects
|
|
#
|
|
# The objects listed here are placed at the head of vmlinux. A typical use-case
|
|
# is an object that contains the entry point. This is kept for compatibility
|
|
# with head-y, which Kbuild used to support.
|
|
#
|
|
# A counter approach is to control the section placement by the linker script.
|
|
# The code marked as __HEAD goes into the ".head.text" section, which is placed
|
|
# before the normal ".text" section.
|
|
#
|
|
# If you can achieve the correct code ordering by linker script, please delete
|
|
# the entry from this file.
|
|
#
|
|
arch/alpha/kernel/head.o
|
|
arch/arc/kernel/head.o
|
|
arch/arm/kernel/head-nommu.o
|
|
arch/arm/kernel/head.o
|
|
arch/arm64/kernel/head.o
|
|
arch/csky/kernel/head.o
|
|
arch/hexagon/kernel/head.o
|
|
arch/ia64/kernel/head.o
|
|
arch/loongarch/kernel/head.o
|
|
arch/m68k/68000/head.o
|
|
arch/m68k/coldfire/head.o
|
|
arch/m68k/kernel/head.o
|
|
arch/m68k/kernel/sun3-head.o
|
|
arch/microblaze/kernel/head.o
|
|
arch/mips/kernel/head.o
|
|
arch/nios2/kernel/head.o
|
|
arch/openrisc/kernel/head.o
|
|
arch/parisc/kernel/head.o
|
|
arch/powerpc/kernel/head_40x.o
|
|
arch/powerpc/kernel/head_44x.o
|
|
arch/powerpc/kernel/head_64.o
|
|
arch/powerpc/kernel/head_8xx.o
|
|
arch/powerpc/kernel/head_85xx.o
|
|
arch/powerpc/kernel/head_book3s_32.o
|
|
arch/powerpc/kernel/entry_64.o
|
|
arch/powerpc/kernel/fpu.o
|
|
arch/powerpc/kernel/vector.o
|
|
arch/powerpc/kernel/prom_init.o
|
|
arch/riscv/kernel/head.o
|
|
arch/s390/kernel/head64.o
|
|
arch/sh/kernel/head_32.o
|
|
arch/sparc/kernel/head_32.o
|
|
arch/sparc/kernel/head_64.o
|
|
arch/x86/kernel/head_32.o
|
|
arch/x86/kernel/head_64.o
|
|
arch/x86/kernel/head32.o
|
|
arch/x86/kernel/head64.o
|
|
arch/x86/kernel/ebda.o
|
|
arch/x86/kernel/platform-quirks.o
|
|
arch/xtensa/kernel/head.o
|