1. 01 5月, 2011 1 次提交
    • M
      zlib: split up to match original source tree · e89516f0
      Mike Frysinger 提交于
      While looking to upgrade to zlib-1.2.5, the current mondo merge of
      multiple files into a single was making things way more difficult
      than it should have been.  Hard to pick out what has been changed
      to port it to U-Boot, been removed as useless, and bug fixes added
      after the fact.
      
      So split the single file up into the original file names, and merge
      non-essential changes back from the original tree (for some reason,
      style in code in a bunch of places was changed to U-Boot style even
      though this isn't "U-Boot" code).
      
      The original build style is retained -- we have a single zlib.c that
      includes all the other files, and that is the only file we compile.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      e89516f0
  2. 28 4月, 2011 3 次提交
  3. 13 4月, 2011 2 次提交
  4. 02 4月, 2011 1 次提交
  5. 01 4月, 2011 1 次提交
  6. 28 3月, 2011 1 次提交
  7. 20 2月, 2011 1 次提交
    • S
      Add USB host ethernet adapter support · 89d48367
      Simon Glass 提交于
      This adds support for using USB Ethernet dongles in host mode. This is just
      the framework - drivers will come later. A new config option called
      CONFIG_USB_HOST_ETHER can be defined in board config files to switch this
      on.
      
      The was originally written by NVIDIA and was cleaned up for release by the
      Chromium authors.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      89d48367
  8. 07 2月, 2011 1 次提交
  9. 05 2月, 2011 3 次提交
  10. 03 2月, 2011 2 次提交
  11. 26 1月, 2011 1 次提交
  12. 21 1月, 2011 2 次提交
    • L
      Cleanup .boards.depend when using an objtree · d6a5e6d5
      Loïc Minier 提交于
      .boards.depend was created in the source tree even when calling make
      with O=objtree, and distclean O=objtree wouldn't clean it.  Create
      .boards.depend in objtree instead as to clean it up properly.
      Reported-by: NLoc Minier <loic.minier@linaro.org>
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      d6a5e6d5
    • L
      Don't add symlink in srctree when using an objtree · a9d8bc98
      Loïc Minier 提交于
      When building with srctree != objtree, the build creates arch/soc/cpu
      specific symlinks in the source tree.  This means that the same source
      tree can't be used for multiple builds at the same time.  Also, these
      symlinks in the source tree are only cleaned up if one passes the same
      O= to distclean.
      
      When srctree != objtree, mkconfig creates an $objtree/include2 directory
      in the objtree to host the asm -> arch/$arch/include/asm symlink so that
      "#include <asm>" can be used.  But it also creates another identical
      symlink in $objtree/include.
      
      Then, mkconfig creates two symlinks:
      $objtree/include/asm/arch -> arch/$arch/include/asm/arch-$cpu (or $soc)
      $objtree/include/asm/proc -> arch/$arch/include/asm/proc-armv (on arm)
      but because $objtree/include/asm points at $srctree already, the two
      symlinks are created under $srctree.
      
      To fix this, create a real $objtree/include/asm directory, instead of a
      symlink.  Update cleanup code accordingly.
      Signed-off-by: NLoïc Minier <loic.minier@linaro.org>
      a9d8bc98
  13. 23 12月, 2010 1 次提交
  14. 17 12月, 2010 1 次提交
  15. 02 12月, 2010 1 次提交
  16. 29 11月, 2010 1 次提交
  17. 28 11月, 2010 1 次提交
  18. 18 11月, 2010 2 次提交
    • M
      Makefile: Fix build with USE_PRIVATE_LIBGCC · 635d1b3e
      Matthias Weisser 提交于
      If USE_PRIVATE_LIBGCC is set the yes building fails with a missing
      libgcc.a As we use partial linking now it is libgcc.o now.
      Signed-off-by: NMatthias Weisser <weisserm@arcor.de>
      635d1b3e
    • S
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier 提交于
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      Signed-off-by: NSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  19. 30 10月, 2010 1 次提交
  20. 28 10月, 2010 3 次提交
  21. 27 10月, 2010 1 次提交
    • W
      include/asm-offsets.h: automatically generate assembler constants · 16a354f9
      Wolfgang Denk 提交于
      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
      include/generated/asm-offsets.h.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      16a354f9
  22. 26 10月, 2010 1 次提交
  23. 21 10月, 2010 3 次提交
  24. 20 10月, 2010 5 次提交