summaryrefslogtreecommitdiffstats
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)
downloadtalos-obmc-uboot-a6e530f00d31a8494a0422799b2b9a692a9c0eb9.tar.gz
talos-obmc-uboot-a6e530f00d31a8494a0422799b2b9a692a9c0eb9.zip
[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 cbfca6dcb4..0cc4cc9d17 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 8b05bb17c8..a01977ee65 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>
OpenPOWER on IntegriCloud