summaryrefslogtreecommitdiff
path: root/arch/nios2/boot/dts/Makefile
blob: a91a0b09be6336b07e01b73c467699ad3b4513de (plain)
1
2
3
4
5
6
# SPDX-License-Identifier: GPL-2.0

obj-y := $(patsubst "%.dts",%.dtb.o,$(CONFIG_NIOS2_DTB_SOURCE))

dtstree		:= $(srctree)/$(src)
dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))