kbuild: clean up *.dtb and *.dtb.S patterns from top-level Makefile
[linux-2.6-block.git] / arch / xtensa / boot / dts / Makefile
CommitLineData
2a02bc16
SW
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
99085704
RH
15dtstree := $(srctree)/$(src)
16dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
17
18always += $(dtb-y)