mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
The select of KEXEC for CRASH_DUMP in kernel/Kconfig.kexec will be dropped, then compiling errors will be triggered if below config items are set: === CONFIG_CRASH_CORE=y CONFIG_KEXEC_CORE=y CONFIG_CRASH_DUMP=y === Here, change the dependency of buinding machine_kexec.o relocate_kernel.o and the ifdeffery in asm/kexe.h to CONFIG_KEXEC_CORE. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Baoquan He <[email protected]> Cc: Eric DeVolder <[email protected]> Cc: Ignat Korchagin <[email protected]> Cc: kernel test robot <[email protected]> Cc: Stephen Rothwell <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
34 lines
872 B
Makefile
34 lines
872 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
extra-y += vmlinux.lds
|
|
|
|
obj-$(CONFIG_AMIGA) := head.o
|
|
obj-$(CONFIG_ATARI) := head.o
|
|
obj-$(CONFIG_MAC) := head.o
|
|
obj-$(CONFIG_APOLLO) := head.o
|
|
obj-$(CONFIG_VME) := head.o
|
|
obj-$(CONFIG_HP300) := head.o
|
|
obj-$(CONFIG_Q40) := head.o
|
|
obj-$(CONFIG_SUN3X) := head.o
|
|
obj-$(CONFIG_VIRT) := head.o
|
|
obj-$(CONFIG_SUN3) := sun3-head.o
|
|
|
|
obj-y += entry.o irq.o module.o process.o ptrace.o
|
|
obj-y += setup.o signal.o sys_m68k.o syscalltable.o time.o traps.o
|
|
|
|
obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o
|
|
obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o
|
|
obj-$(CONFIG_PCI) += pcibios.o
|
|
|
|
obj-$(CONFIG_M68K_NONCOHERENT_DMA) += dma.o
|
|
|
|
obj-$(CONFIG_KEXEC_CORE) += machine_kexec.o relocate_kernel.o
|
|
obj-$(CONFIG_BOOTINFO_PROC) += bootinfo_proc.o
|
|
obj-$(CONFIG_UBOOT) += uboot.o
|
|
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
|