diff options
Diffstat (limited to 'arch/xtensa/Makefile')
-rw-r--r-- | arch/xtensa/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile index ab63c9beb930..227f658fc2b9 100644 --- a/arch/xtensa/Makefile +++ b/arch/xtensa/Makefile | |||
@@ -79,6 +79,10 @@ core-y += $(buildvar) $(buildplf) | |||
79 | 79 | ||
80 | libs-y += arch/xtensa/lib/ $(LIBGCC) | 80 | libs-y += arch/xtensa/lib/ $(LIBGCC) |
81 | 81 | ||
82 | ifneq ($(CONFIG_BUILTIN_DTB),"") | ||
83 | core-y += arch/xtensa/boot/ | ||
84 | endif | ||
85 | |||
82 | boot := arch/xtensa/boot | 86 | boot := arch/xtensa/boot |
83 | 87 | ||
84 | all: zImage | 88 | all: zImage |
@@ -88,6 +92,9 @@ bzImage : zImage | |||
88 | zImage: vmlinux | 92 | zImage: vmlinux |
89 | $(Q)$(MAKE) $(build)=$(boot) $@ | 93 | $(Q)$(MAKE) $(build)=$(boot) $@ |
90 | 94 | ||
95 | %.dtb: | ||
96 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ | ||
97 | |||
91 | define archhelp | 98 | define archhelp |
92 | @echo '* zImage - Compressed kernel image (arch/xtensa/boot/images/zImage.*)' | 99 | @echo '* zImage - Compressed kernel image (arch/xtensa/boot/images/zImage.*)' |
93 | endef | 100 | endef |