u-boot-brain/board/gth
Marian Balakowicz f93286397e Add support for a saving build objects in a separate directory.
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.
2006-09-01 19:49:50 +02:00
..
config.mk * Code cleanup: 2003-06-27 21:31:46 +00:00
ee_access.c Initial revision 2002-08-17 09:36:01 +00:00
ee_access.h Initial revision 2002-03-08 21:31:05 +00:00
ee_dev.h Initial revision 2002-03-08 21:31:05 +00:00
flash.c Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
gth.c Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
Makefile Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
pcmcia.c Major PCMCIA Cleanup to make code better readable and maintainable. 2006-07-10 23:07:28 +02:00
README * Code cleanup: 2003-06-27 21:31:46 +00:00
u-boot.lds 2005-12-12 16:06:05 +01:00

Written by Thomas.Lange@corelatus.com 010805

To make a system for gth that actually works ;-)
the variable TBASE needs to be set to 0,1 or 2
depending on location where image is supposed to
be started from.
E.g. make TBASE=1

0: Start from RAM, base 0

1: Start from flash_base + 0x10070

2: Start from flash_base + 0x30070

When using 1 or 2, the image is supposed to be launched
from miniboot that boots the first U-Boot image found in
flash.
For miniboot code, description, see www.opensource.se