[U-Boot-Users] Problems Building u-boot-1.3.1
raptorbrino at aim.com
raptorbrino at aim.com
Fri Dec 14 03:23:28 CET 2007
Sorry guys, first time posting a patch and I believe the formatting
of my last mail was all wrong. Here's a better attempt at it.
This patch allows u-boot to build without error in a cygwin
environment. Cygwin does not define __u64 in it's
include/asm/types.h file. The -idirafter flag in the u-boot
build causes the inclusion of the cygwin types.h file as opposed
to u-bot/include/asm/types.h file which does define __u64.
Subsequently, sha1.c compile fails due to unknown symbol.
Signed-off-by: Brian Miller <raptorbrino at netscape.net>
diff -purN old/tools/Makefile new/tools/Makefile
--- old/tools/Makefile 2007-12-06 01:21:19.000000000 -0800
+++ new/tools/Makefile 2007-12-13 12:22:15.796875000 -0800
@@ -97,6 +97,7 @@ endif
#
ifeq ($(HOSTOS),cygwin)
SFX = .exe
+HOST_CFLAGS += -ansi
else
SFX =
endif
________________________________________________________________________
More new features than ever. Check out the new AIM(R) Mail ! -
http://webmail.aim.com
More information about the U-Boot
mailing list