]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
compiler.h: unify system ifdef cruft here
authorMike Frysinger <vapier@gentoo.org>
Thu, 2 Jul 2009 23:23:25 +0000 (19:23 -0400)
committerWolfgang Denk <wd@denx.de>
Sun, 19 Jul 2009 19:41:46 +0000 (21:41 +0200)
commit37566090766d61beef70c62986b90749920255d8
tree6770441ddc1bc0b9e662e2ea7102da8e10b62d61
parent2a2ed845c085eb093b69fa6382fcf7534bb1f4b0
compiler.h: unify system ifdef cruft here

Shove a lot of the HOSTCC and related #ifdef checking crap into the new
compiler.h header so that we can keep all other headers nice and clean.

Also introduce custom uswap functions so we don't have to rely on the non
standard implementations that a host may (or may not in the case of OS X)
provide.  This allows mkimage to finally build cleanly on an OS X system.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 files changed:
include/compiler.h [new file with mode: 0644]
include/elf.h
include/environment.h
include/image.h
include/libfdt_env.h
include/u-boot/md5.h
lib_generic/md5.c
tools/bmp_logo.c
tools/img2srec.c
tools/mingw_support.h
tools/mkimage.c
tools/mkimage.h
tools/os_support.c
tools/os_support.h
tools/ubsha1.c