mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
arch/mips/boot/dts/Makefile collects objects from sub-directories into built-in.a only when CONFIG_BUILTIN_DTB is enabled. Reflect it also to the sub-directory Makefiles. This suppresses unneeded built-in.a creation in arch/mips/boot/dts/*/ directories. While I am here, I replaced $(patsubst %.dtb, %.dtb.o, $(dtb-y)) with $(addsuffix .o, $(dtb-y)) to simplify the code a little bit. Signed-off-by: Masahiro Yamada <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Paul Cercueil <[email protected]> Cc: Mathieu Malaterre <[email protected]> Cc: Alexandre Belloni <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Rob Herring <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/19099/ Signed-off-by: James Hogan <[email protected]>
10 lines
371 B
Makefile
10 lines
371 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
dtb-$(CONFIG_DTB_RT2880_EVAL) += rt2880_eval.dtb
|
|
dtb-$(CONFIG_DTB_RT305X_EVAL) += rt3052_eval.dtb
|
|
dtb-$(CONFIG_DTB_RT3883_EVAL) += rt3883_eval.dtb
|
|
dtb-$(CONFIG_DTB_MT7620A_EVAL) += mt7620a_eval.dtb
|
|
dtb-$(CONFIG_DTB_OMEGA2P) += omega2p.dtb
|
|
dtb-$(CONFIG_DTB_VOCORE2) += vocore2.dtb
|
|
|
|
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
|