summaryrefslogtreecommitdiff
path: root/arch/mips/boot/dts/brcm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/boot/dts/brcm/Makefile')
-rw-r--r--arch/mips/boot/dts/brcm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/boot/dts/brcm/Makefile b/arch/mips/boot/dts/brcm/Makefile
index d8787c9a499e..d85f446cc0ce 100644
--- a/arch/mips/boot/dts/brcm/Makefile
+++ b/arch/mips/boot/dts/brcm/Makefile
@@ -34,4 +34,4 @@ dtb-$(CONFIG_DT_NONE) += \
bcm97425svmb.dtb \
bcm97435svmb.dtb
-obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
+obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))