xref: /linux/arch/nios2/boot/dts/Makefile (revision 48ee4835b73c48590d05a54730dc8037ebd39d3b)
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