mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 14:34:28 +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>
8 lines
296 B
Makefile
8 lines
296 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
ccflags-y := -I$(srctree)/arch/arm/plat-orion/include
|
|
|
|
obj-y += common.o mpp.o irq.o pcie.o
|
|
obj-$(CONFIG_MACH_DB78X00_BP) += db78x00-bp-setup.o
|
|
obj-$(CONFIG_MACH_RD78X00_MASA) += rd78x00-masa-setup.o
|
|
obj-$(CONFIG_MACH_TERASTATION_WXL) += buffalo-wxl-setup.o
|