Add support for a saving build objects in a separate directory.
authorMarian Balakowicz <m8@semihalf.com>
Fri, 1 Sep 2006 17:49:50 +0000 (19:49 +0200)
committerMarian Balakowicz <m8@semihalf.com>
Fri, 1 Sep 2006 17:49:50 +0000 (19:49 +0200)
commitf93286397ed2a7084efb0362a43ee09f11702349
tree11e0c11781ba0b867831eff47a4178a464cf00b3
parent24d3d3754634532ae262075484e7c1d00d447152
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.
364 files changed:
CHANGELOG
MAKEALL
Makefile
board/AtmarkTechno/suzaku/Makefile
board/BuS/EB+MCF-EV123/Makefile
board/BuS/EB+MCF-EV123/textbase.mk
board/LEOX/elpt860/Makefile
board/MAI/AmigaOneG3SE/Makefile
board/Marvell/db64360/Makefile
board/Marvell/db64460/Makefile
board/RPXClassic/Makefile
board/RPXlite/Makefile
board/RPXlite_dw/Makefile
board/RRvision/Makefile
board/a3000/Makefile
board/adder/Makefile
board/adsvix/Makefile
board/alaska/Makefile
board/altera/dk1c20/Makefile
board/altera/dk1s10/Makefile
board/altera/ep1c20/Makefile
board/altera/ep1s10/Makefile
board/altera/ep1s40/Makefile
board/amcc/bamboo/Makefile
board/amcc/bubinga/Makefile
board/amcc/ebony/Makefile
board/amcc/luan/Makefile
board/amcc/ocotea/Makefile
board/amcc/walnut/Makefile
board/amcc/yellowstone/Makefile
board/amcc/yosemite/Makefile
board/amcc/yucca/Makefile
board/amirix/ap1000/Makefile
board/armadillo/Makefile
board/assabet/Makefile
board/at91rm9200dk/Makefile
board/atc/Makefile
board/barco/Makefile
board/bc3450/Makefile
board/bmw/Makefile
board/c2mon/Makefile
board/canmb/Makefile
board/cds/mpc8541cds/Makefile
board/cds/mpc8548cds/Makefile
board/cds/mpc8555cds/Makefile
board/cerf250/Makefile
board/cm4008/Makefile
board/cm41xx/Makefile
board/cmc_pu2/Makefile
board/cmi/Makefile
board/cobra5272/Makefile
board/cogent/Makefile
board/cpc45/Makefile
board/cpu86/Makefile
board/cpu87/Makefile
board/cradle/Makefile
board/cray/L1/Makefile
board/csb226/Makefile
board/csb272/Makefile
board/csb472/Makefile
board/csb637/Makefile
board/cu824/Makefile
board/dave/B2/Makefile
board/dave/PPChameleonEVB/Makefile
board/dbau1x00/Makefile
board/delta/Makefile
board/dnp1110/Makefile
board/eXalion/Makefile
board/eltec/bab7xx/Makefile
board/eltec/elppc/Makefile
board/eltec/mhpc/Makefile
board/emk/top5200/Makefile
board/emk/top860/Makefile
board/ep7312/Makefile
board/ep8248/Makefile
board/ep8260/Makefile
board/ep88x/Makefile
board/eric/Makefile
board/esd/adciop/Makefile
board/esd/apc405/Makefile
board/esd/ar405/Makefile
board/esd/ash405/Makefile
board/esd/canbt/Makefile
board/esd/cms700/Makefile
board/esd/cpci2dp/Makefile
board/esd/cpci405/Makefile
board/esd/cpci440/Makefile
board/esd/cpci5200/Makefile
board/esd/cpci5200/config.mk
board/esd/cpci750/Makefile
board/esd/cpciiser4/Makefile
board/esd/dasa_sim/Makefile
board/esd/dp405/Makefile
board/esd/du405/Makefile
board/esd/hh405/Makefile
board/esd/hub405/Makefile
board/esd/ocrtc/Makefile
board/esd/pci405/Makefile
board/esd/pf5200/Makefile
board/esd/pf5200/config.mk
board/esd/plu405/Makefile
board/esd/pmc405/Makefile
board/esd/tasreg/Makefile
board/esd/voh405/Makefile
board/esd/vom405/Makefile
board/esd/wuh405/Makefile
board/esteem192e/Makefile
board/etin/debris/Makefile
board/etin/kvme080/Makefile
board/etx094/Makefile
board/evb4510/Makefile
board/evb64260/Makefile
board/exbitgen/Makefile
board/ezkit533/Makefile
board/fads/Makefile
board/flagadm/Makefile
board/funkwerk/vovpn-gw/Makefile
board/g2000/Makefile
board/gcplus/Makefile
board/gen860t/Makefile
board/genietv/Makefile
board/gth/Makefile
board/gth2/Makefile
board/gw8260/Makefile
board/hermes/Makefile
board/hidden_dragon/Makefile
board/hmi1001/Makefile
board/hymod/Makefile
board/icecube/Makefile
board/icecube/config.mk
board/icu862/Makefile
board/ids8247/Makefile
board/impa7/Makefile
board/incaip/Makefile
board/inka4x0/Makefile
board/innokom/Makefile
board/integratorap/Makefile
board/integratorap/config.mk
board/integratorap/split_by_variant.sh
board/integratorcp/Makefile
board/integratorcp/config.mk
board/integratorcp/split_by_variant.sh
board/ip860/Makefile
board/iphase4539/Makefile
board/ispan/Makefile
board/ivm/Makefile
board/ixdp425/Makefile
board/ixdp425/config.mk
board/jse/Makefile
board/kb9202/Makefile
board/kup/Makefile
board/kup/kup4k/Makefile
board/kup/kup4x/Makefile
board/lantec/Makefile
board/lart/Makefile
board/logodl/Makefile
board/lpd7a40x/Makefile
board/lubbock/Makefile
board/lwmon/Makefile
board/m5271evb/Makefile
board/m5272c3/Makefile
board/m5282evb/Makefile
board/mbx8xx/Makefile
board/mcc200/Makefile
board/mcc200/config.mk
board/ml2/Makefile
board/modnet50/Makefile
board/mousse/Makefile
board/mp2usb/Makefile
board/mpc8260ads/Makefile
board/mpc8260ads/config.mk
board/mpc8266ads/Makefile
board/mpc8349emds/Makefile
board/mpc8540ads/Makefile
board/mpc8540eval/Makefile
board/mpc8560ads/Makefile
board/mpl/mip405/Makefile
board/mpl/pati/Makefile
board/mpl/pip405/Makefile
board/mpl/vcma9/Makefile
board/musenki/Makefile
board/mvblue/Makefile
board/mvs1/Makefile
board/mx1ads/Makefile
board/mx1fs2/Makefile
board/nc650/Makefile
board/nc650/config.mk
board/netphone/Makefile
board/netstar/Makefile
board/netta/Makefile
board/netta2/Makefile
board/netvia/Makefile
board/ns9750dev/Makefile
board/nx823/Makefile
board/o2dnt/Makefile
board/omap1510inn/Makefile
board/omap1610inn/Makefile
board/omap2420h4/Makefile
board/omap5912osk/Makefile
board/omap730p2/Makefile
board/oxc/Makefile
board/pb1x00/Makefile
board/pcippc2/Makefile
board/pcs440ep/Makefile
board/pleb2/Makefile
board/pm520/Makefile
board/pm826/Makefile
board/pm826/config.mk
board/pm828/Makefile
board/pm828/config.mk
board/pm854/Makefile
board/pm856/Makefile
board/pn62/Makefile
board/ppmc7xx/Makefile
board/ppmc8260/Makefile
board/prodrive/p3p440/Makefile
board/prodrive/pdnb3/Makefile
board/prodrive/pdnb3/config.mk
board/psyent/pci5441/Makefile
board/psyent/pk1c20/Makefile
board/purple/Makefile
board/pxa255_idp/Makefile
board/quantum/Makefile
board/r360mpi/Makefile
board/r5200/Makefile
board/rattler/Makefile
board/rbc823/Makefile
board/rmu/Makefile
board/rpxsuper/Makefile
board/rsdproto/Makefile
board/sacsng/Makefile
board/sandburst/karef/Makefile
board/sandburst/metrobox/Makefile
board/sandpoint/Makefile
board/sbc2410x/Makefile
board/sbc405/Makefile
board/sbc8240/Makefile
board/sbc8260/Makefile
board/sbc8560/Makefile
board/sc520_cdp/Makefile
board/sc520_spunk/Makefile
board/scb9328/Makefile
board/shannon/Makefile
board/siemens/CCM/Makefile
board/siemens/IAD210/Makefile
board/siemens/SCM/Makefile
board/siemens/pcu_e/Makefile
board/sixnet/Makefile
board/sl8245/Makefile
board/smdk2400/Makefile
board/smdk2410/Makefile
board/snmc/qs850/Makefile
board/snmc/qs860t/Makefile
board/sorcery/Makefile
board/spc1920/Makefile
board/spd8xx/Makefile
board/ssv/adnpesc1/Makefile
board/stamp/Makefile
board/stxgp3/Makefile
board/stxxtc/Makefile
board/svm_sc8xx/Makefile
board/sx1/Makefile
board/tb0229/Makefile
board/total5200/Makefile
board/total5200/config.mk
board/tqm5200/Makefile
board/tqm5200/config.mk
board/tqm8260/Makefile
board/tqm834x/Makefile
board/tqm85xx/Makefile
board/tqm8xx/Makefile
board/trab/Makefile
board/trab/config.mk
board/uc100/Makefile
board/utx8245/Makefile
board/v37/Makefile
board/versatile/Makefile
board/versatile/split_by_variant.sh
board/voiceblue/Makefile
board/voiceblue/config.mk
board/w7o/Makefile
board/wepep250/Makefile
board/westel/amx860/Makefile
board/xaeniax/Makefile
board/xilinx/ml300/Makefile
board/xm250/Makefile
board/xpedite1k/Makefile
board/xsengine/Makefile
board/zpc1900/Makefile
board/zylonite/Makefile
board/zylonite/config.mk
common/Makefile
config.mk
cpu/74xx_7xx/Makefile
cpu/arm1136/Makefile
cpu/arm720t/Makefile
cpu/arm920t/Makefile
cpu/arm920t/at91rm9200/Makefile
cpu/arm920t/imx/Makefile
cpu/arm920t/ks8695/Makefile
cpu/arm920t/s3c24x0/Makefile
cpu/arm925t/Makefile
cpu/arm926ejs/Makefile
cpu/arm926ejs/omap/Makefile
cpu/arm926ejs/versatile/Makefile
cpu/arm946es/Makefile
cpu/arm_intcm/Makefile
cpu/bf533/Makefile
cpu/i386/Makefile
cpu/ixp/Makefile
cpu/ixp/npe/Makefile
cpu/lh7a40x/Makefile
cpu/mcf52x2/Makefile
cpu/microblaze/Makefile
cpu/mips/Makefile
cpu/mpc5xx/Makefile
cpu/mpc5xxx/Makefile
cpu/mpc8220/Makefile
cpu/mpc824x/Makefile
cpu/mpc8260/Makefile
cpu/mpc83xx/Makefile
cpu/mpc85xx/Makefile
cpu/mpc8xx/Makefile
cpu/nios/Makefile
cpu/nios2/Makefile
cpu/ppc4xx/Makefile
cpu/pxa/Makefile
cpu/s3c44b0/Makefile
cpu/sa1100/Makefile
disk/Makefile
drivers/Makefile
drivers/nand/Makefile
drivers/nand_legacy/Makefile
drivers/sk98lin/Makefile
dtt/Makefile
examples/Makefile
fs/Makefile
fs/cramfs/Makefile
fs/ext2/Makefile
fs/fat/Makefile
fs/fdos/Makefile
fs/jffs2/Makefile
fs/reiserfs/Makefile
lib_arm/Makefile
lib_blackfin/Makefile
lib_generic/Makefile
lib_i386/Makefile
lib_m68k/Makefile
lib_microblaze/Makefile
lib_mips/Makefile
lib_nios/Makefile
lib_nios2/Makefile
lib_ppc/Makefile
mkconfig
net/Makefile
post/Makefile
post/cpu/Makefile
post/rules.mk
rtc/Makefile
rules.mk [new file with mode: 0644]
tools/Makefile
tools/env/Makefile
tools/gdb/Makefile
tools/updater/Makefile