summaryrefslogtreecommitdiff
path: root/arch/mips/boot/dts/pic32/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/boot/dts/pic32/Makefile')
-rw-r--r--arch/mips/boot/dts/pic32/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/boot/dts/pic32/Makefile b/arch/mips/boot/dts/pic32/Makefile
index ba9bcef8fde9..fb57f36324db 100644
--- a/arch/mips/boot/dts/pic32/Makefile
+++ b/arch/mips/boot/dts/pic32/Makefile
@@ -4,4 +4,4 @@ dtb-$(CONFIG_DTB_PIC32_MZDA_SK) += pic32mzda_sk.dtb
dtb-$(CONFIG_DTB_PIC32_NONE) += \
pic32mzda_sk.dtb
-obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
+obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))