]> git.sur5r.net Git - u-boot/commitdiff
[new uImage] Add sha1.o object to mkimage binary build
authorBartlomiej Sieka <tur@semihalf.com>
Fri, 29 Feb 2008 15:00:23 +0000 (16:00 +0100)
committerMarian Balakowicz <m8@semihalf.com>
Fri, 29 Feb 2008 15:00:23 +0000 (16:00 +0100)
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
tools/Makefile
tools/mkimage.h

index cbfca6dcb437bd7928422e53c52069ecac4999b2..0cc4cc9d174074374eabc4d42205a859dd27bb6b 100644 (file)
@@ -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) $@
 
index 8b05bb17c8167171019d3df4a4f7d39b9ca40665..a01977ee65670c1a1541eba1e9680984bcc13011 100644 (file)
@@ -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>