xref: /linux/arch/powerpc/kexec/Makefile (revision 2a6b6c9a226279b4f6668450ddb21ae655558087)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6obj-y				+= core.o core_$(BITS).o ranges.o
7
8obj-$(CONFIG_PPC32)		+= relocate_32.o
9
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
20