diff options
Diffstat (limited to 'kernel/arch/arc/boot/dts/Makefile')
-rw-r--r-- | kernel/arch/arc/boot/dts/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/arch/arc/boot/dts/Makefile b/kernel/arch/arc/boot/dts/Makefile new file mode 100644 index 000000000..faf240e29 --- /dev/null +++ b/kernel/arch/arc/boot/dts/Makefile @@ -0,0 +1,15 @@ +# Built-in dtb +builtindtb-y := angel4 + +ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"") + builtindtb-y := $(patsubst "%",%,$(CONFIG_ARC_BUILTIN_DTB_NAME)) +endif + +obj-y += $(builtindtb-y).dtb.o +targets += $(builtindtb-y).dtb + +.SECONDARY: $(obj)/$(builtindtb-y).dtb.S + +dtbs: $(addprefix $(obj)/, $(builtindtb-y).dtb) + +clean-files := *.dtb *.dtb.S |