mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-17 02:15:57 +00:00
9bad6b75fc
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/20231208073036.7884-3-bhe@redhat.com Signed-off-by: Baoquan He <bhe@redhat.com> Cc: Eric DeVolder <eric_devolder@yahoo.com> Cc: Ignat Korchagin <ignat@cloudflare.com> Cc: kernel test robot <lkp@intel.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
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
|
|
|