diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-05-23 11:31:18 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-06-05 09:02:27 +0530 |
commit | 30b60401e1a88164d91ed0c7cccaecb17f71afd8 (patch) | |
tree | eb78bcb3a133a83c3ab25dad2ce52d0fe234689e /Makefile | |
parent | a63f05f3dea6fde8b5d545c2c6a5762faa56539a (diff) |
Makefile: Fix builtin DTB compilation for out-of-tree platforms
The make rule for builtin DTB compilation does not consider
out-of-tree platforms so this patch fixes it.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -348,6 +348,9 @@ $(platform_build_dir)/%.dep: $(platform_src_dir)/%.S $(platform_build_dir)/%.o: $(platform_src_dir)/%.S $(call compile_as,$@,$<) +$(platform_build_dir)/%.dtb: $(platform_src_dir)/%.dts + $(call compile_dts,$@,$<) + $(platform_build_dir)/%.dep: $(src_dir)/%.c $(call compile_cc_dep,$@,$<) @@ -360,9 +363,6 @@ $(platform_build_dir)/%.dep: $(src_dir)/%.S $(platform_build_dir)/%.o: $(src_dir)/%.S $(call compile_as,$@,$<) -$(build_dir)/%.dtb: $(src_dir)/%.dts - $(call compile_dts,$@,$<) - # Rule for "make docs" $(build_dir)/docs/latex/refman.pdf: $(build_dir)/docs/latex/refman.tex $(CMD_PREFIX)mkdir -p $(build_dir)/docs |