diff options
Diffstat (limited to 'kernel/arch/metag/boot/dts/Makefile')
-rw-r--r-- | kernel/arch/metag/boot/dts/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/kernel/arch/metag/boot/dts/Makefile b/kernel/arch/metag/boot/dts/Makefile new file mode 100644 index 000000000..72c121879 --- /dev/null +++ b/kernel/arch/metag/boot/dts/Makefile @@ -0,0 +1,22 @@ +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 + +targets += dtbs +targets += $(dtb-y) + +.SECONDARY: $(obj)/$(builtindtb-y).dtb.S + +dtbs: $(addprefix $(obj)/, $(dtb-y)) + +clean-files += *.dtb *.dtb.S |