mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-21 18:14:48 +08:00
84fc863606
Some options like CONFIG_DEBUG_UNCOMPRESS and CONFIG_CMDLINE_FORCE are fundamentally incompatible with portable kernels but are currently allowed in all configurations. Other options like XIP_KERNEL are essentially useless after the completion of the multiplatform conversion. Repurpose the existing CONFIG_ARCH_MULTIPLATFORM option to decide whether the resulting kernel image is meant to be portable or not, and using this to guard all of the known incompatible options. This is similar to how the RISC-V kernel handles the CONFIG_NONPORTABLE option (with the opposite polarity). A few references to CONFIG_ARCH_MULTIPLATFORM were left behind by earlier clanups and have to be removed now up. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
9 lines
267 B
Makefile
9 lines
267 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
ccflags-y := -I$(srctree)/arch/arm/plat-orion/include
|
|
|
|
obj-y += common.o
|
|
obj-$(CONFIG_DOVE_LEGACY) += irq.o mpp.o
|
|
obj-$(CONFIG_PCI) += pcie.o
|
|
obj-$(CONFIG_MACH_DOVE_DB) += dove-db-setup.o
|
|
obj-$(CONFIG_MACH_CM_A510) += cm-a510.o
|