[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 cbfca6d..0cc4cc9 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 8b05bb1..a01977e 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>