1 # SPDX-License-Identifier: GPL-2.0
3 obj-y
:= $(patsubst "%.dts",%.dtb.o
,$(CONFIG_NIOS2_DTB_SOURCE
))
5 dtstree
:= $(srctree
)/$(src
)
6 dtb-
$(CONFIG_OF_ALL_DTBS
) := $(patsubst $(dtstree
)/%.dts
,%.dtb
, $(wildcard $(dtstree
)/*.dts
))