[U-Boot] [PATCH] punt unused clean/distclean targets

Mike Frysinger vapier at gentoo.org
Sun Sep 18 07:17:00 CEST 2011


The top level Makefile does not do any recursion into subdirs when
cleaning, so these clean/distclean targets in random arch/board dirs
never get used.  Punt them all.

MAKEALL didn't report any errors related to this that I could see.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 arch/arm/cpu/arm926ejs/spear/Makefile    |    6 ------
 arch/sh/cpu/sh2/Makefile                 |    6 ------
 arch/sh/cpu/sh3/Makefile                 |    6 ------
 arch/sh/cpu/sh4/Makefile                 |    6 ------
 board/BuS/eb_cpux9k2/Makefile            |    6 ------
 board/LaCie/edminiv2/Makefile            |    6 ------
 board/LaCie/netspace_v2/Makefile         |    6 ------
 board/Marvell/aspenite/Makefile          |    6 ------
 board/Marvell/dkb/Makefile               |    6 ------
 board/Marvell/gplugd/Makefile            |    6 ------
 board/Marvell/guruplug/Makefile          |    6 ------
 board/Marvell/mv88f6281gtw_ge/Makefile   |    6 ------
 board/Marvell/openrd/Makefile            |    6 ------
 board/Marvell/rd6281a/Makefile           |    6 ------
 board/Marvell/sheevaplug/Makefile        |    6 ------
 board/Seagate/dockstar/Makefile          |    6 ------
 board/a4m072/Makefile                    |    6 ------
 board/actux1/Makefile                    |    6 ------
 board/actux2/Makefile                    |    6 ------
 board/actux3/Makefile                    |    6 ------
 board/actux4/Makefile                    |    6 ------
 board/adder/Makefile                     |    6 ------
 board/afeb9260/Makefile                  |    6 ------
 board/alaska/Makefile                    |    6 ------
 board/altera/nios2-generic/Makefile      |    6 ------
 board/amcc/acadia/Makefile               |    6 ------
 board/amcc/bamboo/Makefile               |    6 ------
 board/amcc/bluestone/Makefile            |    6 ------
 board/amcc/bubinga/Makefile              |    6 ------
 board/amcc/canyonlands/Makefile          |    6 ------
 board/amcc/ebony/Makefile                |    6 ------
 board/amcc/katmai/Makefile               |    6 ------
 board/amcc/kilauea/Makefile              |    6 ------
 board/amcc/luan/Makefile                 |    6 ------
 board/amcc/makalu/Makefile               |    6 ------
 board/amcc/ocotea/Makefile               |    6 ------
 board/amcc/redwood/Makefile              |    6 ------
 board/amcc/sequoia/Makefile              |    6 ------
 board/amcc/taihu/Makefile                |    6 ------
 board/amcc/taishan/Makefile              |    6 ------
 board/amcc/walnut/Makefile               |    6 ------
 board/amcc/yosemite/Makefile             |    6 ------
 board/amcc/yucca/Makefile                |    6 ------
 board/amirix/ap1000/Makefile             |    6 ------
 board/apollon/Makefile                   |    6 ------
 board/armltd/integrator/Makefile         |    6 ------
 board/armltd/versatile/Makefile          |    6 ------
 board/armltd/vexpress/Makefile           |    6 ------
 board/atmel/at91rm9200ek/Makefile        |    6 ------
 board/atmel/at91sam9260ek/Makefile       |    6 ------
 board/atmel/at91sam9261ek/Makefile       |    6 ------
 board/atmel/at91sam9263ek/Makefile       |    6 ------
 board/atmel/at91sam9m10g45ek/Makefile    |    6 ------
 board/atmel/at91sam9rlek/Makefile        |    6 ------
 board/balloon3/Makefile                  |    6 ------
 board/bc3450/Makefile                    |    6 ------
 board/bct-brettl2/Makefile               |    6 ------
 board/bf506f-ezkit/Makefile              |    6 ------
 board/bf518f-ezbrd/Makefile              |    6 ------
 board/bf525-ucr2/Makefile                |    6 ------
 board/bf526-ezbrd/Makefile               |    6 ------
 board/bf527-ad7160-eval/Makefile         |    6 ------
 board/bf527-ezkit/Makefile               |    6 ------
 board/bf527-sdp/Makefile                 |    6 ------
 board/bf533-ezkit/Makefile               |    6 ------
 board/bf533-stamp/Makefile               |    6 ------
 board/bf537-minotaur/Makefile            |    6 ------
 board/bf537-pnav/Makefile                |    6 ------
 board/bf537-srv1/Makefile                |    6 ------
 board/bf537-stamp/Makefile               |    6 ------
 board/bf538f-ezkit/Makefile              |    6 ------
 board/bf548-ezkit/Makefile               |    6 ------
 board/bf561-acvilon/Makefile             |    6 ------
 board/bf561-ezkit/Makefile               |    6 ------
 board/blackstamp/Makefile                |    6 ------
 board/blackvme/Makefile                  |    6 ------
 board/bluewater/snapper9260/Makefile     |    6 ------
 board/calao/sbc35_a9g20/Makefile         |    6 ------
 board/calao/tny_a9260/Makefile           |    6 ------
 board/canmb/Makefile                     |    6 ------
 board/cerf250/Makefile                   |    6 ------
 board/cm-bf527/Makefile                  |    6 ------
 board/cm-bf533/Makefile                  |    6 ------
 board/cm-bf537e/Makefile                 |    6 ------
 board/cm-bf537u/Makefile                 |    6 ------
 board/cm-bf548/Makefile                  |    6 ------
 board/cm-bf561/Makefile                  |    6 ------
 board/cm4008/Makefile                    |    6 ------
 board/cm41xx/Makefile                    |    6 ------
 board/cm5200/Makefile                    |    6 ------
 board/cm_t35/Makefile                    |    6 ------
 board/cmi/Makefile                       |    6 ------
 board/cogent/Makefile                    |    6 ------
 board/colibri_pxa270/Makefile            |    6 ------
 board/comelit/dig297/Makefile            |    6 ------
 board/cradle/Makefile                    |    6 ------
 board/cray/L1/Makefile                   |    7 -------
 board/csb226/Makefile                    |    6 ------
 board/csb272/Makefile                    |    6 ------
 board/csb472/Makefile                    |    6 ------
 board/dave/PPChameleonEVB/Makefile       |    6 ------
 board/davedenx/aria/Makefile             |    6 ------
 board/davedenx/qong/Makefile             |    6 ------
 board/davinci/common/Makefile            |    6 ------
 board/davinci/da8xxevm/Makefile          |    6 ------
 board/davinci/dm355evm/Makefile          |    6 ------
 board/davinci/dm355leopard/Makefile      |    6 ------
 board/davinci/dm365evm/Makefile          |    6 ------
 board/davinci/dm6467evm/Makefile         |    6 ------
 board/davinci/dvevm/Makefile             |    6 ------
 board/davinci/ea20/Makefile              |    6 ------
 board/davinci/schmoogie/Makefile         |    6 ------
 board/davinci/sffsdr/Makefile            |    6 ------
 board/davinci/sonata/Makefile            |    6 ------
 board/dnp5370/Makefile                   |    6 ------
 board/dvlhost/Makefile                   |    6 ------
 board/eNET/Makefile                      |    6 ------
 board/efikamx/Makefile                   |    6 ------
 board/eltec/bab7xx/Makefile              |    6 ------
 board/eltec/elppc/Makefile               |    6 ------
 board/emk/top5200/Makefile               |    6 ------
 board/emk/top9000/Makefile               |    6 ------
 board/ep8248/Makefile                    |    6 ------
 board/ep8260/Makefile                    |    6 ------
 board/ep82xxm/Makefile                   |    6 ------
 board/ep88x/Makefile                     |    6 ------
 board/esd/adciop/Makefile                |    6 ------
 board/esd/apc405/Makefile                |    6 ------
 board/esd/ar405/Makefile                 |    6 ------
 board/esd/ash405/Makefile                |    6 ------
 board/esd/canbt/Makefile                 |    6 ------
 board/esd/cms700/Makefile                |    6 ------
 board/esd/cpci2dp/Makefile               |    6 ------
 board/esd/cpci405/Makefile               |    6 ------
 board/esd/cpci5200/Makefile              |    6 ------
 board/esd/cpciiser4/Makefile             |    6 ------
 board/esd/dasa_sim/Makefile              |    6 ------
 board/esd/dp405/Makefile                 |    6 ------
 board/esd/du405/Makefile                 |    6 ------
 board/esd/du440/Makefile                 |    6 ------
 board/esd/hh405/Makefile                 |    6 ------
 board/esd/hub405/Makefile                |    6 ------
 board/esd/mecp5123/Makefile              |    6 ------
 board/esd/mecp5200/Makefile              |    6 ------
 board/esd/meesc/Makefile                 |    6 ------
 board/esd/ocrtc/Makefile                 |    6 ------
 board/esd/otc570/Makefile                |    6 ------
 board/esd/pci405/Makefile                |    6 ------
 board/esd/pf5200/Makefile                |    6 ------
 board/esd/plu405/Makefile                |    6 ------
 board/esd/pmc405/Makefile                |    6 ------
 board/esd/pmc405de/Makefile              |    6 ------
 board/esd/pmc440/Makefile                |    6 ------
 board/esd/vme8349/Makefile               |    6 ------
 board/esd/voh405/Makefile                |    6 ------
 board/esd/vom405/Makefile                |    6 ------
 board/esd/wuh405/Makefile                |    6 ------
 board/espt/Makefile                      |    6 ------
 board/eukrea/cpu9260/Makefile            |    6 ------
 board/eukrea/cpuat91/Makefile            |    6 ------
 board/faraday/a320evb/Makefile           |    6 ------
 board/freescale/common/Makefile          |    6 ------
 board/freescale/corenet_ds/Makefile      |    6 ------
 board/freescale/mpc5121ads/Makefile      |    6 ------
 board/freescale/mpc7448hpc2/Makefile     |    7 -------
 board/freescale/mpc8260ads/Makefile      |    6 ------
 board/freescale/mpc8266ads/Makefile      |    6 ------
 board/freescale/mpc8308rdb/Makefile      |    6 ------
 board/freescale/mpc8313erdb/Makefile     |    6 ------
 board/freescale/mpc8315erdb/Makefile     |    6 ------
 board/freescale/mpc8323erdb/Makefile     |    6 ------
 board/freescale/mpc832xemds/Makefile     |    6 ------
 board/freescale/mpc8349emds/Makefile     |    6 ------
 board/freescale/mpc8349itx/Makefile      |    6 ------
 board/freescale/mpc8360emds/Makefile     |    6 ------
 board/freescale/mpc8360erdk/Makefile     |    6 ------
 board/freescale/mpc837xemds/Makefile     |    6 ------
 board/freescale/mpc837xerdb/Makefile     |    6 ------
 board/freescale/mpc8536ds/Makefile       |    6 ------
 board/freescale/mpc8540ads/Makefile      |    6 ------
 board/freescale/mpc8541cds/Makefile      |    6 ------
 board/freescale/mpc8544ds/Makefile       |    6 ------
 board/freescale/mpc8548cds/Makefile      |    6 ------
 board/freescale/mpc8555cds/Makefile      |    6 ------
 board/freescale/mpc8560ads/Makefile      |    6 ------
 board/freescale/mpc8568mds/Makefile      |    6 ------
 board/freescale/mpc8569mds/Makefile      |    6 ------
 board/freescale/mpc8572ds/Makefile       |    6 ------
 board/freescale/mpc8610hpcd/Makefile     |    7 -------
 board/freescale/mpc8641hpcn/Makefile     |    7 -------
 board/freescale/mx31ads/Makefile         |    6 ------
 board/freescale/mx31pdk/Makefile         |    6 ------
 board/freescale/mx35pdk/Makefile         |    6 ------
 board/freescale/mx51evk/Makefile         |    6 ------
 board/freescale/mx53ard/Makefile         |    6 ------
 board/freescale/mx53evk/Makefile         |    6 ------
 board/freescale/mx53loco/Makefile        |    6 ------
 board/freescale/mx53smd/Makefile         |    6 ------
 board/freescale/p1022ds/Makefile         |    6 ------
 board/freescale/p1023rds/Makefile        |    6 ------
 board/freescale/p1_p2_rdb/Makefile       |    6 ------
 board/freescale/p2020ds/Makefile         |    6 ------
 board/freescale/p2041rdb/Makefile        |    6 ------
 board/funkwerk/vovpn-gw/Makefile         |    6 ------
 board/g2000/Makefile                     |    6 ------
 board/gaisler/gr_cpci_ax2000/Makefile    |    6 ------
 board/gaisler/gr_ep2s60/Makefile         |    6 ------
 board/gaisler/gr_xc3s_1500/Makefile      |    6 ------
 board/gaisler/grsim/Makefile             |    6 ------
 board/gaisler/grsim_leon2/Makefile       |    6 ------
 board/galaxy5200/Makefile                |    6 ------
 board/gdsys/405ep/Makefile               |    6 ------
 board/gdsys/common/Makefile              |    6 ------
 board/gdsys/dlvision/Makefile            |    6 ------
 board/gdsys/gdppc440etx/Makefile         |    6 ------
 board/gdsys/intip/Makefile               |    6 ------
 board/gdsys/neo/Makefile                 |    6 ------
 board/gw8260/Makefile                    |    6 ------
 board/ibf-dsp561/Makefile                |    6 ------
 board/icecube/Makefile                   |    6 ------
 board/imx31_phycore/Makefile             |    6 ------
 board/inka4x0/Makefile                   |    6 ------
 board/innokom/Makefile                   |    6 ------
 board/intercontrol/digsy_mtc/Makefile    |    6 ------
 board/ip04/Makefile                      |    6 ------
 board/ipek01/Makefile                    |    6 ------
 board/iphase4539/Makefile                |    6 ------
 board/isee/igep0020/Makefile             |    6 ------
 board/isee/igep0030/Makefile             |    6 ------
 board/ispan/Makefile                     |    6 ------
 board/ixdp425/Makefile                   |    6 ------
 board/jornada/Makefile                   |    6 ------
 board/jse/Makefile                       |    6 ------
 board/jupiter/Makefile                   |    6 ------
 board/karo/tx25/Makefile                 |    6 ------
 board/keymile/km82xx/Makefile            |    6 ------
 board/keymile/km83xx/Makefile            |    6 ------
 board/keymile/km_arm/Makefile            |    6 ------
 board/korat/Makefile                     |    6 ------
 board/logicpd/am3517evm/Makefile         |    6 ------
 board/logicpd/imx27lite/Makefile         |    6 ------
 board/logicpd/imx31_litekit/Makefile     |    6 ------
 board/logicpd/zoom1/Makefile             |    6 ------
 board/logicpd/zoom2/Makefile             |    6 ------
 board/lubbock/Makefile                   |    6 ------
 board/lwmon5/Makefile                    |    6 ------
 board/manroland/hmi1001/Makefile         |    6 ------
 board/manroland/mucmc52/Makefile         |    6 ------
 board/manroland/uc101/Makefile           |    6 ------
 board/matrix_vision/common/Makefile      |    6 ------
 board/matrix_vision/mergerbox/Makefile   |    6 ------
 board/matrix_vision/mvbc_p/Makefile      |    6 ------
 board/matrix_vision/mvblm7/Makefile      |    6 ------
 board/matrix_vision/mvsmr/Makefile       |    6 ------
 board/mcc200/Makefile                    |    6 ------
 board/mercury/mpq101/Makefile            |    6 ------
 board/micronas/vct/Makefile              |    6 ------
 board/ml2/Makefile                       |    6 ------
 board/mosaixtech/icon/Makefile           |    6 ------
 board/motionpro/Makefile                 |    6 ------
 board/mpc8308_p1m/Makefile               |    6 ------
 board/mpl/mip405/Makefile                |    6 ------
 board/mpl/pati/Makefile                  |    6 ------
 board/mpl/pip405/Makefile                |    6 ------
 board/mpl/vcma9/Makefile                 |    6 ------
 board/mpr2/Makefile                      |    6 ------
 board/ms7720se/Makefile                  |    6 ------
 board/ms7722se/Makefile                  |    6 ------
 board/ms7750se/Makefile                  |    6 ------
 board/muas3001/Makefile                  |    6 ------
 board/munices/Makefile                   |    6 ------
 board/mx1ads/Makefile                    |    6 ------
 board/ns9750dev/Makefile                 |    6 ------
 board/nvidia/harmony/Makefile            |    6 ------
 board/nvidia/seaboard/Makefile           |    6 ------
 board/o2dnt/Makefile                     |    6 ------
 board/overo/Makefile                     |    6 ------
 board/palmld/Makefile                    |    6 ------
 board/palmtc/Makefile                    |    6 ------
 board/pandora/Makefile                   |    6 ------
 board/pcs440ep/Makefile                  |    6 ------
 board/pdm360ng/Makefile                  |    6 ------
 board/phytec/pcm030/Makefile             |    6 ------
 board/pleb2/Makefile                     |    6 ------
 board/pm520/Makefile                     |    6 ------
 board/ppmc7xx/Makefile                   |    6 ------
 board/ppmc8260/Makefile                  |    6 ------
 board/prodrive/alpr/Makefile             |    6 ------
 board/prodrive/p3mx/Makefile             |    6 ------
 board/prodrive/p3p440/Makefile           |    6 ------
 board/prodrive/pdnb3/Makefile            |    6 ------
 board/psyent/pci5441/Makefile            |    6 ------
 board/psyent/pk1c20/Makefile             |    6 ------
 board/pxa255_idp/Makefile                |    6 ------
 board/quad100hd/Makefile                 |    6 ------
 board/rattler/Makefile                   |    6 ------
 board/renesas/MigoR/Makefile             |    6 ------
 board/renesas/ap325rxa/Makefile          |    6 ------
 board/renesas/r2dplus/Makefile           |    6 ------
 board/renesas/r7780mp/Makefile           |    6 ------
 board/renesas/rsk7203/Makefile           |    6 ------
 board/renesas/rsk7264/Makefile           |    6 ------
 board/renesas/sh7757lcr/Makefile         |    6 ------
 board/renesas/sh7763rdp/Makefile         |    6 ------
 board/renesas/sh7785lcr/Makefile         |    6 ------
 board/ronetix/pm9261/Makefile            |    6 ------
 board/ronetix/pm9263/Makefile            |    6 ------
 board/ronetix/pm9g45/Makefile            |    6 ------
 board/rpxsuper/Makefile                  |    6 ------
 board/rsdproto/Makefile                  |    6 ------
 board/sacsng/Makefile                    |    6 ------
 board/samsung/goni/Makefile              |    6 ------
 board/samsung/smdk2410/Makefile          |    6 ------
 board/samsung/smdk6400/Makefile          |    6 ------
 board/samsung/smdkc100/Makefile          |    6 ------
 board/samsung/universal_c210/Makefile    |    6 ------
 board/sandburst/karef/Makefile           |    6 ------
 board/sandburst/metrobox/Makefile        |    6 ------
 board/sbc405/Makefile                    |    6 ------
 board/sbc8260/Makefile                   |    6 ------
 board/sbc8349/Makefile                   |    6 ------
 board/sbc8548/Makefile                   |    6 ------
 board/sbc8560/Makefile                   |    6 ------
 board/sbc8641d/Makefile                  |    7 -------
 board/sc3/Makefile                       |    6 ------
 board/scb9328/Makefile                   |    6 ------
 board/sheldon/simpc8313/Makefile         |    6 ------
 board/shmin/Makefile                     |    6 ------
 board/siemens/SCM/Makefile               |    6 ------
 board/socrates/Makefile                  |    6 ------
 board/sorcery/Makefile                   |    6 ------
 board/spear/common/Makefile              |    6 ------
 board/spear/spear300/Makefile            |    6 ------
 board/spear/spear310/Makefile            |    6 ------
 board/spear/spear320/Makefile            |    6 ------
 board/spear/spear600/Makefile            |    6 ------
 board/st-ericsson/u8500/Makefile         |    6 ------
 board/st/nhk8815/Makefile                |    6 ------
 board/stx/stxgp3/Makefile                |    6 ------
 board/stx/stxssa/Makefile                |    6 ------
 board/sx1/Makefile                       |    6 ------
 board/syteco/jadecpu/Makefile            |    6 ------
 board/syteco/zmx25/Makefile              |    6 ------
 board/t3corp/Makefile                    |    6 ------
 board/tcm-bf518/Makefile                 |    6 ------
 board/tcm-bf537/Makefile                 |    6 ------
 board/ti/am3517crane/Makefile            |    6 ------
 board/ti/beagle/Makefile                 |    6 ------
 board/ti/evm/Makefile                    |    6 ------
 board/ti/omap1510inn/Makefile            |    6 ------
 board/ti/omap1610inn/Makefile            |    6 ------
 board/ti/omap2420h4/Makefile             |    6 ------
 board/ti/omap5912osk/Makefile            |    6 ------
 board/ti/omap730p2/Makefile              |    6 ------
 board/ti/panda/Makefile                  |    6 ------
 board/ti/sdp3430/Makefile                |    6 ------
 board/ti/sdp4430/Makefile                |    6 ------
 board/ti/tnetv107xevm/Makefile           |    6 ------
 board/timll/devkit8000/Makefile          |    6 ------
 board/total5200/Makefile                 |    6 ------
 board/tqc/tqm5200/Makefile               |    6 ------
 board/tqc/tqm834x/Makefile               |    6 ------
 board/tqc/tqm85xx/Makefile               |    6 ------
 board/trizepsiv/Makefile                 |    6 ------
 board/ttcontrol/vision2/Makefile         |    6 ------
 board/v38b/Makefile                      |    6 ------
 board/ve8313/Makefile                    |    6 ------
 board/vpac270/Makefile                   |    6 ------
 board/w7o/Makefile                       |    6 ------
 board/xaeniax/Makefile                   |    6 ------
 board/xes/common/Makefile                |    6 ------
 board/xes/xpedite1000/Makefile           |    6 ------
 board/xes/xpedite517x/Makefile           |    6 ------
 board/xes/xpedite520x/Makefile           |    6 ------
 board/xes/xpedite537x/Makefile           |    6 ------
 board/xes/xpedite550x/Makefile           |    6 ------
 board/xilinx/microblaze-generic/Makefile |    6 ------
 board/xilinx/ppc405-generic/Makefile     |    6 ------
 board/xilinx/ppc440-generic/Makefile     |    6 ------
 board/xm250/Makefile                     |    6 ------
 board/zeus/Makefile                      |    6 ------
 board/zipitz2/Makefile                   |    6 ------
 board/zpc1900/Makefile                   |    6 ------
 383 files changed, 0 insertions(+), 2303 deletions(-)

diff --git a/arch/arm/cpu/arm926ejs/spear/Makefile b/arch/arm/cpu/arm926ejs/spear/Makefile
index 1cbff43..f32ec4c 100644
--- a/arch/arm/cpu/arm926ejs/spear/Makefile
+++ b/arch/arm/cpu/arm926ejs/spear/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/arch/sh/cpu/sh2/Makefile b/arch/sh/cpu/sh2/Makefile
index a36f0c3..e3cbe20 100644
--- a/arch/sh/cpu/sh2/Makefile
+++ b/arch/sh/cpu/sh2/Makefile
@@ -38,12 +38,6 @@ SOBJS   := $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/arch/sh/cpu/sh3/Makefile b/arch/sh/cpu/sh3/Makefile
index d51b07c..e08714e 100644
--- a/arch/sh/cpu/sh3/Makefile
+++ b/arch/sh/cpu/sh3/Makefile
@@ -41,12 +41,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/arch/sh/cpu/sh4/Makefile b/arch/sh/cpu/sh4/Makefile
index ba84de3..eec31b2 100644
--- a/arch/sh/cpu/sh4/Makefile
+++ b/arch/sh/cpu/sh4/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/BuS/eb_cpux9k2/Makefile b/board/BuS/eb_cpux9k2/Makefile
index f45836f..82773c5 100644
--- a/board/BuS/eb_cpux9k2/Makefile
+++ b/board/BuS/eb_cpux9k2/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/LaCie/edminiv2/Makefile b/board/LaCie/edminiv2/Makefile
index 31b89e4..00a255d 100644
--- a/board/LaCie/edminiv2/Makefile
+++ b/board/LaCie/edminiv2/Makefile
@@ -37,12 +37,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/LaCie/netspace_v2/Makefile b/board/LaCie/netspace_v2/Makefile
index a245f2c..d4a613f 100644
--- a/board/LaCie/netspace_v2/Makefile
+++ b/board/LaCie/netspace_v2/Makefile
@@ -33,12 +33,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/Marvell/aspenite/Makefile b/board/Marvell/aspenite/Makefile
index cb1b65f..4a807be 100644
--- a/board/Marvell/aspenite/Makefile
+++ b/board/Marvell/aspenite/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/Marvell/dkb/Makefile b/board/Marvell/dkb/Makefile
index 2fafdb3..ddb799d 100644
--- a/board/Marvell/dkb/Makefile
+++ b/board/Marvell/dkb/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/Marvell/gplugd/Makefile b/board/Marvell/gplugd/Makefile
index 2d8bba0..3ce4f81 100644
--- a/board/Marvell/gplugd/Makefile
+++ b/board/Marvell/gplugd/Makefile
@@ -41,12 +41,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/Marvell/guruplug/Makefile b/board/Marvell/guruplug/Makefile
index ff7e9d7..3644d24 100644
--- a/board/Marvell/guruplug/Makefile
+++ b/board/Marvell/guruplug/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/Marvell/mv88f6281gtw_ge/Makefile b/board/Marvell/mv88f6281gtw_ge/Makefile
index 2443101..bba7a68 100644
--- a/board/Marvell/mv88f6281gtw_ge/Makefile
+++ b/board/Marvell/mv88f6281gtw_ge/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/Marvell/openrd/Makefile b/board/Marvell/openrd/Makefile
index 19020e4..59b1ee4 100644
--- a/board/Marvell/openrd/Makefile
+++ b/board/Marvell/openrd/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/Marvell/rd6281a/Makefile b/board/Marvell/rd6281a/Makefile
index e730e37..23bb0da 100644
--- a/board/Marvell/rd6281a/Makefile
+++ b/board/Marvell/rd6281a/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/Marvell/sheevaplug/Makefile b/board/Marvell/sheevaplug/Makefile
index d2286fa..5abb9f6 100644
--- a/board/Marvell/sheevaplug/Makefile
+++ b/board/Marvell/sheevaplug/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/Seagate/dockstar/Makefile b/board/Seagate/dockstar/Makefile
index bfcc6d9..ff5040c 100644
--- a/board/Seagate/dockstar/Makefile
+++ b/board/Seagate/dockstar/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/a4m072/Makefile b/board/a4m072/Makefile
index d3c31d6..f2ba232 100644
--- a/board/a4m072/Makefile
+++ b/board/a4m072/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/actux1/Makefile b/board/actux1/Makefile
index 31e044b..f5dcf8d 100644
--- a/board/actux1/Makefile
+++ b/board/actux1/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/actux2/Makefile b/board/actux2/Makefile
index b026d94..40f73ba 100644
--- a/board/actux2/Makefile
+++ b/board/actux2/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/actux3/Makefile b/board/actux3/Makefile
index 97317fb..2078c1b 100644
--- a/board/actux3/Makefile
+++ b/board/actux3/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/actux4/Makefile b/board/actux4/Makefile
index c631a5b..4f33e27 100644
--- a/board/actux4/Makefile
+++ b/board/actux4/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/adder/Makefile b/board/adder/Makefile
index 70205f1..defca3d 100644
--- a/board/adder/Makefile
+++ b/board/adder/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/afeb9260/Makefile b/board/afeb9260/Makefile
index 895412d..9134856 100644
--- a/board/afeb9260/Makefile
+++ b/board/afeb9260/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/alaska/Makefile b/board/alaska/Makefile
index d8aace2..a21f851 100644
--- a/board/alaska/Makefile
+++ b/board/alaska/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/altera/nios2-generic/Makefile b/board/altera/nios2-generic/Makefile
index 6386352..359f590 100644
--- a/board/altera/nios2-generic/Makefile
+++ b/board/altera/nios2-generic/Makefile
@@ -44,12 +44,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/acadia/Makefile b/board/amcc/acadia/Makefile
index b277287..77fa07f 100644
--- a/board/amcc/acadia/Makefile
+++ b/board/amcc/acadia/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/bamboo/Makefile b/board/amcc/bamboo/Makefile
index 2e7dc39..ecdf67a 100644
--- a/board/amcc/bamboo/Makefile
+++ b/board/amcc/bamboo/Makefile
@@ -37,12 +37,6 @@ all:	$(LIB) $(SOBJS)
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/bluestone/Makefile b/board/amcc/bluestone/Makefile
index 642eda0..8565204 100644
--- a/board/amcc/bluestone/Makefile
+++ b/board/amcc/bluestone/Makefile
@@ -38,12 +38,6 @@ all:	$(LIB) $(SOBJS)
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/bubinga/Makefile b/board/amcc/bubinga/Makefile
index 9f63df1..44cfca1 100644
--- a/board/amcc/bubinga/Makefile
+++ b/board/amcc/bubinga/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/canyonlands/Makefile b/board/amcc/canyonlands/Makefile
index 4d87ea9..d2c9dd4 100644
--- a/board/amcc/canyonlands/Makefile
+++ b/board/amcc/canyonlands/Makefile
@@ -39,12 +39,6 @@ all:	$(LIB) $(SOBJS)
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/ebony/Makefile b/board/amcc/ebony/Makefile
index b5d0fe5..284629f 100644
--- a/board/amcc/ebony/Makefile
+++ b/board/amcc/ebony/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/katmai/Makefile b/board/amcc/katmai/Makefile
index 466b190..1c1e15e 100644
--- a/board/amcc/katmai/Makefile
+++ b/board/amcc/katmai/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/kilauea/Makefile b/board/amcc/kilauea/Makefile
index 726c3ce..38ef823 100644
--- a/board/amcc/kilauea/Makefile
+++ b/board/amcc/kilauea/Makefile
@@ -35,12 +35,6 @@ OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/luan/Makefile b/board/amcc/luan/Makefile
index b5d0fe5..284629f 100644
--- a/board/amcc/luan/Makefile
+++ b/board/amcc/luan/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/makalu/Makefile b/board/amcc/makalu/Makefile
index e10fadb..26dace1 100644
--- a/board/amcc/makalu/Makefile
+++ b/board/amcc/makalu/Makefile
@@ -34,12 +34,6 @@ OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/ocotea/Makefile b/board/amcc/ocotea/Makefile
index b5d0fe5..284629f 100644
--- a/board/amcc/ocotea/Makefile
+++ b/board/amcc/ocotea/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/redwood/Makefile b/board/amcc/redwood/Makefile
index 8759001..1a374dd 100644
--- a/board/amcc/redwood/Makefile
+++ b/board/amcc/redwood/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend *~
-
 #########################################################################
 
 include $(SRCTREE)/rules.mk
diff --git a/board/amcc/sequoia/Makefile b/board/amcc/sequoia/Makefile
index efe2065..ca26d5e 100644
--- a/board/amcc/sequoia/Makefile
+++ b/board/amcc/sequoia/Makefile
@@ -39,12 +39,6 @@ all:	$(LIB) $(SOBJS)
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/taihu/Makefile b/board/amcc/taihu/Makefile
index 9b2e7e4..4a4f922 100644
--- a/board/amcc/taihu/Makefile
+++ b/board/amcc/taihu/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/taishan/Makefile b/board/amcc/taishan/Makefile
index 099cf9d..942c507 100644
--- a/board/amcc/taishan/Makefile
+++ b/board/amcc/taishan/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/walnut/Makefile b/board/amcc/walnut/Makefile
index 9f63df1..44cfca1 100644
--- a/board/amcc/walnut/Makefile
+++ b/board/amcc/walnut/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/yosemite/Makefile b/board/amcc/yosemite/Makefile
index 5b0ffc2..905ca7a 100644
--- a/board/amcc/yosemite/Makefile
+++ b/board/amcc/yosemite/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amcc/yucca/Makefile b/board/amcc/yucca/Makefile
index d9fb713..3f75a67 100644
--- a/board/amcc/yucca/Makefile
+++ b/board/amcc/yucca/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/amirix/ap1000/Makefile b/board/amirix/ap1000/Makefile
index fe7a6a2..3a22ce6 100644
--- a/board/amirix/ap1000/Makefile
+++ b/board/amirix/ap1000/Makefile
@@ -37,12 +37,6 @@ all:	$(LIB) $(SOBJS)
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/apollon/Makefile b/board/apollon/Makefile
index ce41efc..1bf1a32 100644
--- a/board/apollon/Makefile
+++ b/board/apollon/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 include $(SRCTREE)/rules.mk
diff --git a/board/armltd/integrator/Makefile b/board/armltd/integrator/Makefile
index c452631..858888a 100644
--- a/board/armltd/integrator/Makefile
+++ b/board/armltd/integrator/Makefile
@@ -42,12 +42,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(COBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(COBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(COBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/armltd/versatile/Makefile b/board/armltd/versatile/Makefile
index 3470328..89d91f0 100644
--- a/board/armltd/versatile/Makefile
+++ b/board/armltd/versatile/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/armltd/vexpress/Makefile b/board/armltd/vexpress/Makefile
index 49c4b81..8749590 100644
--- a/board/armltd/vexpress/Makefile
+++ b/board/armltd/vexpress/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/atmel/at91rm9200ek/Makefile b/board/atmel/at91rm9200ek/Makefile
index f64e595..c1f1603 100644
--- a/board/atmel/at91rm9200ek/Makefile
+++ b/board/atmel/at91rm9200ek/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/atmel/at91sam9260ek/Makefile b/board/atmel/at91sam9260ek/Makefile
index 1fd8529..b9ecc88 100644
--- a/board/atmel/at91sam9260ek/Makefile
+++ b/board/atmel/at91sam9260ek/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/atmel/at91sam9261ek/Makefile b/board/atmel/at91sam9261ek/Makefile
index 9d20ba0..080f289 100644
--- a/board/atmel/at91sam9261ek/Makefile
+++ b/board/atmel/at91sam9261ek/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/atmel/at91sam9263ek/Makefile b/board/atmel/at91sam9263ek/Makefile
index e43326e..8493043 100644
--- a/board/atmel/at91sam9263ek/Makefile
+++ b/board/atmel/at91sam9263ek/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/atmel/at91sam9m10g45ek/Makefile b/board/atmel/at91sam9m10g45ek/Makefile
index 7aa2521..6c37827 100644
--- a/board/atmel/at91sam9m10g45ek/Makefile
+++ b/board/atmel/at91sam9m10g45ek/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/atmel/at91sam9rlek/Makefile b/board/atmel/at91sam9rlek/Makefile
index 234aeb6..7de8897 100644
--- a/board/atmel/at91sam9rlek/Makefile
+++ b/board/atmel/at91sam9rlek/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/balloon3/Makefile b/board/balloon3/Makefile
index 29e7915..f4a52d5 100644
--- a/board/balloon3/Makefile
+++ b/board/balloon3/Makefile
@@ -31,12 +31,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bc3450/Makefile b/board/bc3450/Makefile
index 53aa651..e59ac78 100644
--- a/board/bc3450/Makefile
+++ b/board/bc3450/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bct-brettl2/Makefile b/board/bct-brettl2/Makefile
index b268815..fc79549 100644
--- a/board/bct-brettl2/Makefile
+++ b/board/bct-brettl2/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 # defines $(obj).depend target
 include $(SRCTREE)/rules.mk
 
diff --git a/board/bf506f-ezkit/Makefile b/board/bf506f-ezkit/Makefile
index cde8168..4e128bb 100644
--- a/board/bf506f-ezkit/Makefile
+++ b/board/bf506f-ezkit/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf518f-ezbrd/Makefile b/board/bf518f-ezbrd/Makefile
index cde8168..4e128bb 100644
--- a/board/bf518f-ezbrd/Makefile
+++ b/board/bf518f-ezbrd/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf525-ucr2/Makefile b/board/bf525-ucr2/Makefile
index cde8168..4e128bb 100644
--- a/board/bf525-ucr2/Makefile
+++ b/board/bf525-ucr2/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf526-ezbrd/Makefile b/board/bf526-ezbrd/Makefile
index cde8168..4e128bb 100644
--- a/board/bf526-ezbrd/Makefile
+++ b/board/bf526-ezbrd/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf527-ad7160-eval/Makefile b/board/bf527-ad7160-eval/Makefile
index cde8168..4e128bb 100644
--- a/board/bf527-ad7160-eval/Makefile
+++ b/board/bf527-ad7160-eval/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf527-ezkit/Makefile b/board/bf527-ezkit/Makefile
index 98a8121..fdbcec5 100644
--- a/board/bf527-ezkit/Makefile
+++ b/board/bf527-ezkit/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf527-sdp/Makefile b/board/bf527-sdp/Makefile
index cde8168..4e128bb 100644
--- a/board/bf527-sdp/Makefile
+++ b/board/bf527-sdp/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf533-ezkit/Makefile b/board/bf533-ezkit/Makefile
index dfc1724..5fb51da 100644
--- a/board/bf533-ezkit/Makefile
+++ b/board/bf533-ezkit/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf533-stamp/Makefile b/board/bf533-stamp/Makefile
index ce3ff42..921a5f5 100644
--- a/board/bf533-stamp/Makefile
+++ b/board/bf533-stamp/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf537-minotaur/Makefile b/board/bf537-minotaur/Makefile
index cde8168..4e128bb 100644
--- a/board/bf537-minotaur/Makefile
+++ b/board/bf537-minotaur/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf537-pnav/Makefile b/board/bf537-pnav/Makefile
index cde8168..4e128bb 100644
--- a/board/bf537-pnav/Makefile
+++ b/board/bf537-pnav/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf537-srv1/Makefile b/board/bf537-srv1/Makefile
index cde8168..4e128bb 100644
--- a/board/bf537-srv1/Makefile
+++ b/board/bf537-srv1/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf537-stamp/Makefile b/board/bf537-stamp/Makefile
index 2b9328b..ae04753 100644
--- a/board/bf537-stamp/Makefile
+++ b/board/bf537-stamp/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf538f-ezkit/Makefile b/board/bf538f-ezkit/Makefile
index cde8168..4e128bb 100644
--- a/board/bf538f-ezkit/Makefile
+++ b/board/bf538f-ezkit/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf548-ezkit/Makefile b/board/bf548-ezkit/Makefile
index 98a8121..fdbcec5 100644
--- a/board/bf548-ezkit/Makefile
+++ b/board/bf548-ezkit/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf561-acvilon/Makefile b/board/bf561-acvilon/Makefile
index 9259d6e..5b0b292 100644
--- a/board/bf561-acvilon/Makefile
+++ b/board/bf561-acvilon/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bf561-ezkit/Makefile b/board/bf561-ezkit/Makefile
index 0d17676..505a831 100644
--- a/board/bf561-ezkit/Makefile
+++ b/board/bf561-ezkit/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/blackstamp/Makefile b/board/blackstamp/Makefile
index cde8168..4e128bb 100644
--- a/board/blackstamp/Makefile
+++ b/board/blackstamp/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/blackvme/Makefile b/board/blackvme/Makefile
index cde8168..4e128bb 100644
--- a/board/blackvme/Makefile
+++ b/board/blackvme/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/bluewater/snapper9260/Makefile b/board/bluewater/snapper9260/Makefile
index 4fccdaa..dcf8e98 100644
--- a/board/bluewater/snapper9260/Makefile
+++ b/board/bluewater/snapper9260/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/calao/sbc35_a9g20/Makefile b/board/calao/sbc35_a9g20/Makefile
index cc4219d..7b7cc29 100644
--- a/board/calao/sbc35_a9g20/Makefile
+++ b/board/calao/sbc35_a9g20/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/calao/tny_a9260/Makefile b/board/calao/tny_a9260/Makefile
index 151a228..1bf21e1 100644
--- a/board/calao/tny_a9260/Makefile
+++ b/board/calao/tny_a9260/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/canmb/Makefile b/board/canmb/Makefile
index 0e2ec4b..ce38e81 100644
--- a/board/canmb/Makefile
+++ b/board/canmb/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cerf250/Makefile b/board/cerf250/Makefile
index d824ffa..cf4742e 100644
--- a/board/cerf250/Makefile
+++ b/board/cerf250/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cm-bf527/Makefile b/board/cm-bf527/Makefile
index 4d7bf14..9a31b8d 100644
--- a/board/cm-bf527/Makefile
+++ b/board/cm-bf527/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cm-bf533/Makefile b/board/cm-bf533/Makefile
index cde8168..4e128bb 100644
--- a/board/cm-bf533/Makefile
+++ b/board/cm-bf533/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cm-bf537e/Makefile b/board/cm-bf537e/Makefile
index 4d7bf14..9a31b8d 100644
--- a/board/cm-bf537e/Makefile
+++ b/board/cm-bf537e/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cm-bf537u/Makefile b/board/cm-bf537u/Makefile
index 4d7bf14..9a31b8d 100644
--- a/board/cm-bf537u/Makefile
+++ b/board/cm-bf537u/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cm-bf548/Makefile b/board/cm-bf548/Makefile
index 98a8121..fdbcec5 100644
--- a/board/cm-bf548/Makefile
+++ b/board/cm-bf548/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cm-bf561/Makefile b/board/cm-bf561/Makefile
index cde8168..4e128bb 100644
--- a/board/cm-bf561/Makefile
+++ b/board/cm-bf561/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cm4008/Makefile b/board/cm4008/Makefile
index e9bae19..5b98824 100644
--- a/board/cm4008/Makefile
+++ b/board/cm4008/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cm41xx/Makefile b/board/cm41xx/Makefile
index e608fe8..6214f8c 100644
--- a/board/cm41xx/Makefile
+++ b/board/cm41xx/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cm5200/Makefile b/board/cm5200/Makefile
index ac431a7..c936c08 100644
--- a/board/cm5200/Makefile
+++ b/board/cm5200/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cm_t35/Makefile b/board/cm_t35/Makefile
index 83d7a56..d08c024 100644
--- a/board/cm_t35/Makefile
+++ b/board/cm_t35/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(AR) $(ARFLAGS) $@ $(OBJS)
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cmi/Makefile b/board/cmi/Makefile
index c554ce2..2aa4591 100644
--- a/board/cmi/Makefile
+++ b/board/cmi/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cogent/Makefile b/board/cogent/Makefile
index 334f03f..e7506fb 100644
--- a/board/cogent/Makefile
+++ b/board/cogent/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/colibri_pxa270/Makefile b/board/colibri_pxa270/Makefile
index 40b3a3d..854b19b 100644
--- a/board/colibri_pxa270/Makefile
+++ b/board/colibri_pxa270/Makefile
@@ -31,12 +31,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/comelit/dig297/Makefile b/board/comelit/dig297/Makefile
index 8dffedd..e397512 100644
--- a/board/comelit/dig297/Makefile
+++ b/board/comelit/dig297/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cradle/Makefile b/board/cradle/Makefile
index 18040c7..bdc91d8 100644
--- a/board/cradle/Makefile
+++ b/board/cradle/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/cray/L1/Makefile b/board/cray/L1/Makefile
index d1a7a0b..4560c4f 100644
--- a/board/cray/L1/Makefile
+++ b/board/cray/L1/Makefile
@@ -38,13 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS) $(obj)bootscript.o
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS) $(obj)bootscript.c \
-		$(obj)bootscript.image $(obj)bootscript.o
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 $(obj)$(BOARD).o : $(src)$(BOARD).c $(obj)bootscript.o
 
 $(obj)bootscript.c: $(obj)bootscript.image
diff --git a/board/csb226/Makefile b/board/csb226/Makefile
index b10c447..6fe9bec 100644
--- a/board/csb226/Makefile
+++ b/board/csb226/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/csb272/Makefile b/board/csb272/Makefile
index cfc8839..d51e975 100644
--- a/board/csb272/Makefile
+++ b/board/csb272/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/csb472/Makefile b/board/csb472/Makefile
index cfc8839..d51e975 100644
--- a/board/csb472/Makefile
+++ b/board/csb472/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/dave/PPChameleonEVB/Makefile b/board/dave/PPChameleonEVB/Makefile
index 5028510..9f3a08e 100644
--- a/board/dave/PPChameleonEVB/Makefile
+++ b/board/dave/PPChameleonEVB/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/davedenx/aria/Makefile b/board/davedenx/aria/Makefile
index 30dba23..f48a85d 100644
--- a/board/davedenx/aria/Makefile
+++ b/board/davedenx/aria/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/davedenx/qong/Makefile b/board/davedenx/qong/Makefile
index 1dca60d..4a449b9 100644
--- a/board/davedenx/qong/Makefile
+++ b/board/davedenx/qong/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/davinci/common/Makefile b/board/davinci/common/Makefile
index a1d3de2..9d7b164 100644
--- a/board/davinci/common/Makefile
+++ b/board/davinci/common/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/davinci/da8xxevm/Makefile b/board/davinci/da8xxevm/Makefile
index c1b2119..1ebf70c 100644
--- a/board/davinci/da8xxevm/Makefile
+++ b/board/davinci/da8xxevm/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak *~ .depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/davinci/dm355evm/Makefile b/board/davinci/dm355evm/Makefile
index 4804597..2b22124 100644
--- a/board/davinci/dm355evm/Makefile
+++ b/board/davinci/dm355evm/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/davinci/dm355leopard/Makefile b/board/davinci/dm355leopard/Makefile
index 4804597..2b22124 100644
--- a/board/davinci/dm355leopard/Makefile
+++ b/board/davinci/dm355leopard/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/davinci/dm365evm/Makefile b/board/davinci/dm365evm/Makefile
index 4804597..2b22124 100644
--- a/board/davinci/dm365evm/Makefile
+++ b/board/davinci/dm365evm/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/davinci/dm6467evm/Makefile b/board/davinci/dm6467evm/Makefile
index 4804597..2b22124 100644
--- a/board/davinci/dm6467evm/Makefile
+++ b/board/davinci/dm6467evm/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/davinci/dvevm/Makefile b/board/davinci/dvevm/Makefile
index 72fd963..49897f9 100644
--- a/board/davinci/dvevm/Makefile
+++ b/board/davinci/dvevm/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/davinci/ea20/Makefile b/board/davinci/ea20/Makefile
index 67ec461..1725f2b 100644
--- a/board/davinci/ea20/Makefile
+++ b/board/davinci/ea20/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak *~ .depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/davinci/schmoogie/Makefile b/board/davinci/schmoogie/Makefile
index 72fd963..49897f9 100644
--- a/board/davinci/schmoogie/Makefile
+++ b/board/davinci/schmoogie/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/davinci/sffsdr/Makefile b/board/davinci/sffsdr/Makefile
index 72fd963..49897f9 100644
--- a/board/davinci/sffsdr/Makefile
+++ b/board/davinci/sffsdr/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/davinci/sonata/Makefile b/board/davinci/sonata/Makefile
index 72fd963..49897f9 100644
--- a/board/davinci/sonata/Makefile
+++ b/board/davinci/sonata/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/dnp5370/Makefile b/board/dnp5370/Makefile
index 0d17676..505a831 100644
--- a/board/dnp5370/Makefile
+++ b/board/dnp5370/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/dvlhost/Makefile b/board/dvlhost/Makefile
index af9a644..2b0fbcd 100644
--- a/board/dvlhost/Makefile
+++ b/board/dvlhost/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/eNET/Makefile b/board/eNET/Makefile
index 3703ae5..ad1c5b1 100644
--- a/board/eNET/Makefile
+++ b/board/eNET/Makefile
@@ -42,12 +42,6 @@ OBJS	:= $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/efikamx/Makefile b/board/efikamx/Makefile
index ee4a16e..bd1056e 100644
--- a/board/efikamx/Makefile
+++ b/board/efikamx/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/eltec/bab7xx/Makefile b/board/eltec/bab7xx/Makefile
index b22160f..9606ddc 100644
--- a/board/eltec/bab7xx/Makefile
+++ b/board/eltec/bab7xx/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/eltec/elppc/Makefile b/board/eltec/elppc/Makefile
index 367239a..dd07e47 100644
--- a/board/eltec/elppc/Makefile
+++ b/board/eltec/elppc/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/emk/top5200/Makefile b/board/emk/top5200/Makefile
index 72db38d..c546de5 100644
--- a/board/emk/top5200/Makefile
+++ b/board/emk/top5200/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/emk/top9000/Makefile b/board/emk/top9000/Makefile
index 3ac6f14..ce766f2 100644
--- a/board/emk/top9000/Makefile
+++ b/board/emk/top9000/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ep8248/Makefile b/board/ep8248/Makefile
index 9079aad..d9039f6 100644
--- a/board/ep8248/Makefile
+++ b/board/ep8248/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ep8260/Makefile b/board/ep8260/Makefile
index 68a4803..d9fa484 100644
--- a/board/ep8260/Makefile
+++ b/board/ep8260/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ep82xxm/Makefile b/board/ep82xxm/Makefile
index 74b9a35..2101ddd 100644
--- a/board/ep82xxm/Makefile
+++ b/board/ep82xxm/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ep88x/Makefile b/board/ep88x/Makefile
index 70205f1..defca3d 100644
--- a/board/ep88x/Makefile
+++ b/board/ep88x/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/adciop/Makefile b/board/esd/adciop/Makefile
index 7b3d6dc..c90448a 100644
--- a/board/esd/adciop/Makefile
+++ b/board/esd/adciop/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/apc405/Makefile b/board/esd/apc405/Makefile
index df391da..d820da3 100644
--- a/board/esd/apc405/Makefile
+++ b/board/esd/apc405/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/ar405/Makefile b/board/esd/ar405/Makefile
index bd08253..f8365a1 100644
--- a/board/esd/ar405/Makefile
+++ b/board/esd/ar405/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/ash405/Makefile b/board/esd/ash405/Makefile
index 401622f..8aacae7 100644
--- a/board/esd/ash405/Makefile
+++ b/board/esd/ash405/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/canbt/Makefile b/board/esd/canbt/Makefile
index bd08253..f8365a1 100644
--- a/board/esd/canbt/Makefile
+++ b/board/esd/canbt/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/cms700/Makefile b/board/esd/cms700/Makefile
index 15a32a0..4d167b4 100644
--- a/board/esd/cms700/Makefile
+++ b/board/esd/cms700/Makefile
@@ -45,12 +45,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/cpci2dp/Makefile b/board/esd/cpci2dp/Makefile
index be65097..840c537 100644
--- a/board/esd/cpci2dp/Makefile
+++ b/board/esd/cpci2dp/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/cpci405/Makefile b/board/esd/cpci405/Makefile
index c6e1d40..2e50371 100644
--- a/board/esd/cpci405/Makefile
+++ b/board/esd/cpci405/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/cpci5200/Makefile b/board/esd/cpci5200/Makefile
index d41cbcd..6a0b867 100644
--- a/board/esd/cpci5200/Makefile
+++ b/board/esd/cpci5200/Makefile
@@ -43,12 +43,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/cpciiser4/Makefile b/board/esd/cpciiser4/Makefile
index bd08253..f8365a1 100644
--- a/board/esd/cpciiser4/Makefile
+++ b/board/esd/cpciiser4/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/dasa_sim/Makefile b/board/esd/dasa_sim/Makefile
index f1cadb1..c5c50ae 100644
--- a/board/esd/dasa_sim/Makefile
+++ b/board/esd/dasa_sim/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/dp405/Makefile b/board/esd/dp405/Makefile
index d4012b0..4985c1f 100644
--- a/board/esd/dp405/Makefile
+++ b/board/esd/dp405/Makefile
@@ -42,12 +42,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/du405/Makefile b/board/esd/du405/Makefile
index bd08253..f8365a1 100644
--- a/board/esd/du405/Makefile
+++ b/board/esd/du405/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/du440/Makefile b/board/esd/du440/Makefile
index 06824c7..3a84ae6 100644
--- a/board/esd/du440/Makefile
+++ b/board/esd/du440/Makefile
@@ -37,12 +37,6 @@ all:	$(LIB) $(SOBJS)
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/hh405/Makefile b/board/esd/hh405/Makefile
index 090005f..c5011ad 100644
--- a/board/esd/hh405/Makefile
+++ b/board/esd/hh405/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/hub405/Makefile b/board/esd/hub405/Makefile
index 401622f..8aacae7 100644
--- a/board/esd/hub405/Makefile
+++ b/board/esd/hub405/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/mecp5123/Makefile b/board/esd/mecp5123/Makefile
index 30dba23..f48a85d 100644
--- a/board/esd/mecp5123/Makefile
+++ b/board/esd/mecp5123/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/mecp5200/Makefile b/board/esd/mecp5200/Makefile
index 22ee984..9ef502d 100644
--- a/board/esd/mecp5200/Makefile
+++ b/board/esd/mecp5200/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/meesc/Makefile b/board/esd/meesc/Makefile
index b414479..74cfce9 100644
--- a/board/esd/meesc/Makefile
+++ b/board/esd/meesc/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/ocrtc/Makefile b/board/esd/ocrtc/Makefile
index f9274b5..3e6a0a0 100644
--- a/board/esd/ocrtc/Makefile
+++ b/board/esd/ocrtc/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/otc570/Makefile b/board/esd/otc570/Makefile
index 87657ff..1819292 100644
--- a/board/esd/otc570/Makefile
+++ b/board/esd/otc570/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/pci405/Makefile b/board/esd/pci405/Makefile
index d551ec9..4095528 100644
--- a/board/esd/pci405/Makefile
+++ b/board/esd/pci405/Makefile
@@ -39,12 +39,6 @@ $(LIB):	$(OBJS) $(SOBJS)
 #	$(call cmd_link_o_target, $(OBJS))
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/pf5200/Makefile b/board/esd/pf5200/Makefile
index 2f42566..e080501 100644
--- a/board/esd/pf5200/Makefile
+++ b/board/esd/pf5200/Makefile
@@ -44,12 +44,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/plu405/Makefile b/board/esd/plu405/Makefile
index 401622f..8aacae7 100644
--- a/board/esd/plu405/Makefile
+++ b/board/esd/plu405/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/pmc405/Makefile b/board/esd/pmc405/Makefile
index 36707f4..9156577 100644
--- a/board/esd/pmc405/Makefile
+++ b/board/esd/pmc405/Makefile
@@ -42,12 +42,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/pmc405de/Makefile b/board/esd/pmc405de/Makefile
index 2833844..c997a67 100644
--- a/board/esd/pmc405de/Makefile
+++ b/board/esd/pmc405de/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/pmc440/Makefile b/board/esd/pmc440/Makefile
index f640d1e..9aec459 100644
--- a/board/esd/pmc440/Makefile
+++ b/board/esd/pmc440/Makefile
@@ -42,12 +42,6 @@ all:	$(LIB) $(SOBJS)
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/vme8349/Makefile b/board/esd/vme8349/Makefile
index 5b926b2..c783394 100644
--- a/board/esd/vme8349/Makefile
+++ b/board/esd/vme8349/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/voh405/Makefile b/board/esd/voh405/Makefile
index 401622f..8aacae7 100644
--- a/board/esd/voh405/Makefile
+++ b/board/esd/voh405/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/vom405/Makefile b/board/esd/vom405/Makefile
index d4012b0..4985c1f 100644
--- a/board/esd/vom405/Makefile
+++ b/board/esd/vom405/Makefile
@@ -42,12 +42,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/esd/wuh405/Makefile b/board/esd/wuh405/Makefile
index 401622f..8aacae7 100644
--- a/board/esd/wuh405/Makefile
+++ b/board/esd/wuh405/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/espt/Makefile b/board/espt/Makefile
index 4ecef4a..ee3f97e 100644
--- a/board/espt/Makefile
+++ b/board/espt/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/eukrea/cpu9260/Makefile b/board/eukrea/cpu9260/Makefile
index 4d02aae..897fe3e 100644
--- a/board/eukrea/cpu9260/Makefile
+++ b/board/eukrea/cpu9260/Makefile
@@ -43,12 +43,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/eukrea/cpuat91/Makefile b/board/eukrea/cpuat91/Makefile
index 1d62b13..c483f16 100644
--- a/board/eukrea/cpuat91/Makefile
+++ b/board/eukrea/cpuat91/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/faraday/a320evb/Makefile b/board/faraday/a320evb/Makefile
index fb540b4..55b6abd 100644
--- a/board/faraday/a320evb/Makefile
+++ b/board/faraday/a320evb/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile
index c47d10d..e2af2b4 100644
--- a/board/freescale/common/Makefile
+++ b/board/freescale/common/Makefile
@@ -59,12 +59,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/corenet_ds/Makefile b/board/freescale/corenet_ds/Makefile
index 69e81a4..f60767f 100644
--- a/board/freescale/corenet_ds/Makefile
+++ b/board/freescale/corenet_ds/Makefile
@@ -42,12 +42,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc5121ads/Makefile b/board/freescale/mpc5121ads/Makefile
index cded9eb..44bf6d2 100644
--- a/board/freescale/mpc5121ads/Makefile
+++ b/board/freescale/mpc5121ads/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc7448hpc2/Makefile b/board/freescale/mpc7448hpc2/Makefile
index 5df9d5d..7227db8 100644
--- a/board/freescale/mpc7448hpc2/Makefile
+++ b/board/freescale/mpc7448hpc2/Makefile
@@ -35,13 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-.PHONY: distclean
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8260ads/Makefile b/board/freescale/mpc8260ads/Makefile
index 74f5b85..9439e08 100644
--- a/board/freescale/mpc8260ads/Makefile
+++ b/board/freescale/mpc8260ads/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8266ads/Makefile b/board/freescale/mpc8266ads/Makefile
index f4938c4..88b69a4 100644
--- a/board/freescale/mpc8266ads/Makefile
+++ b/board/freescale/mpc8266ads/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8308rdb/Makefile b/board/freescale/mpc8308rdb/Makefile
index 241a557..b371ea0 100644
--- a/board/freescale/mpc8308rdb/Makefile
+++ b/board/freescale/mpc8308rdb/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8313erdb/Makefile b/board/freescale/mpc8313erdb/Makefile
index f18aded..2c9ad50 100644
--- a/board/freescale/mpc8313erdb/Makefile
+++ b/board/freescale/mpc8313erdb/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8315erdb/Makefile b/board/freescale/mpc8315erdb/Makefile
index f18aded..2c9ad50 100644
--- a/board/freescale/mpc8315erdb/Makefile
+++ b/board/freescale/mpc8315erdb/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8323erdb/Makefile b/board/freescale/mpc8323erdb/Makefile
index 4a1b249..2f79b87 100644
--- a/board/freescale/mpc8323erdb/Makefile
+++ b/board/freescale/mpc8323erdb/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc832xemds/Makefile b/board/freescale/mpc832xemds/Makefile
index 4f76eab..b83a2c7 100644
--- a/board/freescale/mpc832xemds/Makefile
+++ b/board/freescale/mpc832xemds/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8349emds/Makefile b/board/freescale/mpc8349emds/Makefile
index 4f76eab..b83a2c7 100644
--- a/board/freescale/mpc8349emds/Makefile
+++ b/board/freescale/mpc8349emds/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8349itx/Makefile b/board/freescale/mpc8349itx/Makefile
index f431316..5f92595 100644
--- a/board/freescale/mpc8349itx/Makefile
+++ b/board/freescale/mpc8349itx/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 include $(SRCTREE)/rules.mk
diff --git a/board/freescale/mpc8360emds/Makefile b/board/freescale/mpc8360emds/Makefile
index 4f76eab..b83a2c7 100644
--- a/board/freescale/mpc8360emds/Makefile
+++ b/board/freescale/mpc8360emds/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8360erdk/Makefile b/board/freescale/mpc8360erdk/Makefile
index 107bdc3..215abf8 100644
--- a/board/freescale/mpc8360erdk/Makefile
+++ b/board/freescale/mpc8360erdk/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc837xemds/Makefile b/board/freescale/mpc837xemds/Makefile
index 4f76eab..b83a2c7 100644
--- a/board/freescale/mpc837xemds/Makefile
+++ b/board/freescale/mpc837xemds/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc837xerdb/Makefile b/board/freescale/mpc837xerdb/Makefile
index 4f76eab..b83a2c7 100644
--- a/board/freescale/mpc837xerdb/Makefile
+++ b/board/freescale/mpc837xerdb/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8536ds/Makefile b/board/freescale/mpc8536ds/Makefile
index 2ee7b43..9cdcf7c 100644
--- a/board/freescale/mpc8536ds/Makefile
+++ b/board/freescale/mpc8536ds/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8540ads/Makefile b/board/freescale/mpc8540ads/Makefile
index b94237e..8561348 100644
--- a/board/freescale/mpc8540ads/Makefile
+++ b/board/freescale/mpc8540ads/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8541cds/Makefile b/board/freescale/mpc8541cds/Makefile
index b50d7fd..ff2e266 100644
--- a/board/freescale/mpc8541cds/Makefile
+++ b/board/freescale/mpc8541cds/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8544ds/Makefile b/board/freescale/mpc8544ds/Makefile
index 8684f5c..e20e953 100644
--- a/board/freescale/mpc8544ds/Makefile
+++ b/board/freescale/mpc8544ds/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8548cds/Makefile b/board/freescale/mpc8548cds/Makefile
index b50d7fd..ff2e266 100644
--- a/board/freescale/mpc8548cds/Makefile
+++ b/board/freescale/mpc8548cds/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8555cds/Makefile b/board/freescale/mpc8555cds/Makefile
index b50d7fd..ff2e266 100644
--- a/board/freescale/mpc8555cds/Makefile
+++ b/board/freescale/mpc8555cds/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8560ads/Makefile b/board/freescale/mpc8560ads/Makefile
index 9fce3be..8113ed3 100644
--- a/board/freescale/mpc8560ads/Makefile
+++ b/board/freescale/mpc8560ads/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8568mds/Makefile b/board/freescale/mpc8568mds/Makefile
index eda359f..d0b7b1b 100644
--- a/board/freescale/mpc8568mds/Makefile
+++ b/board/freescale/mpc8568mds/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8569mds/Makefile b/board/freescale/mpc8569mds/Makefile
index 1d49757..e6b9827 100644
--- a/board/freescale/mpc8569mds/Makefile
+++ b/board/freescale/mpc8569mds/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8572ds/Makefile b/board/freescale/mpc8572ds/Makefile
index 5b9fa10..e20e953 100644
--- a/board/freescale/mpc8572ds/Makefile
+++ b/board/freescale/mpc8572ds/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8610hpcd/Makefile b/board/freescale/mpc8610hpcd/Makefile
index e91c2c5..592e377 100644
--- a/board/freescale/mpc8610hpcd/Makefile
+++ b/board/freescale/mpc8610hpcd/Makefile
@@ -36,13 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-.PHONY: distclean
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mpc8641hpcn/Makefile b/board/freescale/mpc8641hpcn/Makefile
index 433c132..caba9b9 100644
--- a/board/freescale/mpc8641hpcn/Makefile
+++ b/board/freescale/mpc8641hpcn/Makefile
@@ -36,13 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-.PHONY: distclean
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mx31ads/Makefile b/board/freescale/mx31ads/Makefile
index be4d61a..dd4c1d1 100644
--- a/board/freescale/mx31ads/Makefile
+++ b/board/freescale/mx31ads/Makefile
@@ -31,12 +31,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mx31pdk/Makefile b/board/freescale/mx31pdk/Makefile
index 0287885..5b7cafd 100644
--- a/board/freescale/mx31pdk/Makefile
+++ b/board/freescale/mx31pdk/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mx35pdk/Makefile b/board/freescale/mx35pdk/Makefile
index b4a60d6..678c0ff 100644
--- a/board/freescale/mx35pdk/Makefile
+++ b/board/freescale/mx35pdk/Makefile
@@ -33,12 +33,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mx51evk/Makefile b/board/freescale/mx51evk/Makefile
index 3344c28..470588e 100644
--- a/board/freescale/mx51evk/Makefile
+++ b/board/freescale/mx51evk/Makefile
@@ -32,12 +32,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mx53ard/Makefile b/board/freescale/mx53ard/Makefile
index c48ece8..eac4b2a 100644
--- a/board/freescale/mx53ard/Makefile
+++ b/board/freescale/mx53ard/Makefile
@@ -32,12 +32,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mx53evk/Makefile b/board/freescale/mx53evk/Makefile
index 6b820f4..b7f92b3 100644
--- a/board/freescale/mx53evk/Makefile
+++ b/board/freescale/mx53evk/Makefile
@@ -32,12 +32,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mx53loco/Makefile b/board/freescale/mx53loco/Makefile
index 2088a48..a6ea939 100644
--- a/board/freescale/mx53loco/Makefile
+++ b/board/freescale/mx53loco/Makefile
@@ -31,12 +31,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/mx53smd/Makefile b/board/freescale/mx53smd/Makefile
index ee60f34..ed8e473 100644
--- a/board/freescale/mx53smd/Makefile
+++ b/board/freescale/mx53smd/Makefile
@@ -32,12 +32,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/p1022ds/Makefile b/board/freescale/p1022ds/Makefile
index 30d1740..c6d3418 100644
--- a/board/freescale/p1022ds/Makefile
+++ b/board/freescale/p1022ds/Makefile
@@ -25,12 +25,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/p1023rds/Makefile b/board/freescale/p1023rds/Makefile
index bf87580..f62583c 100644
--- a/board/freescale/p1023rds/Makefile
+++ b/board/freescale/p1023rds/Makefile
@@ -22,12 +22,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(AR) $(ARFLAGS) $@ $(OBJS)
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/p1_p2_rdb/Makefile b/board/freescale/p1_p2_rdb/Makefile
index ba7e5df..fe1e1d6 100644
--- a/board/freescale/p1_p2_rdb/Makefile
+++ b/board/freescale/p1_p2_rdb/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/p2020ds/Makefile b/board/freescale/p2020ds/Makefile
index 3306e44..03b21c9 100644
--- a/board/freescale/p2020ds/Makefile
+++ b/board/freescale/p2020ds/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/freescale/p2041rdb/Makefile b/board/freescale/p2041rdb/Makefile
index 65f348f..2d8d914 100644
--- a/board/freescale/p2041rdb/Makefile
+++ b/board/freescale/p2041rdb/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/funkwerk/vovpn-gw/Makefile b/board/funkwerk/vovpn-gw/Makefile
index 91d4d35..b45ce86 100644
--- a/board/funkwerk/vovpn-gw/Makefile
+++ b/board/funkwerk/vovpn-gw/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/g2000/Makefile b/board/g2000/Makefile
index 0f53340..c9ec62d 100644
--- a/board/g2000/Makefile
+++ b/board/g2000/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/gaisler/gr_cpci_ax2000/Makefile b/board/gaisler/gr_cpci_ax2000/Makefile
index 66d5a38..f0bd33e 100644
--- a/board/gaisler/gr_cpci_ax2000/Makefile
+++ b/board/gaisler/gr_cpci_ax2000/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/gaisler/gr_ep2s60/Makefile b/board/gaisler/gr_ep2s60/Makefile
index 66d5a38..f0bd33e 100644
--- a/board/gaisler/gr_ep2s60/Makefile
+++ b/board/gaisler/gr_ep2s60/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/gaisler/gr_xc3s_1500/Makefile b/board/gaisler/gr_xc3s_1500/Makefile
index 66d5a38..f0bd33e 100644
--- a/board/gaisler/gr_xc3s_1500/Makefile
+++ b/board/gaisler/gr_xc3s_1500/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/gaisler/grsim/Makefile b/board/gaisler/grsim/Makefile
index a567c76..67d3dd2 100644
--- a/board/gaisler/grsim/Makefile
+++ b/board/gaisler/grsim/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/gaisler/grsim_leon2/Makefile b/board/gaisler/grsim_leon2/Makefile
index a567c76..67d3dd2 100644
--- a/board/gaisler/grsim_leon2/Makefile
+++ b/board/gaisler/grsim_leon2/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/galaxy5200/Makefile b/board/galaxy5200/Makefile
index f5d88bb..5af7fa9 100644
--- a/board/galaxy5200/Makefile
+++ b/board/galaxy5200/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/gdsys/405ep/Makefile b/board/gdsys/405ep/Makefile
index 169418c..feb5cec 100644
--- a/board/gdsys/405ep/Makefile
+++ b/board/gdsys/405ep/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/gdsys/common/Makefile b/board/gdsys/common/Makefile
index 4c7fc99..2868cc8 100644
--- a/board/gdsys/common/Makefile
+++ b/board/gdsys/common/Makefile
@@ -43,12 +43,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/gdsys/dlvision/Makefile b/board/gdsys/dlvision/Makefile
index 1c3dadb..dc5b5b8 100644
--- a/board/gdsys/dlvision/Makefile
+++ b/board/gdsys/dlvision/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/gdsys/gdppc440etx/Makefile b/board/gdsys/gdppc440etx/Makefile
index 5b0ffc2..905ca7a 100644
--- a/board/gdsys/gdppc440etx/Makefile
+++ b/board/gdsys/gdppc440etx/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/gdsys/intip/Makefile b/board/gdsys/intip/Makefile
index 4d87ea9..d2c9dd4 100644
--- a/board/gdsys/intip/Makefile
+++ b/board/gdsys/intip/Makefile
@@ -39,12 +39,6 @@ all:	$(LIB) $(SOBJS)
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/gdsys/neo/Makefile b/board/gdsys/neo/Makefile
index 1c3dadb..dc5b5b8 100644
--- a/board/gdsys/neo/Makefile
+++ b/board/gdsys/neo/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/gw8260/Makefile b/board/gw8260/Makefile
index 82a8068..5b62b46 100644
--- a/board/gw8260/Makefile
+++ b/board/gw8260/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ibf-dsp561/Makefile b/board/ibf-dsp561/Makefile
index 0d17676..505a831 100644
--- a/board/ibf-dsp561/Makefile
+++ b/board/ibf-dsp561/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/icecube/Makefile b/board/icecube/Makefile
index d45db9f..db84c41 100644
--- a/board/icecube/Makefile
+++ b/board/icecube/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/imx31_phycore/Makefile b/board/imx31_phycore/Makefile
index 4fd4864..925970c 100644
--- a/board/imx31_phycore/Makefile
+++ b/board/imx31_phycore/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/inka4x0/Makefile b/board/inka4x0/Makefile
index 6ec04b8..336a6fe 100644
--- a/board/inka4x0/Makefile
+++ b/board/inka4x0/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/innokom/Makefile b/board/innokom/Makefile
index 054175f..8b58b7f 100644
--- a/board/innokom/Makefile
+++ b/board/innokom/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/intercontrol/digsy_mtc/Makefile b/board/intercontrol/digsy_mtc/Makefile
index 19f5b3a..877be48 100644
--- a/board/intercontrol/digsy_mtc/Makefile
+++ b/board/intercontrol/digsy_mtc/Makefile
@@ -17,12 +17,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ip04/Makefile b/board/ip04/Makefile
index 06b8217..f227a97 100644
--- a/board/ip04/Makefile
+++ b/board/ip04/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ipek01/Makefile b/board/ipek01/Makefile
index 16f0c6b..f2ba232 100644
--- a/board/ipek01/Makefile
+++ b/board/ipek01/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/iphase4539/Makefile b/board/iphase4539/Makefile
index 89d3524..420ff6b 100644
--- a/board/iphase4539/Makefile
+++ b/board/iphase4539/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/isee/igep0020/Makefile b/board/isee/igep0020/Makefile
index 678a682..00463e1 100644
--- a/board/isee/igep0020/Makefile
+++ b/board/isee/igep0020/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/isee/igep0030/Makefile b/board/isee/igep0030/Makefile
index d208872..cbc03d4 100644
--- a/board/isee/igep0030/Makefile
+++ b/board/isee/igep0030/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ispan/Makefile b/board/ispan/Makefile
index 70205f1..defca3d 100644
--- a/board/ispan/Makefile
+++ b/board/ispan/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ixdp425/Makefile b/board/ixdp425/Makefile
index 4ba0383..f437f69 100644
--- a/board/ixdp425/Makefile
+++ b/board/ixdp425/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/jornada/Makefile b/board/jornada/Makefile
index e017692..a3e7b7e 100644
--- a/board/jornada/Makefile
+++ b/board/jornada/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/jse/Makefile b/board/jse/Makefile
index a3050c7..dfbce6b 100644
--- a/board/jse/Makefile
+++ b/board/jse/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/jupiter/Makefile b/board/jupiter/Makefile
index 6a6ad8d..0e8bf38 100644
--- a/board/jupiter/Makefile
+++ b/board/jupiter/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/karo/tx25/Makefile b/board/karo/tx25/Makefile
index 8350788..9617fa5 100644
--- a/board/karo/tx25/Makefile
+++ b/board/karo/tx25/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 include $(SRCTREE)/rules.mk
diff --git a/board/keymile/km82xx/Makefile b/board/keymile/km82xx/Makefile
index b9709d9..1b2820d 100644
--- a/board/keymile/km82xx/Makefile
+++ b/board/keymile/km82xx/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/keymile/km83xx/Makefile b/board/keymile/km83xx/Makefile
index 7bf64b4..72945e2 100644
--- a/board/keymile/km83xx/Makefile
+++ b/board/keymile/km83xx/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/keymile/km_arm/Makefile b/board/keymile/km_arm/Makefile
index 4907030..aa51255 100644
--- a/board/keymile/km_arm/Makefile
+++ b/board/keymile/km_arm/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/korat/Makefile b/board/korat/Makefile
index 6781596..64468fd 100644
--- a/board/korat/Makefile
+++ b/board/korat/Makefile
@@ -37,12 +37,6 @@ all:	$(LIB) $(SOBJS)
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/logicpd/am3517evm/Makefile b/board/logicpd/am3517evm/Makefile
index 83fab0e..bc2830f 100644
--- a/board/logicpd/am3517evm/Makefile
+++ b/board/logicpd/am3517evm/Makefile
@@ -32,12 +32,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/logicpd/imx27lite/Makefile b/board/logicpd/imx27lite/Makefile
index 944434b..bd78732 100644
--- a/board/logicpd/imx27lite/Makefile
+++ b/board/logicpd/imx27lite/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 include $(SRCTREE)/rules.mk
diff --git a/board/logicpd/imx31_litekit/Makefile b/board/logicpd/imx31_litekit/Makefile
index e604c31..56fc005 100644
--- a/board/logicpd/imx31_litekit/Makefile
+++ b/board/logicpd/imx31_litekit/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/logicpd/zoom1/Makefile b/board/logicpd/zoom1/Makefile
index 75085b4..596585e 100644
--- a/board/logicpd/zoom1/Makefile
+++ b/board/logicpd/zoom1/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/logicpd/zoom2/Makefile b/board/logicpd/zoom2/Makefile
index 17f595e..228a599 100644
--- a/board/logicpd/zoom2/Makefile
+++ b/board/logicpd/zoom2/Makefile
@@ -37,12 +37,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/lubbock/Makefile b/board/lubbock/Makefile
index 60ac9cf..2c6058b 100644
--- a/board/lubbock/Makefile
+++ b/board/lubbock/Makefile
@@ -34,12 +34,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/lwmon5/Makefile b/board/lwmon5/Makefile
index f7fef96..6e3ec12 100644
--- a/board/lwmon5/Makefile
+++ b/board/lwmon5/Makefile
@@ -37,12 +37,6 @@ all:	$(LIB) $(SOBJS)
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/manroland/hmi1001/Makefile b/board/manroland/hmi1001/Makefile
index d3c31d6..f2ba232 100644
--- a/board/manroland/hmi1001/Makefile
+++ b/board/manroland/hmi1001/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/manroland/mucmc52/Makefile b/board/manroland/mucmc52/Makefile
index a3b4e4c..7d4c1e7 100644
--- a/board/manroland/mucmc52/Makefile
+++ b/board/manroland/mucmc52/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/manroland/uc101/Makefile b/board/manroland/uc101/Makefile
index d3c31d6..f2ba232 100644
--- a/board/manroland/uc101/Makefile
+++ b/board/manroland/uc101/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/matrix_vision/common/Makefile b/board/matrix_vision/common/Makefile
index 2ad54a0..ae18260 100644
--- a/board/matrix_vision/common/Makefile
+++ b/board/matrix_vision/common/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/matrix_vision/mergerbox/Makefile b/board/matrix_vision/mergerbox/Makefile
index 2b78c98..9cd2f1a 100644
--- a/board/matrix_vision/mergerbox/Makefile
+++ b/board/matrix_vision/mergerbox/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(AR) $(ARFLAGS) $@ $(OBJS)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/matrix_vision/mvbc_p/Makefile b/board/matrix_vision/mvbc_p/Makefile
index 9ee0895..ddfb1e9 100644
--- a/board/matrix_vision/mvbc_p/Makefile
+++ b/board/matrix_vision/mvbc_p/Makefile
@@ -37,12 +37,6 @@ SOBJS   := $(addprefix $(obj),$(SOBJS))
 $(LIB): $(obj).depend $(OBJS)
 	        $(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 include $(SRCTREE)/rules.mk
diff --git a/board/matrix_vision/mvblm7/Makefile b/board/matrix_vision/mvblm7/Makefile
index 2ee74e0..81761ca 100644
--- a/board/matrix_vision/mvblm7/Makefile
+++ b/board/matrix_vision/mvblm7/Makefile
@@ -34,12 +34,6 @@ $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 	@mkimage -T script -C none -n M7_script -d bootscript $(obj)bootscript.img
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend $(obj)bootscript.img
-
 #########################################################################
 
 include $(SRCTREE)/rules.mk
diff --git a/board/matrix_vision/mvsmr/Makefile b/board/matrix_vision/mvsmr/Makefile
index 8ee556c..37b9bac 100644
--- a/board/matrix_vision/mvsmr/Makefile
+++ b/board/matrix_vision/mvsmr/Makefile
@@ -38,12 +38,6 @@ $(LIB): $(obj).depend $(OBJS)
 	        $(call cmd_link_o_target, $(OBJS))
 	@mkimage -T script -C none -n mvSMR_Script -d bootscript $(obj)bootscript.img
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend $(obj)bootscript.img
-
 #########################################################################
 
 include $(SRCTREE)/rules.mk
diff --git a/board/mcc200/Makefile b/board/mcc200/Makefile
index e0a24b1..07abcf7 100644
--- a/board/mcc200/Makefile
+++ b/board/mcc200/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/mercury/mpq101/Makefile b/board/mercury/mpq101/Makefile
index 58bc1b3..f9a07cc 100644
--- a/board/mercury/mpq101/Makefile
+++ b/board/mercury/mpq101/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/micronas/vct/Makefile b/board/micronas/vct/Makefile
index a7748fe..14e6994 100644
--- a/board/micronas/vct/Makefile
+++ b/board/micronas/vct/Makefile
@@ -41,12 +41,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ml2/Makefile b/board/ml2/Makefile
index 67de4f9..f4df3ac 100644
--- a/board/ml2/Makefile
+++ b/board/ml2/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/mosaixtech/icon/Makefile b/board/mosaixtech/icon/Makefile
index 39cff51..7863c8e 100644
--- a/board/mosaixtech/icon/Makefile
+++ b/board/mosaixtech/icon/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/motionpro/Makefile b/board/motionpro/Makefile
index f5d88bb..5af7fa9 100644
--- a/board/motionpro/Makefile
+++ b/board/motionpro/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/mpc8308_p1m/Makefile b/board/mpc8308_p1m/Makefile
index 241a557..b371ea0 100644
--- a/board/mpc8308_p1m/Makefile
+++ b/board/mpc8308_p1m/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/mpl/mip405/Makefile b/board/mpl/mip405/Makefile
index 042cd83..5dd0b2f 100644
--- a/board/mpl/mip405/Makefile
+++ b/board/mpl/mip405/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/mpl/pati/Makefile b/board/mpl/pati/Makefile
index 937dfec..dae381d 100644
--- a/board/mpl/pati/Makefile
+++ b/board/mpl/pati/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/mpl/pip405/Makefile b/board/mpl/pip405/Makefile
index 8b4bbc5..9aebb9a 100644
--- a/board/mpl/pip405/Makefile
+++ b/board/mpl/pip405/Makefile
@@ -43,12 +43,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/mpl/vcma9/Makefile b/board/mpl/vcma9/Makefile
index 6228762..213741c 100644
--- a/board/mpl/vcma9/Makefile
+++ b/board/mpl/vcma9/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/mpr2/Makefile b/board/mpr2/Makefile
index b9c45b9..ad67eb6 100644
--- a/board/mpr2/Makefile
+++ b/board/mpr2/Makefile
@@ -42,12 +42,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ms7720se/Makefile b/board/ms7720se/Makefile
index 0bf7743..82a64a7 100644
--- a/board/ms7720se/Makefile
+++ b/board/ms7720se/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ms7722se/Makefile b/board/ms7722se/Makefile
index fc8ae21..2b37c1a 100644
--- a/board/ms7722se/Makefile
+++ b/board/ms7722se/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ms7750se/Makefile b/board/ms7750se/Makefile
index 8f1b459..c7088e8 100644
--- a/board/ms7750se/Makefile
+++ b/board/ms7750se/Makefile
@@ -31,12 +31,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/muas3001/Makefile b/board/muas3001/Makefile
index f219cf9..4a2f1fe 100644
--- a/board/muas3001/Makefile
+++ b/board/muas3001/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/munices/Makefile b/board/munices/Makefile
index 5c7f947..257a080 100644
--- a/board/munices/Makefile
+++ b/board/munices/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/mx1ads/Makefile b/board/mx1ads/Makefile
index 20d7b86..82ef6df 100644
--- a/board/mx1ads/Makefile
+++ b/board/mx1ads/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ns9750dev/Makefile b/board/ns9750dev/Makefile
index 7794fbd..0d082c5 100644
--- a/board/ns9750dev/Makefile
+++ b/board/ns9750dev/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/nvidia/harmony/Makefile b/board/nvidia/harmony/Makefile
index ebd8e02..0319166 100644
--- a/board/nvidia/harmony/Makefile
+++ b/board/nvidia/harmony/Makefile
@@ -39,12 +39,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(AR) $(ARFLAGS) $@ $(OBJS)
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/nvidia/seaboard/Makefile b/board/nvidia/seaboard/Makefile
index ebd8e02..0319166 100644
--- a/board/nvidia/seaboard/Makefile
+++ b/board/nvidia/seaboard/Makefile
@@ -39,12 +39,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(AR) $(ARFLAGS) $@ $(OBJS)
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/o2dnt/Makefile b/board/o2dnt/Makefile
index 3c99739..9e5e21e 100644
--- a/board/o2dnt/Makefile
+++ b/board/o2dnt/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/overo/Makefile b/board/overo/Makefile
index 22ba774..154960f 100644
--- a/board/overo/Makefile
+++ b/board/overo/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/palmld/Makefile b/board/palmld/Makefile
index 29cdaee..85d1fb4 100644
--- a/board/palmld/Makefile
+++ b/board/palmld/Makefile
@@ -31,12 +31,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/palmtc/Makefile b/board/palmtc/Makefile
index 15ef659..1c4bda7 100644
--- a/board/palmtc/Makefile
+++ b/board/palmtc/Makefile
@@ -32,12 +32,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/pandora/Makefile b/board/pandora/Makefile
index 0308681..f57485e 100644
--- a/board/pandora/Makefile
+++ b/board/pandora/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/pcs440ep/Makefile b/board/pcs440ep/Makefile
index 8708834..bf4d3e8 100644
--- a/board/pcs440ep/Makefile
+++ b/board/pcs440ep/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/pdm360ng/Makefile b/board/pdm360ng/Makefile
index 1b3d530..090e584 100644
--- a/board/pdm360ng/Makefile
+++ b/board/pdm360ng/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/phytec/pcm030/Makefile b/board/phytec/pcm030/Makefile
index f5d88bb..5af7fa9 100644
--- a/board/phytec/pcm030/Makefile
+++ b/board/phytec/pcm030/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/pleb2/Makefile b/board/pleb2/Makefile
index 9b076f5..bc29610 100644
--- a/board/pleb2/Makefile
+++ b/board/pleb2/Makefile
@@ -34,12 +34,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/pm520/Makefile b/board/pm520/Makefile
index d45db9f..db84c41 100644
--- a/board/pm520/Makefile
+++ b/board/pm520/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ppmc7xx/Makefile b/board/ppmc7xx/Makefile
index ff27a20..953a5e3 100644
--- a/board/ppmc7xx/Makefile
+++ b/board/ppmc7xx/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ppmc8260/Makefile b/board/ppmc8260/Makefile
index 0141ea6..13bbcc7 100644
--- a/board/ppmc8260/Makefile
+++ b/board/ppmc8260/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/prodrive/alpr/Makefile b/board/prodrive/alpr/Makefile
index 66ff738..a7d1cee 100644
--- a/board/prodrive/alpr/Makefile
+++ b/board/prodrive/alpr/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/prodrive/p3mx/Makefile b/board/prodrive/p3mx/Makefile
index 59dc27d..55ee8c2 100644
--- a/board/prodrive/p3mx/Makefile
+++ b/board/prodrive/p3mx/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/prodrive/p3p440/Makefile b/board/prodrive/p3p440/Makefile
index 5b0ffc2..905ca7a 100644
--- a/board/prodrive/p3p440/Makefile
+++ b/board/prodrive/p3p440/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/prodrive/pdnb3/Makefile b/board/prodrive/pdnb3/Makefile
index 40a6fd2..8013283 100644
--- a/board/prodrive/pdnb3/Makefile
+++ b/board/prodrive/pdnb3/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/psyent/pci5441/Makefile b/board/psyent/pci5441/Makefile
index 1cfe9e5..24b8d7d 100644
--- a/board/psyent/pci5441/Makefile
+++ b/board/psyent/pci5441/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/psyent/pk1c20/Makefile b/board/psyent/pk1c20/Makefile
index 4677809..32530f8 100644
--- a/board/psyent/pk1c20/Makefile
+++ b/board/psyent/pk1c20/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/pxa255_idp/Makefile b/board/pxa255_idp/Makefile
index dbde833..7660b2f 100644
--- a/board/pxa255_idp/Makefile
+++ b/board/pxa255_idp/Makefile
@@ -34,12 +34,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/quad100hd/Makefile b/board/quad100hd/Makefile
index 4ceb344..4c17ce4 100644
--- a/board/quad100hd/Makefile
+++ b/board/quad100hd/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/rattler/Makefile b/board/rattler/Makefile
index 9079aad..d9039f6 100644
--- a/board/rattler/Makefile
+++ b/board/rattler/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/renesas/MigoR/Makefile b/board/renesas/MigoR/Makefile
index 3529810..f33c466 100644
--- a/board/renesas/MigoR/Makefile
+++ b/board/renesas/MigoR/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/renesas/ap325rxa/Makefile b/board/renesas/ap325rxa/Makefile
index 5a2a0f3..94b78d4 100644
--- a/board/renesas/ap325rxa/Makefile
+++ b/board/renesas/ap325rxa/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/renesas/r2dplus/Makefile b/board/renesas/r2dplus/Makefile
index 7d92354..c17e1e2 100644
--- a/board/renesas/r2dplus/Makefile
+++ b/board/renesas/r2dplus/Makefile
@@ -31,12 +31,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/renesas/r7780mp/Makefile b/board/renesas/r7780mp/Makefile
index 14c5e42..1583772 100644
--- a/board/renesas/r7780mp/Makefile
+++ b/board/renesas/r7780mp/Makefile
@@ -32,12 +32,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/renesas/rsk7203/Makefile b/board/renesas/rsk7203/Makefile
index f908ba0..4b05a55 100644
--- a/board/renesas/rsk7203/Makefile
+++ b/board/renesas/rsk7203/Makefile
@@ -33,12 +33,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/renesas/rsk7264/Makefile b/board/renesas/rsk7264/Makefile
index a0ffc87..9d56d07 100644
--- a/board/renesas/rsk7264/Makefile
+++ b/board/renesas/rsk7264/Makefile
@@ -18,12 +18,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/renesas/sh7757lcr/Makefile b/board/renesas/sh7757lcr/Makefile
index dd14d7c..a292553 100644
--- a/board/renesas/sh7757lcr/Makefile
+++ b/board/renesas/sh7757lcr/Makefile
@@ -26,12 +26,6 @@ SOBJS	:= lowlevel_init.o
 $(LIB):	$(obj).depend $(COBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(COBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/renesas/sh7763rdp/Makefile b/board/renesas/sh7763rdp/Makefile
index 5f37700..5bf6dfa 100644
--- a/board/renesas/sh7763rdp/Makefile
+++ b/board/renesas/sh7763rdp/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/renesas/sh7785lcr/Makefile b/board/renesas/sh7785lcr/Makefile
index e404fa6..1506beb 100644
--- a/board/renesas/sh7785lcr/Makefile
+++ b/board/renesas/sh7785lcr/Makefile
@@ -30,12 +30,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ronetix/pm9261/Makefile b/board/ronetix/pm9261/Makefile
index 4b49808..0abca0d 100644
--- a/board/ronetix/pm9261/Makefile
+++ b/board/ronetix/pm9261/Makefile
@@ -41,12 +41,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ronetix/pm9263/Makefile b/board/ronetix/pm9263/Makefile
index 2fc9fb4..68baec7 100644
--- a/board/ronetix/pm9263/Makefile
+++ b/board/ronetix/pm9263/Makefile
@@ -41,12 +41,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ronetix/pm9g45/Makefile b/board/ronetix/pm9g45/Makefile
index cb01262..e586964 100644
--- a/board/ronetix/pm9g45/Makefile
+++ b/board/ronetix/pm9g45/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/rpxsuper/Makefile b/board/rpxsuper/Makefile
index 73450ac..2e68457 100644
--- a/board/rpxsuper/Makefile
+++ b/board/rpxsuper/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/rsdproto/Makefile b/board/rsdproto/Makefile
index d297622..c7fb645 100644
--- a/board/rsdproto/Makefile
+++ b/board/rsdproto/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sacsng/Makefile b/board/sacsng/Makefile
index eae0f02..d9e78ba 100644
--- a/board/sacsng/Makefile
+++ b/board/sacsng/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/samsung/goni/Makefile b/board/samsung/goni/Makefile
index edc4665..ecde7a7 100644
--- a/board/samsung/goni/Makefile
+++ b/board/samsung/goni/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(SOBJS) $(OBJS)
 	$(call cmd_link_o_target, $(SOBJS) $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/samsung/smdk2410/Makefile b/board/samsung/smdk2410/Makefile
index 0afe1e2..b8657b4 100644
--- a/board/samsung/smdk2410/Makefile
+++ b/board/samsung/smdk2410/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/samsung/smdk6400/Makefile b/board/samsung/smdk6400/Makefile
index 40bf57e..0d3e63b 100644
--- a/board/samsung/smdk6400/Makefile
+++ b/board/samsung/smdk6400/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(SOBJS) $(OBJS)
 	$(call cmd_link_o_target, $(SOBJS) $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/samsung/smdkc100/Makefile b/board/samsung/smdkc100/Makefile
index 61d4b25..b961113 100644
--- a/board/samsung/smdkc100/Makefile
+++ b/board/samsung/smdkc100/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(SOBJS) $(OBJS)
 	$(call cmd_link_o_target, $(SOBJS) $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/samsung/universal_c210/Makefile b/board/samsung/universal_c210/Makefile
index 0200220..bfec08f 100644
--- a/board/samsung/universal_c210/Makefile
+++ b/board/samsung/universal_c210/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(SOBJS) $(OBJS)
 	$(call cmd_link_o_target, $(SOBJS) $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sandburst/karef/Makefile b/board/sandburst/karef/Makefile
index d447140..fe9b514 100644
--- a/board/sandburst/karef/Makefile
+++ b/board/sandburst/karef/Makefile
@@ -52,12 +52,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sandburst/metrobox/Makefile b/board/sandburst/metrobox/Makefile
index e98c989..6019d59 100644
--- a/board/sandburst/metrobox/Makefile
+++ b/board/sandburst/metrobox/Makefile
@@ -50,12 +50,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sbc405/Makefile b/board/sbc405/Makefile
index 0f53340..c9ec62d 100644
--- a/board/sbc405/Makefile
+++ b/board/sbc405/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sbc8260/Makefile b/board/sbc8260/Makefile
index f1d86fc..3f0580f 100644
--- a/board/sbc8260/Makefile
+++ b/board/sbc8260/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sbc8349/Makefile b/board/sbc8349/Makefile
index 24c7b98..39e9b24 100644
--- a/board/sbc8349/Makefile
+++ b/board/sbc8349/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sbc8548/Makefile b/board/sbc8548/Makefile
index f68ec8d..150846e 100644
--- a/board/sbc8548/Makefile
+++ b/board/sbc8548/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sbc8560/Makefile b/board/sbc8560/Makefile
index a402ee4..ce01560 100644
--- a/board/sbc8560/Makefile
+++ b/board/sbc8560/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sbc8641d/Makefile b/board/sbc8641d/Makefile
index 433c132..caba9b9 100644
--- a/board/sbc8641d/Makefile
+++ b/board/sbc8641d/Makefile
@@ -36,13 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-.PHONY: distclean
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sc3/Makefile b/board/sc3/Makefile
index 48f5cf6..2d81a5e 100644
--- a/board/sc3/Makefile
+++ b/board/sc3/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/scb9328/Makefile b/board/scb9328/Makefile
index a980f76..7aea557 100644
--- a/board/scb9328/Makefile
+++ b/board/scb9328/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sheldon/simpc8313/Makefile b/board/sheldon/simpc8313/Makefile
index f18aded..2c9ad50 100644
--- a/board/sheldon/simpc8313/Makefile
+++ b/board/sheldon/simpc8313/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/shmin/Makefile b/board/shmin/Makefile
index 06888cd..33fd9c7 100644
--- a/board/shmin/Makefile
+++ b/board/shmin/Makefile
@@ -33,12 +33,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/siemens/SCM/Makefile b/board/siemens/SCM/Makefile
index 3871079..07cc5a6 100644
--- a/board/siemens/SCM/Makefile
+++ b/board/siemens/SCM/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/socrates/Makefile b/board/socrates/Makefile
index 1ca6377..ec2afe0 100644
--- a/board/socrates/Makefile
+++ b/board/socrates/Makefile
@@ -42,12 +42,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sorcery/Makefile b/board/sorcery/Makefile
index ec5cf53..e1752e3 100644
--- a/board/sorcery/Makefile
+++ b/board/sorcery/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/spear/common/Makefile b/board/spear/common/Makefile
index e0df6c1..11f81e4 100644
--- a/board/spear/common/Makefile
+++ b/board/spear/common/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/spear/spear300/Makefile b/board/spear/spear300/Makefile
index b9b0fed..aa10749 100644
--- a/board/spear/spear300/Makefile
+++ b/board/spear/spear300/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/spear/spear310/Makefile b/board/spear/spear310/Makefile
index 6dce093..c5b6327 100644
--- a/board/spear/spear310/Makefile
+++ b/board/spear/spear310/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/spear/spear320/Makefile b/board/spear/spear320/Makefile
index f6bd7dd..68dd734 100644
--- a/board/spear/spear320/Makefile
+++ b/board/spear/spear320/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/spear/spear600/Makefile b/board/spear/spear600/Makefile
index 6b643bf..e2bd5ab 100644
--- a/board/spear/spear600/Makefile
+++ b/board/spear/spear600/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/st-ericsson/u8500/Makefile b/board/st-ericsson/u8500/Makefile
index 91c2abf..4091a42 100644
--- a/board/st-ericsson/u8500/Makefile
+++ b/board/st-ericsson/u8500/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/st/nhk8815/Makefile b/board/st/nhk8815/Makefile
index 60b87b1..a89dcc1 100644
--- a/board/st/nhk8815/Makefile
+++ b/board/st/nhk8815/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/stx/stxgp3/Makefile b/board/stx/stxgp3/Makefile
index 5eccfab..61ee8a5 100644
--- a/board/stx/stxgp3/Makefile
+++ b/board/stx/stxgp3/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/stx/stxssa/Makefile b/board/stx/stxssa/Makefile
index 6b47ceb..ce6ab50 100644
--- a/board/stx/stxssa/Makefile
+++ b/board/stx/stxssa/Makefile
@@ -37,12 +37,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/sx1/Makefile b/board/sx1/Makefile
index 27d85b0..292459f 100644
--- a/board/sx1/Makefile
+++ b/board/sx1/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/syteco/jadecpu/Makefile b/board/syteco/jadecpu/Makefile
index 30818d2..c99252c 100644
--- a/board/syteco/jadecpu/Makefile
+++ b/board/syteco/jadecpu/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/syteco/zmx25/Makefile b/board/syteco/zmx25/Makefile
index 5a0e5b3..7463e53 100644
--- a/board/syteco/zmx25/Makefile
+++ b/board/syteco/zmx25/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/t3corp/Makefile b/board/t3corp/Makefile
index 4211b7b..aafd3c9 100644
--- a/board/t3corp/Makefile
+++ b/board/t3corp/Makefile
@@ -39,12 +39,6 @@ all:	$(LIB) $(SOBJS)
 $(LIB):	$(OBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/tcm-bf518/Makefile b/board/tcm-bf518/Makefile
index cde8168..4e128bb 100644
--- a/board/tcm-bf518/Makefile
+++ b/board/tcm-bf518/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/tcm-bf537/Makefile b/board/tcm-bf537/Makefile
index 4d7bf14..9a31b8d 100644
--- a/board/tcm-bf537/Makefile
+++ b/board/tcm-bf537/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ti/am3517crane/Makefile b/board/ti/am3517crane/Makefile
index 1fe2bca..59a9210 100644
--- a/board/ti/am3517crane/Makefile
+++ b/board/ti/am3517crane/Makefile
@@ -32,12 +32,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ti/beagle/Makefile b/board/ti/beagle/Makefile
index d9f445f..a07cb25 100644
--- a/board/ti/beagle/Makefile
+++ b/board/ti/beagle/Makefile
@@ -35,12 +35,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ti/evm/Makefile b/board/ti/evm/Makefile
index 2ff8356..229214f 100644
--- a/board/ti/evm/Makefile
+++ b/board/ti/evm/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ti/omap1510inn/Makefile b/board/ti/omap1510inn/Makefile
index 9281fc2..00de439 100644
--- a/board/ti/omap1510inn/Makefile
+++ b/board/ti/omap1510inn/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ti/omap1610inn/Makefile b/board/ti/omap1610inn/Makefile
index 4e21a37..2b8641f 100644
--- a/board/ti/omap1610inn/Makefile
+++ b/board/ti/omap1610inn/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ti/omap2420h4/Makefile b/board/ti/omap2420h4/Makefile
index 5174d89..cddd7e6 100644
--- a/board/ti/omap2420h4/Makefile
+++ b/board/ti/omap2420h4/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ti/omap5912osk/Makefile b/board/ti/omap5912osk/Makefile
index e2de898..c5520cb 100644
--- a/board/ti/omap5912osk/Makefile
+++ b/board/ti/omap5912osk/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ti/omap730p2/Makefile b/board/ti/omap730p2/Makefile
index a04f7aa..af019b8 100644
--- a/board/ti/omap730p2/Makefile
+++ b/board/ti/omap730p2/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ti/panda/Makefile b/board/ti/panda/Makefile
index 09f88ee..ec493f5 100644
--- a/board/ti/panda/Makefile
+++ b/board/ti/panda/Makefile
@@ -35,12 +35,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ti/sdp3430/Makefile b/board/ti/sdp3430/Makefile
index bce8534..9660a4e 100644
--- a/board/ti/sdp3430/Makefile
+++ b/board/ti/sdp3430/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ti/sdp4430/Makefile b/board/ti/sdp4430/Makefile
index 12f2743..806fdf4 100644
--- a/board/ti/sdp4430/Makefile
+++ b/board/ti/sdp4430/Makefile
@@ -35,12 +35,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ti/tnetv107xevm/Makefile b/board/ti/tnetv107xevm/Makefile
index 03238f0..baa53e3 100644
--- a/board/ti/tnetv107xevm/Makefile
+++ b/board/ti/tnetv107xevm/Makefile
@@ -34,12 +34,6 @@ all: $(LIB)
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak *~ .depend
-
 #########################################################################
 # This is for $(obj).depend target
 include $(SRCTREE)/rules.mk
diff --git a/board/timll/devkit8000/Makefile b/board/timll/devkit8000/Makefile
index 3f160b2..f64da63 100644
--- a/board/timll/devkit8000/Makefile
+++ b/board/timll/devkit8000/Makefile
@@ -36,12 +36,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/total5200/Makefile b/board/total5200/Makefile
index 066d9ca..f5984f7 100644
--- a/board/total5200/Makefile
+++ b/board/total5200/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/tqc/tqm5200/Makefile b/board/tqc/tqm5200/Makefile
index d0e68c3..c7fa474 100644
--- a/board/tqc/tqm5200/Makefile
+++ b/board/tqc/tqm5200/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 cam5200_flash.o:	cam5200_flash.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
diff --git a/board/tqc/tqm834x/Makefile b/board/tqc/tqm834x/Makefile
index bce53a4..bcf73c3 100644
--- a/board/tqc/tqm834x/Makefile
+++ b/board/tqc/tqm834x/Makefile
@@ -38,12 +38,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/tqc/tqm85xx/Makefile b/board/tqc/tqm85xx/Makefile
index a40a895..0a5501f 100644
--- a/board/tqc/tqm85xx/Makefile
+++ b/board/tqc/tqm85xx/Makefile
@@ -40,12 +40,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/trizepsiv/Makefile b/board/trizepsiv/Makefile
index eac00ae..0928af5 100644
--- a/board/trizepsiv/Makefile
+++ b/board/trizepsiv/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ttcontrol/vision2/Makefile b/board/ttcontrol/vision2/Makefile
index 9ed8246..393ad68 100644
--- a/board/ttcontrol/vision2/Makefile
+++ b/board/ttcontrol/vision2/Makefile
@@ -32,12 +32,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/v38b/Makefile b/board/v38b/Makefile
index d463db4..af47164 100644
--- a/board/v38b/Makefile
+++ b/board/v38b/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/ve8313/Makefile b/board/ve8313/Makefile
index 4a1b249..2f79b87 100644
--- a/board/ve8313/Makefile
+++ b/board/ve8313/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/vpac270/Makefile b/board/vpac270/Makefile
index f9acf63..b5c60fd 100644
--- a/board/vpac270/Makefile
+++ b/board/vpac270/Makefile
@@ -31,12 +31,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/w7o/Makefile b/board/w7o/Makefile
index 5c94870..1b5ae29 100644
--- a/board/w7o/Makefile
+++ b/board/w7o/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/xaeniax/Makefile b/board/xaeniax/Makefile
index 0a2fe96..d2b6238 100644
--- a/board/xaeniax/Makefile
+++ b/board/xaeniax/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/xes/common/Makefile b/board/xes/common/Makefile
index 39d105f..30871a9 100644
--- a/board/xes/common/Makefile
+++ b/board/xes/common/Makefile
@@ -44,12 +44,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/xes/xpedite1000/Makefile b/board/xes/xpedite1000/Makefile
index 5b0ffc2..905ca7a 100644
--- a/board/xes/xpedite1000/Makefile
+++ b/board/xes/xpedite1000/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/xes/xpedite517x/Makefile b/board/xes/xpedite517x/Makefile
index cac32e9..2c7301d 100644
--- a/board/xes/xpedite517x/Makefile
+++ b/board/xes/xpedite517x/Makefile
@@ -36,12 +36,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/xes/xpedite520x/Makefile b/board/xes/xpedite520x/Makefile
index a774816..496012b 100644
--- a/board/xes/xpedite520x/Makefile
+++ b/board/xes/xpedite520x/Makefile
@@ -39,12 +39,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/xes/xpedite537x/Makefile b/board/xes/xpedite537x/Makefile
index 86138f9..6b8d5a2 100644
--- a/board/xes/xpedite537x/Makefile
+++ b/board/xes/xpedite537x/Makefile
@@ -29,12 +29,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/xes/xpedite550x/Makefile b/board/xes/xpedite550x/Makefile
index 7bc224c..bafa753 100644
--- a/board/xes/xpedite550x/Makefile
+++ b/board/xes/xpedite550x/Makefile
@@ -23,12 +23,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS) $(SOBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/xilinx/microblaze-generic/Makefile b/board/xilinx/microblaze-generic/Makefile
index efe64d8..761203d 100644
--- a/board/xilinx/microblaze-generic/Makefile
+++ b/board/xilinx/microblaze-generic/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $^)
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/xilinx/ppc405-generic/Makefile b/board/xilinx/ppc405-generic/Makefile
index 501fd46..73d5145 100644
--- a/board/xilinx/ppc405-generic/Makefile
+++ b/board/xilinx/ppc405-generic/Makefile
@@ -41,12 +41,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/xilinx/ppc440-generic/Makefile b/board/xilinx/ppc440-generic/Makefile
index ed2cf9f..5d2848d 100644
--- a/board/xilinx/ppc440-generic/Makefile
+++ b/board/xilinx/ppc440-generic/Makefile
@@ -42,12 +42,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak .depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/xm250/Makefile b/board/xm250/Makefile
index 4e86cc2..6a0cca0 100644
--- a/board/xm250/Makefile
+++ b/board/xm250/Makefile
@@ -33,12 +33,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/zeus/Makefile b/board/zeus/Makefile
index 1ed0265..b5b506a 100644
--- a/board/zeus/Makefile
+++ b/board/zeus/Makefile
@@ -35,12 +35,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(OBJS) $(SOBJS)
 	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/zipitz2/Makefile b/board/zipitz2/Makefile
index 16eea07..7bd542b 100644
--- a/board/zipitz2/Makefile
+++ b/board/zipitz2/Makefile
@@ -36,12 +36,6 @@ OBJS	:= $(addprefix $(obj),$(COBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
diff --git a/board/zpc1900/Makefile b/board/zpc1900/Makefile
index 9079aad..d9039f6 100644
--- a/board/zpc1900/Makefile
+++ b/board/zpc1900/Makefile
@@ -34,12 +34,6 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 $(LIB):	$(obj).depend $(OBJS)
 	$(call cmd_link_o_target, $(OBJS))
 
-clean:
-	rm -f $(SOBJS) $(OBJS)
-
-distclean:	clean
-	rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target
-- 
1.7.6



More information about the U-Boot mailing list