Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /usr/src/linux-headers-6.14.0-1011-aws/arch/x86/ |
Upload File : |
# SPDX-License-Identifier: GPL-2.0 # =========================================================================== # Post-link x86 pass # =========================================================================== # # 1. Separate relocations from vmlinux into vmlinux.relocs. # 2. Strip relocations from vmlinux. PHONY := __archpost __archpost: -include include/config/auto.conf include $(srctree)/scripts/Kbuild.include include $(srctree)/scripts/Makefile.lib CMD_RELOCS = arch/x86/tools/relocs OUT_RELOCS = arch/x86/boot/compressed quiet_cmd_relocs = RELOCS $(OUT_RELOCS)/$@.relocs cmd_relocs = \ mkdir -p $(OUT_RELOCS); \ $(CMD_RELOCS) $@ > $(OUT_RELOCS)/$@.relocs; \ $(CMD_RELOCS) --abs-relocs $@ # `@true` prevents complaint when there is nothing to be done vmlinux: FORCE @true ifeq ($(CONFIG_X86_NEED_RELOCS),y) $(call cmd,relocs) $(call cmd,strip_relocs) endif clean: @rm -f $(OUT_RELOCS)/vmlinux.relocs PHONY += FORCE clean FORCE: .PHONY: $(PHONY)