]> Pileus Git - ~andy/linux/blob - arch/metag/boot/dts/Makefile
metag: minimal TZ1090 (Comet) SoC infrastructure
[~andy/linux] / arch / metag / boot / dts / Makefile
1 dtb-y   += skeleton.dtb
2 dtb-y   += tz1090_generic.dtb
3
4 # Built-in dtb
5 builtindtb-y                            := skeleton
6 builtindtb-$(CONFIG_SOC_TZ1090)         := tz1090_generic
7
8 ifneq ($(CONFIG_METAG_BUILTIN_DTB_NAME),"")
9         builtindtb-y                    := $(patsubst "%",%,$(CONFIG_METAG_BUILTIN_DTB_NAME))
10 endif
11
12 dtb-$(CONFIG_METAG_BUILTIN_DTB) += $(builtindtb-y).dtb
13 obj-$(CONFIG_METAG_BUILTIN_DTB) += $(builtindtb-y).dtb.o
14
15 targets += dtbs
16 targets += $(dtb-y)
17
18 .SECONDARY: $(obj)/$(builtindtb-y).dtb.S
19
20 dtbs: $(addprefix $(obj)/, $(dtb-y))
21
22 clean-files += *.dtb *.dtb.S