oe.path: added 'recurse' argument to remove()
oe.path: added 'recurse' argument to remove()

This makes it possible to specify whether the equivalent of 'rm -rf' or
only this of 'rm -f' is wanted.  Due to backward compatibility it
defaults to the recursive variant.

Signed-off-by: Enrico Scholz <5bd53f2ce252cb2f68d1a8370bb8b9a7d9464fd3@sigma-chemnitz.de>
Acked-by: Chris Larson <4c8c411260e601995081b113a5ef94a26eff2b25@mentor.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>

giobauermeister/openembedded,xifengchuo/openembedded,buglabs/oe-buglabs,dellysunnymtech/sakoman-oe,trini/openembedded,sledz/oe,xifengchuo/openembedded,rascalmicro/openembedded-rascal,sentient-energy/emsw-oe-mirror,dellysunnymtech/sakoman-oe,dellysunnymtech/sakoman-oe,nx111/openembeded_openpli2.1_nx111,trini/openembedded,nx111/openembeded_openpli2.1_nx111,sentient-energy/emsw-oe-mirror,John-NY/overo-oe,hulifox008/openembedded,yyli/overo-oe,JamesAng/goe,SIFTeam/openembedded,nx111/openembeded_openpli2.1_nx111,hulifox008/openembedded,openembedded/openembedded,buglabs/oe-buglabs,thebohemian/openembedded,giobauermeister/openembedded,sampov2/audio-openembedded,rascalmicro/openembedded-rascal,dellysunnymtech/sakoman-oe,JamesAng/oe,scottellis/overo-oe,sampov2/audio-openembedded,SIFTeam/openembedded,yyli/overo-oe,openembedded/openembedded,BlackPole/bp-openembedded,sentient-energy/emsw-oe-mirror,scottellis/overo-oe,rascalmicro/openembedded-rascal,giobauermeister/openembedded,xifengchuo/openembedded,xifengchuo/openembedded,JamesAng/goe,giobauermeister/openembedded,buglabs/oe-buglabs,mrchapp/arago-oe-dev,JamesAng/oe,buglabs/oe-buglabs,hulifox008/openembedded,sutajiokousagi/openembedded,sutajiokousagi/openembedded,mrchapp/arago-oe-dev,dellysunnymtech/sakoman-oe,Martix/Eonos,trini/openembedded,John-NY/overo-oe,yyli/overo-oe,sutajiokousagi/openembedded,Martix/Eonos,openembedded/openembedded,SIFTeam/openembedded,buglabs/oe-buglabs,dave-billin/overo-ui-moos-auv,giobauermeister/openembedded,yyli/overo-oe,openembedded/openembedded,scottellis/overo-oe,dave-billin/overo-ui-moos-auv,sutajiokousagi/openembedded,JamesAng/oe,hulifox008/openembedded,JamesAng/goe,SIFTeam/openembedded,nx111/openembeded_openpli2.1_nx111,SIFTeam/openembedded,dellysunnymtech/sakoman-oe,scottellis/overo-oe,openembedded/openembedded,openembedded/openembedded,hulifox008/openembedded,rascalmicro/openembedded-rascal,sledz/oe,dave-billin/overo-ui-moos-auv,JamesAng/oe,giobauermeister/openembedded,openembedded/openembedded,xifengchuo/openembedded,dave-billin/overo-ui-moos-auv,giobauermeister/openembedded,nx111/openembeded_openpli2.1_nx111,trini/openembedded,xifengchuo/openembedded,sledz/oe,thebohemian/openembedded,giobauermeister/openembedded,JamesAng/oe,sentient-energy/emsw-oe-mirror,John-NY/overo-oe,JamesAng/oe,thebohemian/openembedded,Martix/Eonos,John-NY/overo-oe,dellysunnymtech/sakoman-oe,rascalmicro/openembedded-rascal,John-NY/overo-oe,mrchapp/arago-oe-dev,sampov2/audio-openembedded,openembedded/openembedded,BlackPole/bp-openembedded,nx111/openembeded_openpli2.1_nx111,mrchapp/arago-oe-dev,openembedded/openembedded,thebohemian/openembedded,John-NY/overo-oe,yyli/overo-oe,Martix/Eonos,sledz/oe,BlackPole/bp-openembedded,xifengchuo/openembedded,giobauermeister/openembedded,JamesAng/oe,scottellis/overo-oe,Martix/Eonos,yyli/overo-oe,sledz/oe,Martix/Eonos,JamesAng/goe,rascalmicro/openembedded-rascal,hulifox008/openembedded,yyli/overo-oe,sampov2/audio-openembedded,nx111/openembeded_openpli2.1_nx111,BlackPole/bp-openembedded,SIFTeam/openembedded,dave-billin/overo-ui-moos-auv,Martix/Eonos,mrchapp/arago-oe-dev,buglabs/oe-buglabs,rascalmicro/openembedded-rascal,openembedded/openembedded,JamesAng/goe,xifengchuo/openembedded,dellysunnymtech/sakoman-oe,buglabs/oe-buglabs,mrchapp/arago-oe-dev,BlackPole/bp-openembedded,John-NY/overo-oe,buglabs/oe-buglabs,yyli/overo-oe,BlackPole/bp-openembedded,rascalmicro/openembedded-rascal,sledz/oe,JamesAng/goe,trini/openembedded,dave-billin/overo-ui-moos-auv,thebohemian/openembedded,sampov2/audio-openembedded,dellysunnymtech/sakoman-oe,sutajiokousagi/openembedded,SIFTeam/openembedded,scottellis/overo-oe,sledz/oe,sampov2/audio-openembedded,xifengchuo/openembedded,trini/openembedded,sentient-energy/emsw-oe-mirror,nx111/openembeded_openpli2.1_nx111,openembedded/openembedded,hulifox008/openembedded,thebohemian/openembedded,sentient-energy/emsw-oe-mirror,sutajiokousagi/openembedded,sampov2/audio-openembedded,BlackPole/bp-openembedded,sutajiokousagi/openembedded,mrchapp/arago-oe-dev,scottellis/overo-oe,dave-billin/overo-ui-moos-auv,trini/openembedded,sentient-energy/emsw-oe-mirror,thebohemian/openembedded,JamesAng/goe