mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
MIPS: migrate to generic rule for built-in DTBs
Commit 654102df2a ("kbuild: add generic support for built-in boot
DTBs") introduced generic support for built-in DTBs.
Select GENERIC_BUILTIN_DTB and BUILTIN_DTB_ALL when the built-in DTB
support is enabled.
DTBs compiled under arch/mips/boot/dts/ will be wrapped by the generic
rule in scripts/Makefile.vmlinux.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
bc7584e009
commit
04e4ec98e4
|
|
@ -29,10 +29,12 @@ config MIPS
|
||||||
select ARCH_WANT_IPC_PARSE_VERSION
|
select ARCH_WANT_IPC_PARSE_VERSION
|
||||||
select ARCH_WANT_LD_ORPHAN_WARN
|
select ARCH_WANT_LD_ORPHAN_WARN
|
||||||
select BUILDTIME_TABLE_SORT
|
select BUILDTIME_TABLE_SORT
|
||||||
|
select BUILTIN_DTB_ALL if BUILTIN_DTB
|
||||||
select CLONE_BACKWARDS
|
select CLONE_BACKWARDS
|
||||||
select CPU_NO_EFFICIENT_FFS if (TARGET_ISA_REV < 1)
|
select CPU_NO_EFFICIENT_FFS if (TARGET_ISA_REV < 1)
|
||||||
select CPU_PM if CPU_IDLE || SUSPEND
|
select CPU_PM if CPU_IDLE || SUSPEND
|
||||||
select GENERIC_ATOMIC64 if !64BIT
|
select GENERIC_ATOMIC64 if !64BIT
|
||||||
|
select GENERIC_BUILTIN_DTB if BUILTIN_DTB
|
||||||
select GENERIC_CMOS_UPDATE
|
select GENERIC_CMOS_UPDATE
|
||||||
select GENERIC_CPU_AUTOPROBE
|
select GENERIC_CPU_AUTOPROBE
|
||||||
select GENERIC_GETTIMEOFDAY
|
select GENERIC_GETTIMEOFDAY
|
||||||
|
|
|
||||||
|
|
@ -423,9 +423,6 @@ endif
|
||||||
|
|
||||||
CLEAN_FILES += vmlinux.32 vmlinux.64
|
CLEAN_FILES += vmlinux.32 vmlinux.64
|
||||||
|
|
||||||
# device-trees
|
|
||||||
core-y += arch/mips/boot/dts/
|
|
||||||
|
|
||||||
archprepare:
|
archprepare:
|
||||||
ifdef CONFIG_MIPS32_N32
|
ifdef CONFIG_MIPS32_N32
|
||||||
@$(kecho) ' Checking missing-syscalls for N32'
|
@$(kecho) ' Checking missing-syscalls for N32'
|
||||||
|
|
|
||||||
|
|
@ -16,5 +16,3 @@ subdir-$(CONFIG_ATH79) += qca
|
||||||
subdir-$(CONFIG_RALINK) += ralink
|
subdir-$(CONFIG_RALINK) += ralink
|
||||||
subdir-$(CONFIG_MACH_REALTEK_RTL) += realtek
|
subdir-$(CONFIG_MACH_REALTEK_RTL) += realtek
|
||||||
subdir-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += xilfpga
|
subdir-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += xilfpga
|
||||||
|
|
||||||
obj-$(CONFIG_BUILTIN_DTB) := $(addsuffix /, $(subdir-y))
|
|
||||||
|
|
|
||||||
|
|
@ -33,5 +33,3 @@ dtb-$(CONFIG_DT_NONE) += \
|
||||||
bcm97420c.dtb \
|
bcm97420c.dtb \
|
||||||
bcm97425svmb.dtb \
|
bcm97425svmb.dtb \
|
||||||
bcm97435svmb.dtb
|
bcm97435svmb.dtb
|
||||||
|
|
||||||
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,2 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
dtb-$(CONFIG_CAVIUM_OCTEON_SOC) += octeon_3xxx.dtb octeon_68xx.dtb
|
dtb-$(CONFIG_CAVIUM_OCTEON_SOC) += octeon_3xxx.dtb octeon_68xx.dtb
|
||||||
|
|
||||||
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
|
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,3 @@ dtb-$(CONFIG_JZ4770_GCW0) += gcw0.dtb
|
||||||
dtb-$(CONFIG_JZ4780_CI20) += ci20.dtb
|
dtb-$(CONFIG_JZ4780_CI20) += ci20.dtb
|
||||||
dtb-$(CONFIG_X1000_CU1000_NEO) += cu1000-neo.dtb
|
dtb-$(CONFIG_X1000_CU1000_NEO) += cu1000-neo.dtb
|
||||||
dtb-$(CONFIG_X1830_CU1830_NEO) += cu1830-neo.dtb
|
dtb-$(CONFIG_X1830_CU1830_NEO) += cu1830-neo.dtb
|
||||||
|
|
||||||
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,2 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
dtb-$(CONFIG_DT_EASY50712) += danube_easy50712.dtb
|
dtb-$(CONFIG_DT_EASY50712) += danube_easy50712.dtb
|
||||||
|
|
||||||
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
|
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,3 @@ dtb-$(CONFIG_MACH_LOONGSON64) += loongson64c_4core_rs780e.dtb
|
||||||
dtb-$(CONFIG_MACH_LOONGSON64) += loongson64c_8core_rs780e.dtb
|
dtb-$(CONFIG_MACH_LOONGSON64) += loongson64c_8core_rs780e.dtb
|
||||||
dtb-$(CONFIG_MACH_LOONGSON64) += loongson64g_4core_ls7a.dtb
|
dtb-$(CONFIG_MACH_LOONGSON64) += loongson64g_4core_ls7a.dtb
|
||||||
dtb-$(CONFIG_MACH_LOONGSON64) += loongson64v_4core_virtio.dtb
|
dtb-$(CONFIG_MACH_LOONGSON64) += loongson64v_4core_virtio.dtb
|
||||||
|
|
||||||
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
|
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,3 @@ dtb-$(CONFIG_SOC_VCOREIII) += \
|
||||||
ocelot_pcb123.dtb \
|
ocelot_pcb123.dtb \
|
||||||
serval_pcb105.dtb \
|
serval_pcb105.dtb \
|
||||||
serval_pcb106.dtb
|
serval_pcb106.dtb
|
||||||
|
|
||||||
|
|
||||||
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
dtb-$(CONFIG_MIPS_MALTA) += malta.dtb
|
dtb-$(CONFIG_MIPS_MALTA) += malta.dtb
|
||||||
dtb-$(CONFIG_LEGACY_BOARD_SEAD3) += sead3.dtb
|
dtb-$(CONFIG_LEGACY_BOARD_SEAD3) += sead3.dtb
|
||||||
|
|
||||||
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
|
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,3 @@ dtb-$(CONFIG_DTB_PIC32_MZDA_SK) += pic32mzda_sk.dtb
|
||||||
|
|
||||||
dtb-$(CONFIG_DTB_PIC32_NONE) += \
|
dtb-$(CONFIG_DTB_PIC32_NONE) += \
|
||||||
pic32mzda_sk.dtb
|
pic32mzda_sk.dtb
|
||||||
|
|
||||||
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
|
|
||||||
|
|
|
||||||
|
|
@ -10,5 +10,3 @@ dtb-$(CONFIG_SOC_MT7621) += \
|
||||||
mt7621-gnubee-gb-pc1.dtb \
|
mt7621-gnubee-gb-pc1.dtb \
|
||||||
mt7621-gnubee-gb-pc2.dtb \
|
mt7621-gnubee-gb-pc2.dtb \
|
||||||
mt7621-tplink-hc220-g5-v1.dtb
|
mt7621-tplink-hc220-g5-v1.dtb
|
||||||
|
|
||||||
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user