1. 06 May, 2013 1 commit
    • Marek Vasut's avatar
      arm: mxs: Preprocess u-boot.bd so they contain full path · 714dc001
      Marek Vasut authored
      The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise
      they have issues with out-of-tree build where elftosb tool couldn't sometimes
      find the u-boot.bin and spl/u-boot-spl.bin .
      Preprocess these .bd files with sed and insert full path to u-boot.bin and
      spl/u-boot-spl.bin to prevent this issue. Moreover, to avoid adding more
      churn into main Makefile, move all this preprocessing and u-boot.sb generation
      into CPU directory instead.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Acked-by: default avatarOtavio Salvador <otavio@ossystems.com.br>
  2. 12 Apr, 2013 3 commits
  3. 12 Mar, 2013 1 commit
    • Albert ARIBAUD's avatar
      Refactor linker-generated arrays · ef123c52
      Albert ARIBAUD authored
      Refactor linker-generated array code so that symbols
      which were previously linker-generated are now compiler-
      generated. This causes relocation records of type
      R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
      code which uses LGA able to run before relocation as
      well as after.
      Note: this affects more than ARM targets, as linker-
      lists span possibly all target architectures, notably
      Signed-off-by: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
  4. 22 Jan, 2013 1 commit
  5. 06 Dec, 2012 1 commit
  6. 22 Oct, 2012 1 commit
    • Marek Vasut's avatar
      common: Add symbol handling for generic lists into Makefile · 97b24d3d
      Marek Vasut authored
      This patch adds essential components for generation of the contents of
      the linker section that is used by the linker-generated array. All of
      the contents is held in a separate file, u-boot.lst, which is generated
      at runtime just before U-Boot is linked.
      The purpose of this code is to especially generate the appropriate
      boundary symbols around each subsection in the section carrying the
      linker-generated arrays. Obviously, the interim linker code for actual
      placement of the variables into the section is generated too. The
      generated file, u-boot.lst, is included into u-boot.lds via the linker
      INCLUDE directive in u-boot.lds .
      Adjustments are made in the Makefile and spl/Makefile so that the
      u-boot.lds and u-boot-spl.lds depend on their respective .lst files.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      Tested-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
  7. 18 Sep, 2012 1 commit
  8. 01 Sep, 2012 1 commit
  9. 09 Aug, 2012 1 commit
  10. 26 Mar, 2012 1 commit
  11. 24 Dec, 2011 1 commit
  12. 11 Nov, 2011 1 commit
  13. 26 Oct, 2011 1 commit
  14. 17 Oct, 2011 1 commit
    • 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>
  15. 06 Oct, 2011 1 commit
  16. 30 Sep, 2011 1 commit
  17. 21 Sep, 2011 1 commit
  18. 28 Jul, 2011 1 commit
  19. 22 May, 2011 1 commit
  20. 17 Jan, 2011 1 commit
  21. 26 Oct, 2010 1 commit
    • Wolfgang Denk's avatar
      include/asm-offsets.h: automatically generate assembler constants · 16a354f9
      Wolfgang Denk authored
      A recurrent issue is that certain C level constructs like sizeof() or
      offsetof() cannot be used in assembler files, which is inconvenient
      when such constructs are used in the definition of macro names etc.
      To avoid duplication of such definitions (and thus another cause of
      problems), we adapt the Linux way to automatically generate the
      respective definitions from the respective C header files.
      In Linux, this is implemented in include/linux/kbuild.h, Kbuild, and
      arch/*/kernel/asm-offsets.c; we adapt the code from the Linux v2.6.36
      kernel tree.
      We also copy the concept of the include/generated/ directory which can
      be used to hold other automatically generated files as well.
      We start with an architecture-independent lib/asm-offsets.c which
      generates include/generated/generic-asm-offsets.h (included by
      include/asm-offsets.h, which is what will be referred to in the actual
      source code).  Later this may be extended by architecture-specific
      arch/*/lib/asm-offsets.c files that will generate a
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
  22. 23 Aug, 2009 1 commit
  23. 20 Jul, 2009 1 commit
  24. 05 Dec, 2008 1 commit
  25. 09 Sep, 2008 1 commit
  26. 06 Aug, 2008 1 commit
  27. 29 Jul, 2008 1 commit
  28. 18 Apr, 2008 1 commit
  29. 13 Feb, 2008 1 commit
  30. 05 Feb, 2008 1 commit
  31. 09 Jan, 2008 1 commit
  32. 15 Nov, 2007 1 commit