]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Make linking against libgcc configurable
authorWolfgang Denk <wd@denx.de>
Thu, 23 Jul 2009 11:15:59 +0000 (13:15 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 26 Jul 2009 22:11:32 +0000 (00:11 +0200)
commit52b1bf2c5cd2f8af880dab503d0039b35570665b
treee9e4be6a20d20700057812ddac99f1c8c09974d7
parent479105065d965121f57b55dcfe83a940cba46ac1
Make linking against libgcc configurable

Many (especially ARM) tool chains seem to come with broken or
otherwise unusable (for the purposes of builing U-Boot) run-time
support libraries `libgcc.a'. By using the "USE_PRIVATE_LIBGCC"
setting we allow to use alternative libraries instead.

"USE_PRIVATE_LIBGCC" can either be set as an environment variable in
the shell, or as a command line argument when running "make", i. e.
$ make USE_PRIVATE_LIBGCC=yes
or
$ USE_PRIVATE_LIBGCC=yes
$ export USE_PRIVATE_LIBGCC
$ make

The value of "USE_PRIVATE_LIBGCC" is the name of the directory which
contains the alternative run-time support library `libgcc.a'. The
special value "yes" selects the directory $(OBJTREE)/lib_$(ARCH) .

Note that not all architectures provide an alternative `libgcc.a' in
their lib_$(ARCH) directories - so far, only ARM does.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
cc: Stefan Roese <sr@denx.de>
Makefile
board/trab/Makefile
lib_arm/Makefile