Skip to content
Snippets Groups Projects
  1. Oct 27, 2014
  2. Oct 10, 2014
    • Jeroen Hofstee's avatar
      tools: compiler.h: Fix build on FreeBSD · ed8271d1
      Jeroen Hofstee authored
      
      Commit 832472 "tools: socfpga: Add socfpga preloader signing
      to mkimage" added tools/socfpga.c which relies on htole32,
      le32toh and friends. While compiler.h includes these protypes
      for linux from endian.h, it doesn't do so for FreeBSD. Hence
      include <sys/endian.h> for FreeBSD.
      
      Cc: Marek Vasut <marex@denx.de>
      CC: Tom Rini <trini@ti.com>
      Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      ed8271d1
  3. Sep 24, 2014
  4. Jul 22, 2014
  5. Nov 22, 2011
  6. Oct 17, 2011
  7. Jul 28, 2011
  8. Oct 06, 2010
  9. Jun 20, 2010
    • Wolfgang Denk's avatar
      include/compiler.h: remove redundant declaration of errno · 9312bba0
      Wolfgang Denk authored
      
      Commit 37566090 "compiler.h: unify system ifdef cruft here" added both
      a "#include <errno.h>" and a "extern int errno;" to include/compiler.h
      which is causing build warnings for some systems, for example for the
      "netstar" board:
      
      	In file included from /home/wd/git/u-boot/work/lib/crc32.c:15:
      	include/compiler.h:28: warning: function declaration isn't a prototype
      
      The declaration of "errno" should be redundant, as <errno.h> is
      supposed to provide a correct declaration, so drop it.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      9312bba0
  10. May 05, 2010
    • Mike Frysinger's avatar
      compiler.h: add uint typedef · b050c72d
      Mike Frysinger authored
      
      Recent crc changes started using the "uint" type in headers that are used
      on the build system.  This subsequently broke mingw targets as they do not
      provide such a type.  So add this basic typedef to compiler.h so that we
      do not have to worry about this breaking again in the future.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      b050c72d
  11. Jan 17, 2010
  12. Oct 03, 2009
  13. Sep 04, 2009
  14. Jul 19, 2009
    • Mike Frysinger's avatar
      compiler.h: unify system ifdef cruft here · 37566090
      Mike Frysinger authored
      
      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: default avatarMike Frysinger <vapier@gentoo.org>
      37566090
Loading