| dtb-y += skeleton.dtb |
| dtb-y += tz1090_generic.dtb |
| |
| # Built-in dtb |
| builtindtb-y := skeleton |
| builtindtb-$(CONFIG_SOC_TZ1090) := tz1090_generic |
| |
| ifneq ($(CONFIG_METAG_BUILTIN_DTB_NAME),"") |
| builtindtb-y := $(patsubst "%",%,$(CONFIG_METAG_BUILTIN_DTB_NAME)) |
| endif |
| |
| dtb-$(CONFIG_METAG_BUILTIN_DTB) += $(builtindtb-y).dtb |
| obj-$(CONFIG_METAG_BUILTIN_DTB) += $(builtindtb-y).dtb.o |
| |
| dtstree := $(srctree)/$(src) |
| dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) |
| |
| .SECONDARY: $(obj)/$(builtindtb-y).dtb.S |
| |
| always += $(dtb-y) |
| clean-files += *.dtb *.dtb.S |