Stephen Warren | 2a02bc1 | 2013-01-02 11:27:14 -0700 | [diff] [blame] | 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 | |
| 10 | BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB)).dtb.o |
| 11 | ifneq ($(CONFIG_BUILTIN_DTB),"") |
| 12 | obj-$(CONFIG_OF) += $(BUILTIN_DTB) |
| 13 | endif |
| 14 | |
Rob Herring | 9908570 | 2015-10-06 17:51:21 -0500 | [diff] [blame] | 15 | dtstree := $(srctree)/$(src) |
| 16 | dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) |
| 17 | |
| 18 | always += $(dtb-y) |