9
0
Fork 0
barebox/cpu
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
..
74xx_7xx Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
arm720t Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
arm920t Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
arm925t Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
arm926ejs Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
arm946es Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
arm1136 Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
arm_intcm Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
bf533 Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
i386 Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
ixp Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
lh7a40x Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
mcf52x2 Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
microblaze Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
mips Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
mpc5xx Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
mpc5xxx Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
mpc8xx Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
mpc83xx Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
mpc85xx Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
mpc824x Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
mpc8220 Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
mpc8260 Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
nios Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
nios2 Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
ppc4xx Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
pxa Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
s3c44b0 Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
sa1100 Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00