Makefile (79790b6818e96c58fe2bffee1b418c16e64e7b80) Makefile (f5f0da5a7b18fab383bac92044fd8f4f288c9d38)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6obj-y += core.o core_$(BITS).o
6obj-y += core.o core_$(BITS).o ranges.o
7
8obj-$(CONFIG_PPC32) += relocate_32.o
9
7
8obj-$(CONFIG_PPC32) += relocate_32.o
9
10obj-$(CONFIG_KEXEC_FILE) += file_load.o ranges.o file_load_$(BITS).o elf_$(BITS).o
10obj-$(CONFIG_KEXEC_FILE) += file_load.o file_load_$(BITS).o elf_$(BITS).o
11obj-$(CONFIG_VMCORE_INFO) += vmcore_info.o
12obj-$(CONFIG_CRASH_DUMP) += crash.o
13
14# Disable GCOV, KCOV & sanitizers in odd or sensitive code
15GCOV_PROFILE_core_$(BITS).o := n
16KCOV_INSTRUMENT_core_$(BITS).o := n
17UBSAN_SANITIZE_core_$(BITS).o := n
18KASAN_SANITIZE_core.o := n
19KASAN_SANITIZE_core_$(BITS) := n
11obj-$(CONFIG_VMCORE_INFO) += vmcore_info.o
12obj-$(CONFIG_CRASH_DUMP) += crash.o
13
14# Disable GCOV, KCOV & sanitizers in odd or sensitive code
15GCOV_PROFILE_core_$(BITS).o := n
16KCOV_INSTRUMENT_core_$(BITS).o := n
17UBSAN_SANITIZE_core_$(BITS).o := n
18KASAN_SANITIZE_core.o := n
19KASAN_SANITIZE_core_$(BITS) := n