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