summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2008-02-29 16:00:23 +0100
committerMarian Balakowicz <m8@semihalf.com>2008-02-29 16:00:23 +0100
commita6e530f00d31a8494a0422799b2b9a692a9c0eb9 (patch)
treec9cb445ab06450b5802e8870374e6037431edec8 /tools
parentdf6f1b895c997978f03afe04502ee76b7ba34ab9 (diff)
downloadu-boot-imx-a6e530f00d31a8494a0422799b2b9a692a9c0eb9.zip
u-boot-imx-a6e530f00d31a8494a0422799b2b9a692a9c0eb9.tar.gz
u-boot-imx-a6e530f00d31a8494a0422799b2b9a692a9c0eb9.tar.bz2
[new uImage] Add sha1.o object to mkimage binary build
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile2
-rw-r--r--tools/mkimage.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index cbfca6d..0cc4cc9 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -137,7 +137,7 @@ $(obj)img2srec$(SFX): $(obj)img2srec.o
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
$(STRIP) $@
-$(obj)mkimage$(SFX): $(obj)mkimage.o $(obj)crc32.o $(obj)image.o
+$(obj)mkimage$(SFX): $(obj)mkimage.o $(obj)crc32.o $(obj)image.o $(obj)sha1.o
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
$(STRIP) $@
diff --git a/tools/mkimage.h b/tools/mkimage.h
index 8b05bb1..a01977e 100644
--- a/tools/mkimage.h
+++ b/tools/mkimage.h
@@ -32,6 +32,7 @@
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
+#include <sha1.h>
#if defined(__BEOS__) || defined(__NetBSD__) || defined(__APPLE__)
#include <inttypes.h>