]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/metag/boot/dts/Makefile
Merge tag 'devicetree-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.git] / arch / metag / boot / dts / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 dtb-y += skeleton.dtb
3 dtb-y += tz1090_generic.dtb
4
5 # Built-in dtb
6 builtindtb-y := skeleton
7 builtindtb-$(CONFIG_SOC_TZ1090) := tz1090_generic
8
9 ifneq ($(CONFIG_METAG_BUILTIN_DTB_NAME),"")
10 builtindtb-y := $(patsubst "%",%,$(CONFIG_METAG_BUILTIN_DTB_NAME))
11 endif
12
13 dtb-$(CONFIG_METAG_BUILTIN_DTB) += $(builtindtb-y).dtb
14 obj-$(CONFIG_METAG_BUILTIN_DTB) += $(builtindtb-y).dtb.o
15
16 .SECONDARY: $(obj)/$(builtindtb-y).dtb.S