Skip to content
Snippets Groups Projects
  1. Oct 24, 2011
  2. Oct 23, 2011
  3. Oct 21, 2011
  4. Oct 20, 2011
  5. Oct 18, 2011
  6. 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: Add main program · bace3d00
      Simon Glass authored
      
      Add a main program so that we can run U-Boot.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      bace3d00
    • Simon Glass's avatar
      sandbox: Add OS dependent layer · 7a9219c1
      Simon Glass authored
      
      We want to keep all OS-dependent code in once place, with a simple interface
      to U-Boot. For now, this is that place.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      7a9219c1
    • Simon Glass's avatar
      sandbox: Add architecture lib files · b8605a1c
      Simon Glass authored
      
      These files are taken from the ARM board implementation and then reduced
      to remove unneeded cruft.
      
      Ideally we would work towards unifying arch/xxx/lib files, particularly
      board.c.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      b8605a1c
    • Simon Glass's avatar
      sandbox: Add cpu files · 4b0730d2
      Simon Glass authored
      
      This is an initial implementation with all functions defined but not working.
      
      The lds file is very simple since we can mostly rely on the linker defaults.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      4b0730d2
Loading