]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/metag/boot/dts/Makefile
Merge remote-tracking branch 'tip/auto-latest'
[karo-tx-linux.git] / 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 dtstree         := $(srctree)/$(src)
16 dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
17
18 .SECONDARY: $(obj)/$(builtindtb-y).dtb.S
19
20 always += $(dtb-y)
21 clean-files += *.dtb *.dtb.S