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