metag: Device tree
[profile/ivi/kernel-adaptation-intel-automotive.git] / arch / metag / boot / dts / Makefile
1 dtb-y   += skeleton.dtb
2
3 # Built-in dtb
4 builtindtb-y                            := skeleton
5
6 ifneq ($(CONFIG_METAG_BUILTIN_DTB_NAME),"")
7         builtindtb-y                    := $(CONFIG_METAG_BUILTIN_DTB_NAME)
8 endif
9 obj-$(CONFIG_METAG_BUILTIN_DTB) += $(patsubst "%",%,$(builtindtb-y)).dtb.o
10
11 targets += dtbs
12 targets += $(dtb-y)
13
14 dtbs: $(addprefix $(obj)/, $(dtb-y))
15
16 clean-files += *.dtb