aboutsummaryrefslogtreecommitdiff
path: root/cmd/Makefile
diff options
context:
space:
mode:
authorTom Rini2016-08-12 08:31:15 -0400
committerTom Rini2016-08-20 11:35:07 -0400
commit5db28905c952560843212236963e9f711341cad5 (patch)
tree9e2546824158101b69ac0e2a102d7c34920c9d69 /cmd/Makefile
parentf2a9942fbc47491cc5f5151670c42d43dc0544cb (diff)
cmd: Split 'bootz' and 'booti' out from 'bootm'
The bootz and booti commands rely on common functionality that is found in common/bootm.c and common/bootm_os.c. They do not however rely on the rest of cmd/bootm.c to be implemented so split them into their own files. Have various Makefiles include the required infrastructure for CONFIG_CMD_BOOT[IZ] as well as CONFIG_CMD_BOOTM. Move the declaration of 'images' over to common/bootm.c. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/Makefile')
-rw-r--r--cmd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/Makefile b/cmd/Makefile
index a1731be7012..a1ecf73ef31 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -26,6 +26,8 @@ obj-$(CONFIG_CMD_BOOTEFI) += bootefi.o
obj-$(CONFIG_CMD_BOOTMENU) += bootmenu.o
obj-$(CONFIG_CMD_BOOTLDR) += bootldr.o
obj-$(CONFIG_CMD_BOOTSTAGE) += bootstage.o
+obj-$(CONFIG_CMD_BOOTZ) += bootz.o
+obj-$(CONFIG_CMD_BOOTI) += booti.o
obj-$(CONFIG_CMD_CACHE) += cache.o
obj-$(CONFIG_CMD_CBFS) += cbfs.o
obj-$(CONFIG_CMD_CLK) += clk.o