xref: /openbmc/linux/arch/xtensa/boot/dts/Makefile (revision 867e6d38)
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