summaryrefslogtreecommitdiff
path: root/arch/mips/boot/dts/cavium-octeon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/boot/dts/cavium-octeon/Makefile')
-rw-r--r--arch/mips/boot/dts/cavium-octeon/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/boot/dts/cavium-octeon/Makefile b/arch/mips/boot/dts/cavium-octeon/Makefile
index 24a8efcd7b03..17aef35f311b 100644
--- a/arch/mips/boot/dts/cavium-octeon/Makefile
+++ b/arch/mips/boot/dts/cavium-octeon/Makefile
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_CAVIUM_OCTEON_SOC) += octeon_3xxx.dtb octeon_68xx.dtb
-obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
+obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))