Something went wrong. Try again.
Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253# SPDX-License-Identifier: GPL-2.0
KBUILD_AFLAGS += -D__DISABLE_EXPORTSKBUILD_CFLAGS += -D__DISABLE_EXPORTS -mcmodel=small -fPIC \ -Os -DDISABLE_BRANCH_PROFILING \ $(DISABLE_STACKLEAK_PLUGIN) \ $(DISABLE_LATENT_ENTROPY_PLUGIN) \ -fno-stack-protector -D__NO_FORTIFY \ -fno-jump-tables \ -include $(srctree)/include/linux/hidden.h
# disable ftrace hooks and LTOKBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS))KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO),$(KBUILD_CFLAGS))KASAN_SANITIZE := nKCSAN_SANITIZE := nKMSAN_SANITIZE := nUBSAN_SANITIZE := nKCOV_INSTRUMENT := n
obj-$(CONFIG_X86_64) += gdt_idt.o map_kernel.oobj-$(CONFIG_AMD_MEM_ENCRYPT) += sme.o sev-startup.opi-objs := $(patsubst %.o,$(obj)/%.o,$(obj-y))
lib-$(CONFIG_X86_64) += la57toggle.olib-$(CONFIG_EFI_MIXED) += efi-mixed.o
## Disable objtool validation for all library code, which is intended# to be linked into the decompressor or the EFI stub but not vmlinux#$(patsubst %.o,$(obj)/%.o,$(lib-y)): OBJECT_FILES_NON_STANDARD := y
## Invoke objtool for each object individually to check for absolute# relocations, even if other objtool actions are being deferred.#$(pi-objs): objtool-enabled = 1$(pi-objs): objtool-args = $(if $(delay-objtool),--dry-run,$(objtool-args-y)) --noabs
## Confine the startup code by prefixing all symbols with __pi_ (for position# independent). This ensures that startup code can only call other startup# code, or code that has explicitly been made accessible to it via a symbol# alias.#$(obj)/%.pi.o: OBJCOPYFLAGS := --prefix-symbols=__pi_$(obj)/%.pi.o: $(obj)/%.o FORCE $(call if_changed,objcopy)
targets += $(obj-y)obj-y := $(patsubst %.o,%.pi.o,$(obj-y))