Skip to content
Snippets Groups Projects
  1. Nov 17, 2010
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      
      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: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  2. Sep 21, 2010
    • Michael Zaidman's avatar
      POST cleanup. · 800eb096
      Michael Zaidman authored
      
      - Revives POST for blackfin arch;
      - Removes redundant code:
           arch/blackfin/lib/post.c
           arch/powerpc/cpu/ppc4xx/commproc.c
           arch/powerpc/cpu/mpc512x/common.c
      - fixes up the post_word_{load|store} usage.
      
      Signed-off-by: default avatarMichael Zaidman <michael.zaidman@gmail.com>
      Acked-by: default avatarDetlev Zundel <dzu@denx.de>
      Tested-by: default avatarAnatolij Gustschin <agust@denx.de>
      
      List of the maintainers of the affected by patch boards:
      Cc: Stephan Linz <linz@li-pro.net>
      Cc: Denis Peter <d.peter@mpl.ch>
      Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
      Cc: Peter Tyser <ptyser@xes-inc.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Niklaus Giger <niklaus.giger@netstal.com>
      Cc: Larry Johnson <lrj@acm.org>
      Cc: Feng Kan <fkan@amcc.com>
      800eb096
  3. Dec 16, 2008
    • Wolfgang Denk's avatar
      post/Makefile: fix dependency problem with parallel builds · aa1bcca3
      Wolfgang Denk authored
      
      Parallel builds (using "make -jN") would occasionally fail with error
      messages like
      	ppc_4xxFP-objdump: string.o: File format not recognized
      or
      	post/libpost.a(cpu.o): In function `cpu_post_test':
      	/home/wd/git/u-boot/work/post/lib_ppc/cpu.c:130: undefined reference to `cpu_post_test_string'
      or similar. We now make sure to run the 'postdeps" step before
      attempting to build the specific POST libraries.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      aa1bcca3
  4. Dec 15, 2008
  5. Apr 27, 2008
  6. Apr 25, 2008
  7. Apr 22, 2008
    • Yuri Tikhonov's avatar
      POST: move CONFIG_POST to Makefiles · 2d2b994a
      Yuri Tikhonov authored
      
      Introduce the new logical option CONFIG_HAS_POST which is set when the
      platform has CONFIG_POST set. Use CONFIG_HAS_POST in the post/ Makefiles
      to determine should the POST libs be compiled for the selected target
      platform, or not.
      
      To avoid breaking u-boot linking process, the empty post/libpost.a file is
      created for platforms which do not have POSTs.
      
      Signed-off-by: default avatarYuri Tikhonov <yur@emcraft.com>
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      2d2b994a
  8. Mar 06, 2007
  9. Sep 01, 2006
    • Marian Balakowicz's avatar
      Add support for a saving build objects in a separate directory. · f9328639
      Marian Balakowicz authored
      Modifications are based on the linux kernel approach and
      support two use cases:
      
        1) Add O= to the make command line
        'make O=/tmp/build all'
      
        2) Set environement variable BUILD_DIR to point to the desired location
        'export BUILD_DIR=/tmp/build'
        'make'
      
      The second approach can also be used with a MAKEALL script
      'export BUILD_DIR=/tmp/build'
      './MAKEALL'
      
      Command line 'O=' setting overrides BUILD_DIR environent variable.
      
      When none of the above methods is used the local build is performed and
      the object files are placed in the source directory.
      f9328639
  10. Jun 07, 2004
  11. Apr 15, 2004
    • Wolfgang Denk's avatar
      * Patches by Pantelis Antoniou, 30 Mar 2004: · 5a8c51cd
      Wolfgang Denk authored
        - add support for the Epson 156x series of graphical displays
          (These displays are serial and not suitable for using a normal
          framebuffer console on them)
        - add infrastructure needed in order to POST any DSPs in a board
      5a8c51cd
  12. Apr 27, 2003
    • Wolfgang Denk's avatar
      * LWMON extensions: · 4532cb69
      Wolfgang Denk authored
        - Splashscreen support
        - modem support
        - sysmon support
        - temperature dependend enabling of LCD
      
      * Allow booting from old "PPCBoot" disk partitions
      
      * Add support for TQM8255 Board / MPC8255 CPU
      4532cb69
  13. Aug 27, 2002
  14. Jan 15, 2002
  15. Dec 15, 2001
  16. May 16, 2001
  17. May 01, 2001
  18. Jul 10, 2000
Loading