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.
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