]> git.sur5r.net Git - u-boot/commit
Add support for building native win32 tools
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 13 Mar 2009 23:54:51 +0000 (18:54 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 3 Apr 2009 23:21:02 +0000 (01:21 +0200)
commit2f8d396b9302eddcd8d552648e101a46b7a80acd
tree958ab8a28bbb8204d463c20591cc5d9f65c3ea6a
parente50abf662efbf4ce0e731062c8d3c8ec54763ae2
Add support for building native win32 tools

Add support for compiling the host tools in the tools directory using
the MinGW toolchain.  This produces executables which can be used on
standard Windows computers without requiring cygwin.

One must specify the MinGW compiler and strip utilities as if they
were the host toolchain in order to build win32 executables, eg:

make HOSTCC=i586-mingw32msvc-gcc HOSTSTRIP=i586-mingw32msvc-strip tools

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
README
include/image.h
include/libfdt_env.h
tools/Makefile
tools/mingw_support.c [new file with mode: 0644]
tools/mingw_support.h [new file with mode: 0644]
tools/mkimage.h
tools/os_support.c [new file with mode: 0644]
tools/os_support.h [new file with mode: 0644]
tools/ubsha1.c