xref: /openbmc/linux/arch/xtensa/boot/dts/Makefile (revision a72594ca)
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 := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB)).dtb.o
11ifneq ($(CONFIG_BUILTIN_DTB),"")
12obj-$(CONFIG_OF) += $(BUILTIN_DTB)
13endif
14
15# for CONFIG_OF_ALL_DTBS test
16dtstree	:= $(srctree)/$(src)
17dtb-	:= $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
18