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