Skip to content
Snippets Groups Projects
  1. Oct 21, 2011
    • Mike Frysinger's avatar
      autoconf.mk.dep: use target cflags, not host · 4c34b2a0
      Mike Frysinger authored
      
      The current autoconf.mk.dep rule uses the host cflags when executing the
      target compiler (which includes target header files).  We don't want to
      mix the target compiler and host compiler flags, so change it to CFLAGS.
      Otherwise we get things like -pedantic which the U-Boot source code does
      not build with.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      4c34b2a0
    • Joel A Fernandes's avatar
      Makefile: Remove MLO on make clean · 4e4b21bd
      Joel A Fernandes authored
      
      SPL builds could leave an MLO which is an mkimage of type omapimage
      Make sure its deleted on make clean/distclean
      
      Signed-off-by: default avatarJoel A Fernandes <joelagnel@ti.com>
      4e4b21bd
    • Che-liang Chiou's avatar
      examples: api: allow build with private libgcc · 349e83f0
      Che-liang Chiou authored
      
      The examples/api is not configured with USE_PRIVATE_LIBGCC.  This makes
      building examples/api break on certain boards that do not/cannot use the
      public libgcc.
      
      Nevertheless, this patch has to also touch the top-level Makefile to fix
      this problem because the current top-level Makefile does not specify
      libgcc as a prerequisite of examples/api, and explicitly builds
      examples/api _before_ libgcc.
      
      For testing this patch, I added the following to configs/seaboard.h and
      ran demo.bin on a Seaboard.
      
      +#define CONFIG_API
      +#define CONFIG_SYS_MMC_MAX_DEVICE 2
      +#define CONFIG_CMD_NET
      +#define CONFIG_NET_MULTI
      
      Signed-off-by: default avatarChe-Liang Chiou <clchiou@chromium.org>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      349e83f0
  2. Oct 18, 2011
  3. Oct 17, 2011
    • Simon Glass's avatar
      Move timestamp and version files into 'generated' subdir · efb2172e
      Simon Glass authored
      
      There is a rather subtle build problem where the build time stamp is not
      updated for out-of-tree builds if there exists an in-tree build which
      has a valid timestamp file. So if you do an in-tree build, then an
      out-of-tree build your timestamp will not change.
      
      The correct timestamp_autogenerated.h lives in the object tree, but it
      is not always found there. The source still lives in the source tree and
      when compiling version.h, it includes timestamp_autogenerated.h. Since
      the current directory is always searched first, this will come from the
      source tree rather than the object tree if it exists there. This affects
      dependency generation also, which means that common/cmd_version.o will not
      even be rebuilt if you have ever done an in-tree build.
      
      A similar problem exists with the version file.
      
      This change moves both files into the 'generated' subdir, which is already
      used for asm-offsets.h. Then timestamp.h and version.h are updated to
      include the files from there.
      
      There are other places where these generated files are included, but I
      cannot see why these don't just use the timestamp.h and version.h headers.
      So this change also tidies that up.
      
      I have tested this with in- and out-of-tree builds, but not SPL. I have
      looked at various other options for fixing this, including sed on the dep
      files, -I- and -include flags to gcc, but I don't think they can be made
      to work. Comments welcome.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      efb2172e
    • Simon Glass's avatar
      sandbox: Makefile changes to build sandbox architecture · 86eb49b3
      Simon Glass authored
      
      At this point U-Boot will build and run on x86 under Linux.
      
      The idea is to define a new architecture called 'sandbox', alongside ARM
      and x86. This runs natively on Linux to suit the host machine. All
      hardware access is either omitted or emulated.
      
      The purpose of this system is to test the bulk of the non-hardware-specific
      U-Boot code. We can mock the SPI flash, GPIOs, UART and keyboard, then test
      that U-Boot behaves as we wish.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      86eb49b3
    • Simon Glass's avatar
      Adjust dependency rules to permit per-file flags · 47508843
      Simon Glass authored
      
      The dependency rules are currently done in a shell 'for' loop. This does not
      permit Makefile variables to adjust preprocessor flags as is done with normal
      compile flags, using the CFLAGS_path/file.o syntax.
      
      This change moves the dependency generation into the Makefile itself, and
      permits a CPPFLAGS_path/file.o to adjust preprocessor flags on a file or
      directory basis.
      
      The CPPFLAGS_... variable is also folded into CFLAGS during the build.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      47508843
    • Simon Glass's avatar
      sandbox: Disable standalone/API support · 71152395
      Simon Glass authored
      
      This is not useful on the sandbox architecture since we can simply link all
      our code with U-Boot.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      71152395
  4. Oct 06, 2011
  5. Oct 05, 2011
  6. Sep 30, 2011
  7. Sep 29, 2011
  8. Sep 22, 2011
  9. Sep 11, 2011
  10. Sep 07, 2011
  11. Sep 04, 2011
  12. Sep 03, 2011
  13. Aug 04, 2011
    • Stefano Babic's avatar
      ARM: versatile: fix board support · d388298a
      Stefano Babic authored
      
      Versatile board is used as example to run u-boot under qemu.
      The patch fixes relocation for all versatile boards and adds
      a versatileqemu target to be used under qemu.
      
      Patch tested only under qemu, not on real boards.
      Tested with QEMU emulator version 0.14.50.
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      CC: Alessandro Rubini  <rubini-list@gnudd.com>
      CC: Loïc Minier <loic.minier@linaro.org>
      d388298a
  14. Aug 03, 2011
  15. Jul 28, 2011
  16. Jul 26, 2011
Loading