summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot/dts/mscc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/boot/dts/mscc/Makefile')
-rw-r--r--arch/mips/boot/dts/mscc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/boot/dts/mscc/Makefile b/arch/mips/boot/dts/mscc/Makefile
index c511645..3c6aed9 100644
--- a/arch/mips/boot/dts/mscc/Makefile
+++ b/arch/mips/boot/dts/mscc/Makefile
@@ -1,3 +1,3 @@
dtb-$(CONFIG_LEGACY_BOARD_OCELOT) += ocelot_pcb123.dtb
-obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
+obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
OpenPOWER on IntegriCloud