xref: /linux/arch/xtensa/boot/dts/Makefile (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
1#
2# arch/xtensa/boot/dts/Makefile
3#
4# This file is subject to the terms and conditions of the GNU General Public
5# License.  See the file "COPYING" in the main directory of this archive
6# for more details.
7#
8#
9
10BUILTIN_DTB_SOURCE := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_SOURCE)).dtb.o
11ifneq ($(CONFIG_BUILTIN_DTB_SOURCE),"")
12obj-$(CONFIG_OF) += $(BUILTIN_DTB_SOURCE)
13endif
14
15# for CONFIG_OF_ALL_DTBS test
16dtstree	:= $(srctree)/$(src)
17dtb-	:= $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
18