9
0
Fork 0
barebox/board/cobra5272
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
..
bdm Patch by Florian Schlote, 08 Sep 2004: 2005-01-09 18:21:42 +00:00
Makefile Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
cobra5272.c Patch by Florian Schlote, 08 Sep 2004: 2005-01-09 18:21:42 +00:00
config.mk Patch by Florian Schlote, 08 Sep 2004: 2005-01-09 18:21:42 +00:00
flash.c Fixes for gcc 3.4 based m68k toolchain, 2006-05-09 11:28:36 +02:00
u-boot.lds Fix problems with ld version 2.16 (dot outside sections problem) 2005-08-31 12:28:00 +02:00