xref: /linux/arch/nios2/boot/dts/Makefile (revision ec63e2a4897075e427c121d863bd89c44578094f)
1# SPDX-License-Identifier: GPL-2.0
2
3obj-y := $(patsubst "%.dts",%.dtb.o,$(CONFIG_NIOS2_DTB_SOURCE))
4
5dtstree		:= $(srctree)/$(src)
6dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
7