treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / kexec / Makefile
blob378f6108a41469e5bf145a7536daf60923f9f19e
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the linux kernel.
6 # Avoid clang warnings around longjmp/setjmp declarations
7 CFLAGS_crash.o += -ffreestanding
9 obj-y += core.o crash.o core_$(BITS).o
11 obj-$(CONFIG_PPC32) += relocate_32.o
13 obj-$(CONFIG_KEXEC_FILE) += file_load.o elf_$(BITS).o
15 ifdef CONFIG_HAVE_IMA_KEXEC
16 ifdef CONFIG_IMA
17 obj-y += ima.o
18 endif
19 endif
22 # Disable GCOV, KCOV & sanitizers in odd or sensitive code
23 GCOV_PROFILE_core_$(BITS).o := n
24 KCOV_INSTRUMENT_core_$(BITS).o := n
25 UBSAN_SANITIZE_core_$(BITS).o := n