summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-07 06:11:53 +0000
committerTom Rini <trini@ti.com>2013-05-14 15:37:25 -0400
commit53fbb7e885d387426296d367969e2f22fa576705 (patch)
tree5d582cb32e8d8098ad1a22454a016b7c5f0a151c /tools
parent61a439a873e8ae95c1af2e6f1b1085372c4cb326 (diff)
downloadu-boot-imx-53fbb7e885d387426296d367969e2f22fa576705.zip
u-boot-imx-53fbb7e885d387426296d367969e2f22fa576705.tar.gz
u-boot-imx-53fbb7e885d387426296d367969e2f22fa576705.tar.bz2
image: Split FIT code into new image-fit.c
The FIT code is about half the size of the >3000-line image.c. Split this code into its own file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 889c897..067d3e4 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -78,6 +78,7 @@ BIN_FILES-$(CONFIG_KIRKWOOD) += kwboot$(SFX)
# Source files which exist outside the tools directory
EXT_OBJ_FILES-$(CONFIG_BUILD_ENVCRC) += common/env_embedded.o
EXT_OBJ_FILES-y += common/image.o
+EXT_OBJ_FILES-$(CONFIG_FIT) += common/image-fit.o
EXT_OBJ_FILES-y += lib/crc32.o
EXT_OBJ_FILES-y += lib/md5.o
EXT_OBJ_FILES-y += lib/sha1.o
@@ -209,6 +210,7 @@ $(obj)mkimage$(SFX): $(obj)aisimage.o \
$(obj)crc32.o \
$(obj)default_image.o \
$(obj)fit_image.o \
+ $(obj)image-fit.o \
$(obj)image.o \
$(obj)imximage.o \
$(obj)kwbimage.o \